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
48 changes: 40 additions & 8 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,56 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My form exercise</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>

<body>
<header>
<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-->

<!-- customer name -->
<label for="name">Name:</label>
<input id="name" name="name" type="text" minlength="2" required>

<br><br>

<!-- customer email -->
<label for="email">Email:</label>
<input id="email" name="email" type="email" required>

<br><br>

<!-- t-shirt colour -->
<p>Colour:</p>
Copy link

Choose a reason for hiding this comment

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

The colour options should be grouped using <fieldset> and <legend>

<label><input type="radio" name="color" value="red" required> Red</label>
<label><input type="radio" name="color" value="blue"> Blue</label>
<label><input type="radio" name="color" value="green"> Green</label>

<br><br>

<!-- t-shirt size -->
<p>Size:</p>
Copy link

Choose a reason for hiding this comment

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

This should also be grouped using <fieldset> and <legend>

<label><input type="radio" name="size" value="XS" required> XS</label>
<label><input type="radio" name="size" value="S"> S</label>
<label><input type="radio" name="size" value="M"> M</label>
<label><input type="radio" name="size" value="L"> L</label>
<label><input type="radio" name="size" value="XL"> XL</label>
<label><input type="radio" name="size" value="XXL"> XXL</label>

<br><br>

<button type="submit">Submit</button>

</form>
</main>

<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
//my name
Copy link

Choose a reason for hiding this comment

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

In html, comments are written like this <!-- your name -->

<h2>By MEYSAM RAZAGH</h2>
</footer>
</body>
</html>
</html>
9 changes: 4 additions & 5 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,24 @@
</head>
<body>
<header>
<h1>Wireframe</h1>
<h1>Wireframe PR</h1>
<p>
This is the default, provided code and no changes have been made yet.
I did some changes for undrestanding this process.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
“I made some changes here as part of learning this process.”
</p>
<a href="">Read more</a>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
Made by Meysam !
</p>
</footer>
</body>
Expand Down
Empty file added indextest.html
Empty file.
Loading