Add button ,input and text area, Add register files and Login files#14
Open
SiansandaTamara wants to merge 12 commits intodevelopfrom
Open
Add button ,input and text area, Add register files and Login files#14SiansandaTamara wants to merge 12 commits intodevelopfrom
SiansandaTamara wants to merge 12 commits intodevelopfrom
Conversation
John-pels
reviewed
Nov 7, 2022
components/register.html
Outdated
Comment on lines
22
to
47
| Name | ||
| <br /> | ||
| <input type="text" name="name" id="register-name" className="form-control" placeholder="Enter your name" required onChange={(e) => | ||
| </label> | ||
| </div> | ||
| <div className="form-group"> | ||
| <label htmlFor="email"> | ||
| <br /> | ||
| <input type="email" name="email" id="register-email" className="form-control" placeholder="Enter your email" required onChange={(e) => | ||
| </label> | ||
| </div> | ||
| <div className="form-group"> | ||
| <label htmlFor="phonenumber"> | ||
| Phone number | ||
| <br /> | ||
| <input type="phone number" name="phone number" id="register-phone number" className="form-control" placeholder="Enter your phone number" required onChange={(e) => | ||
| </label> | ||
| </div> | ||
| <div className="form-group"> | ||
| <label htmlFor="Address"> | ||
| Address | ||
| <br /> | ||
| <input type=" Address" name=" Address" id="register-Address" className="form-control" placeholder="Enter your Address" required onChange={(e) => | ||
| </label> | ||
| </div> |
Contributor
There was a problem hiding this comment.
Why are you using react syntax for the attributes?
John-pels
reviewed
Nov 9, 2022
components/login.html
Outdated
Comment on lines
1
to
27
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="stylesheet" href="../css/login.css" /> | ||
| <title>Digit Login</title> | ||
| </head> | ||
| <body> | ||
|
|
||
| <form action="/action_page"> | ||
| <div class="container"> | ||
| <h1>Login to your account </h1> | ||
| <p>Welcome back!</p> | ||
| <hr> | ||
|
|
||
| <label for="email"><b>Email</b></label> | ||
| <input type="text" placeholder="Enter Email" name="email" id="email" required> | ||
|
|
||
| <label for="password"><b>Password</b></label> | ||
| <input type="password" placeholder="Enter Password" name="password" id="password" required> | ||
|
|
||
| <hr> | ||
| <a href="forgot password?" class="forgot">forgot password?</a> | ||
|
|
||
| <button type="submit" class="registerbtn">Register</button> |
Contributor
There was a problem hiding this comment.
This is meant to be a component and not a whole web page
John-pels
reviewed
Nov 9, 2022
components/register.html
Outdated
Comment on lines
1
to
31
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="stylesheet" href="../css/reg.css" /> | ||
| <title>Digit Register Page</title> | ||
| </head> | ||
| <body> | ||
|
|
||
| <h3>Register</h3> | ||
| <p> Enter your details to get start your track | ||
| started with us.</p> | ||
|
|
||
| <div class="container"> | ||
| <form action="form"> | ||
| <label for="name"> Name</label> | ||
| <input type="text" id="name" name="name" placeholder="Your name.."> | ||
|
|
||
| <label for="email">Email</label> | ||
| <input type="text" id="email" name="email" placeholder="Your email.."> | ||
|
|
||
| <label for="phone number">Phone Number</label> | ||
| <select id="phone number" name="phone number"> | ||
|
|
||
| <label for="address">Address</label> | ||
| <input type="text" id="address" name="address" placeholder=" Your address.."> | ||
|
|
||
| <label for="gender">Gender</label> | ||
| <input type="gender" id="gender" name="gender" placeholder=" gender.."> |
Contributor
There was a problem hiding this comment.
This is also meant to be a component and not a web page. Somebody has done the login page, you can check login.html and use the same layout for the register page.
John-pels
requested changes
Nov 9, 2022
Contributor
There was a problem hiding this comment.
The html files in the components folder shouldn't have HTML delimiters and head tag.
@John-pels you can check the latest changes
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The following were implemented