Skip to content
Open
Show file tree
Hide file tree
Changes from 6 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
99 changes: 86 additions & 13 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,100 @@
<!DOCTYPE html>
<html lang="en">
<head>
<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" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>T-Shirt Order Form</title>
</head>
<body>
<header>
<h1>Product Pick</h1>
<h1>T-Shirt Sales form</h1>
<p>Please confirm your details and choose your preferred colour and size.</p>
</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 aria-label="T-shirt order form">
<br>
<!-- Customer Name -->
<div>
<label for="name">Full Name:</label>
<input
type="text"
id="name"
name="name"
minlength="2"
required
aria-required="true"
placeholder="Enter your full name"
/>
</div>
<br>

Choose a reason for hiding this comment

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

Stick to regular formatting (spacing) of the code so that it is easier to read. You can use the Prettier extension in VSCode and set it up to automatically format your files when you save. I would recommend you to have a look at it and enable it in the settings of VSCode.

Otherwise, please format the file so that each element is indented correctly.

<!-- Customer Email -->
<div>
<label for="email">Email Address:</label>
<input
type="email"
id="email"
name="email"
required
aria-required="true"
placeholder="Enter your email address"
/>
</div>
<br>
<!-- T-shirt Colour -->
<div>
<label for="colour">T-shirt Colour:</label>
<select id="colour" name="colour" required aria-required="true">
<option value="">Select a colour</option>
<option value="black">Black</option>
<option value="white">White</option>
<option value="blue">Blue</option>
</select>
</div>
<br>
<!-- T-shirt Size -->
<fieldset>
<legend>T-shirt Size:</legend>
<br>
<div>
<input type="radio" id="xs" name="size" value="XS" required />
<label for="xs">XS</label>
</div>
<br>
<div>
<input type="radio" id="s" name="size" value="S" />
<label for="s">S</label>
</div>
<br>
<div>
<input type="radio" id="m" name="size" value="M" />
<label for="m">M</label>
</div>
<br>
<div>
<input type="radio" id="l" name="size" value="L" />
<label for="l">L</label>
</div>
<br>
<div>
<input type="radio" id="xl" name="size" value="XL" />
<label for="xl">XL</label>
</div>
<br>
<div>
<input type="radio" id="xxl" name="size" value="XXL" />
<label for="xxl">XXL</label>
</div>
<br>
</fieldset>

<br>
<!-- Submit Button -->
<button type="submit">Submit Order</button>
</form>
</main>
<br>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<p>@copy 2025 Chibuikem Okwu. All rights reserved.</p>
</footer>
</body>
</html>
Binary file added Wireframe/branch-in-git.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 62 additions & 12 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,81 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe</title>
<title>Wireframe.</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<body>
<header>
<h1>Wireframe</h1>
<h1>Wireframe Web Project </h1>
<p>
This is the default, provided code and no changes have been made yet.
Learn about key tools every developer uses: README files, wireframes,
and Git branches.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<div>
<img src="readme.jpg" alt="" />
<h2>What is the purpose of a README file?</h2>
<p>
A README file introduces a project, explaining what it does, how
to install it, and how to use it. It helps others understand your
project quickly.
</p>
<a
href="https://www.makeareadme.com/"
target="_blank"
rel="noopener noreferrer"
>Read more</a
><br>
</div>
<br>
</article>

<article>
<img src="wireframed1.png" alt="" />
<div>
<h2>What is the purpose of a wireframe?</h2>
<p>
A wireframe is a visual guide that outlines a webpage’s structure.
Designers and developers use it to plan layouts before adding
content or styling.
</p>
<a
href="https://careerfoundry.com/en/blog/ux-design/what-is-a-wireframe/"
target="_blank"
rel="noopener noreferrer"
>Read more</a
>
</div>
<br>
</article>

<article>
<img src="branch-in-git.jpg" alt="" />
<div>
<h2>What is a branch in Git?

</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
A Git branch allows developers to work on new features or fixes
separately from the main code. This keeps the main project stable
while updates are tested.
</p>
<a href="">Read more</a>
</article>
<a
href="https://www.atlassian.com/git/tutorials/using-branches"
target="_blank"
rel="noopener noreferrer"
> Read more </a>
</div>
<br>
</article>
</section>
</main>

<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<p>&copy; 2025 CodeYourFuture Chibuikem Okwu</p>
</footer>
</body>
</html>
Binary file added Wireframe/readme.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,23 @@ svg {
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
*/
header{
text-align: center ;
}
main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
padding-bottom: 3em;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 1em;
position: fixed;
bottom: 0;
text-align: center;
width: 100%;

}
/* ====== Articles Grid Layout ====
Setting the rules for how articles are placed in the main element.
Expand Down
Binary file added Wireframe/wireframed1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading