-
Notifications
You must be signed in to change notification settings - Fork 20
homework1- David(Chen) #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
magicXue
wants to merge
2
commits into
distinctioncoding:main
Choose a base branch
from
magicXue:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> | ||
| <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> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| .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; | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

There was a problem hiding this comment.
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