-
-
Notifications
You must be signed in to change notification settings - Fork 516
London | 26-ITP-Sep | Ebrahim Moqbel | Sprint 1 | Form Controls #1462
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
Ebrahim-Moqbel
wants to merge
13
commits into
CodeYourFuture:main
Choose a base branch
from
Ebrahim-Moqbel:Features/Form-Controls
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.
+58
−7
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4032809
A reason for me to join CYF
Ebrahim-Moqbel 50fcc71
Reson
Ebrahim-Moqbel 749a886
What is Git and why is it being used?
Ebrahim-Moqbel 0173fea
Article on the purpos of git
Ebrahim-Moqbel 47925f5
Merge branch 'CodeYourFuture:main' into main
Ebrahim-Moqbel dc50152
Merge branch 'CodeYourFuture:main' into main
Ebrahim-Moqbel 84147a6
form control
Ebrahim-Moqbel 280c8fd
size div
Ebrahim-Moqbel 270dbee
unwanted article deleted
Ebrahim-Moqbel 697f95f
labelling the T-shirt size and chaninging the color section to be rec…
Ebrahim-Moqbel a008f20
I placed the radio buttom name after the radio button input fot the …
Ebrahim-Moqbel c849df2
Merge branch 'main' into Features/Form-Controls
Ebrahim-Moqbel 4338fc8
Merge branch 'CodeYourFuture:main' into Features/Form-Controls
Ebrahim-Moqbel 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
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 |
|---|---|---|
|
|
@@ -12,16 +12,67 @@ | |
| <h1>Product Pick</h1> | ||
| </header> | ||
| <main> | ||
| <form> | ||
| <!-- write your html here--> | ||
| <!-- | ||
| try writing out the requirements first as comments | ||
| this will also help you fill in your PR message later--> | ||
| <form> | ||
| <section> | ||
|
|
||
| <div> | ||
| <label for="name"> Name*: </label> | ||
| <input type="text" id="name" name="name" required minlength="2"> | ||
| </div> | ||
|
|
||
| <div> | ||
| <label for="email">Email*:</label> | ||
| <input type="email" id="email" name="email" required> | ||
| </div> | ||
|
|
||
|
|
||
| <fieldset> | ||
| <legend >T-shirt Color</legend> | ||
| <div> | ||
| <label for="black"> | ||
|
Comment on lines
+31
to
+32
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. The standard for child elements is to make them more visible in the code by using indentation. How can you ensure your code is formatted according to standards? |
||
| <input type="radio" id="black" name="t-shirt-color" value="black" required> | ||
| Black | ||
|
|
||
| </label> | ||
|
|
||
| </div> | ||
| <div> | ||
| <label for="red"> | ||
| <input type="radio" id="red" name="t-shirt-color" value="red"> | ||
| Red | ||
| </label> | ||
|
|
||
| </div> | ||
| <div> | ||
| <label for="green"> | ||
| <input type="radio" id="green" name="t-shirt-color" value="green"> | ||
| Green | ||
| </label> | ||
|
|
||
| </div> | ||
| </fieldset> | ||
|
|
||
|
|
||
| <div> | ||
| <label for="t-shirt-size"> T-Shirt Size</label> | ||
| <select name="T-shirtSize" id="t-shirt-size" required> | ||
| <option value="XS">XS</option> | ||
| <option label="S" value="S">S</option> | ||
| <option label="M" value="M">M</option> | ||
| <option label="L" value="L">L</option> | ||
| <option label="XL" value="XL">XL</option> | ||
| <option label="XXL" value="XXL">XXL</option> | ||
| </select> | ||
| </div> | ||
| <div> | ||
| <button type="submit">Place your order</button> | ||
| </div> | ||
| </section> | ||
| </form> | ||
| </main> | ||
| <footer> | ||
| <!-- change to your name--> | ||
| <p>By HOMEWORK SOLUTION</p> | ||
|
|
||
| <p>By Ebraim Moqbel</p> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
Oops, something went wrong.
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.
Min length is a good idea but also allows 2 space characters to be entered and passing the validaiton. How can you ensure the characaters are not spaces?