Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added img/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 69 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Homework1</title>
</head>

<body>

<div class="main_login">
<div class="left_panel">
<div class="welcome_message">
<H2 class="welcome_title">Welcome to Paint Quote System</H2>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

head tag should be small case h2

<p>Consequat adipisicing ea do labore irure adipisicing occaecat cupidatat excepteur duis mo</p>
</div>
</div>
<div class="right_panel">
<div class="signup_form">
<div class="signup_title">
<h3>Sign Up</h3>
<p>Enter details to create your account</p>
</div>
<form class="form">
<div class="form_group">
<label for="username">Your name</label>
<input type="text" id="username" placeholder="Enter your name">
</div>
<div class="form_group">
<label for="phonenum">Phone number</label>
<input type="tel" id="phonenum" placeholder="Enter your phone number">
</div>
<div class="form_group">
<label for="account">Dulux account</label>
<input type="text" id="account" placeholder="Enter your Dulux account">
</div>
<div class="form_group">
<button>Sign Up</button>
</div>
</form>

<div class="info">Already have an account? <a href="signin.html">Sign in</a></div>
</div>
</div>

</div>

<!-- <div> -->
<!-- <div style="display: flex; justify-content: flex-start;width: 100%;">
<a href="/about.html">About</a>
<a href="www.google.com">Store</a>
</div>
<div style="display: flex; justify-content: flex-end;width: 100%;">
<a>Gmail</a>
<a>Images</a>
<button>Google Account</button><p>This is an <ins>added</ins> word.</p>
</div>
</div>

<img src="https://www.google.com/logos/doodles/2025/seasonal-holidays-2025-6753651837110711.2-law.gif" alt="">
<br>
<input type="text">
<button>Search</button>
<button>Lucky</button> -->
</body>

</html>
11 changes: 11 additions & 0 deletions signin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div>Welcome to Sign in Page</div>
</body>
</html>
87 changes: 87 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
body {
height: 100%;
font-family: Arial, sans-serif;
background-image: url("../img/background.png");
}


.main_login {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 20px
}

/* right panel */
.right_panel{
flex: 1;
}
.signup_form {
height: 36vh;
width: 25vw;
max-width: 350px;
background-color: white;
padding: 10px 30px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
border-radius: 8px;
}
Comment on lines +20 to +28

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not set a height, the conent in this element will cause overflow
image


.signup_title {
text-align: center;
}
.signup_title p{
font-size: smaller;
font-weight:lighter;
}
.form_group {
padding: 15px 0px;
}

.form_group label {
padding: 0px 0px 5px 0px;
display: block;
}

.form_group input {
width: 100%;
padding: 5px;
display: block;
border-radius: 3px;
border-style: solid;
box-sizing: border-box;
}

.form_group button {
display: block;
width: 100%;
background-color: #0a69bd;
color: white;
border-radius: 3px;
height: 38px;
}


.info {
font-size: smaller;
margin-top: 15px;
text-align: center;
}
.info a{
text-decoration: none;
}
/* left panel */
.left_panel{
flex: 1;
}
.welcome_message {
display: inline-block;
color: #004785;
padding: 40px;
}

.welcome_title {
display: inline-block;
border-bottom: 1px solid #004785;
padding-bottom: 20px;
}