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
53 changes: 38 additions & 15 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,43 @@
<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-->
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
</footer>
<h1>T-Shirt Order Form</h1>
<main>
<form>
<label for="name">Name:</label>
<input id="name" name="name" type="text" required minlength="2">

<br><br>

<label for="email">Email:</label>
<input id="email" type="email" required>
<br><br>

<label for="colour">Choose a colour:</label>
<select id="colour" required>
<option value="">Select one</option>
<option>Red</option>
<option>Blue</option>
<option>Black</option>
</select>
<br><br>

<label for="size">Choose a size:</label>
<select id="size" required>
<option value="">Select one</option>
<option>XS</option>
<option>S</option>
<option>M</option>
<option>L</option>
<option>XL</option>
<option>XXL</option>
</select>
<br><br>

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

</form>
</main>

</body>
</html>
52 changes: 30 additions & 22 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,35 @@
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>Wireframe</h1>
<p>
This is the default, provided code and no changes have been made yet.
</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.
</p>
<a href="">Read more</a>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
</footer>
<header>
<h1>Page Title</h1>
<p>And short description</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="Placeholder image">
<h2>Article Title</h2>
<p>Article summary</p>
<a href="#">Read more</a>
</article>
<section>
<article>
<img src="placeholder.svg" alt="Placeholder image">
<h2>Article Title</h2>
<p>Article summary</p>
<a href="#">Read more</a>
</article>

<article>
<img src="placeholder.svg" alt="Placeholder image">
<h2>Article Title</h2>
<p>Article summary</p>
<a href="#">Read more</a>
</article>
</section>

</main>


</body>
</html>
10 changes: 10 additions & 0 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,25 @@ body {
color: var(--ink);
font: var(--font);
}
header {
text-align: center;
margin-bottom: calc(var(--space) * 2);
}

a {
padding: var(--space);
border: var(--line);
max-width: fit-content;
text-decoration: none;
display: inline-block;

}
img,
svg {
width: 100%;
height: 240px;
object-fit: cover;
display: block;
}
/* ====== Site Layout ======
Setting the overall rules for page regions
Expand Down