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
84 changes: 75 additions & 9 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,90 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My form exercise</title>
<meta name="description" content="" />
<meta name="description" content="A small form exercise demonstrating accessible form controls." />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
.skip-link {
position: absolute;
left: -999px;
top: auto;
}
.skip-link:focus {
left: 1rem;
top: 1rem;
background: #000;
color: #fff;
padding: 0.5rem;
z-index: 9999;
}
:focus-visible {
outline: 3px solid Highlight;
outline-offset: 2px;
}
label { display:block; margin-bottom:0.25rem }
.form-row { margin-bottom: 1rem }
</style>
</head>
<body>
<a class="skip-link" href="#main-content">Skip to main content</a>
<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-->
<main id="main-content">
<form action="results.html" method="get">

<div class="form-row">
<label for="name">Name</label>
<input type="text" name="name" id="name" placeholder="John Doe" required aria-required="true">
</div>

<div class="form-row">
<label for="email">Email</label>
<input type="email" name="email" id="email" placeholder="name@example.com" required aria-required="true">
</div>

<div class="form-row">
<label for="size">Size</label>
<select name="size" id="size">
<option value="XS">Extra Small</option>
<option value="S">Small</option>
<option value="M">Medium</option>
<option value="L">Large</option>
<option value="XL">Extra Large</option>
<option value="XXL">Extra Extra Large</option>
</select>
</div>

<fieldset class="form-row">
<legend>Color</legend>
<div>
<input type="radio" name="color" id="color-blue" value="Blue">
<label for="color-blue">Blue</label>
</div>
<div>
<input type="radio" name="color" id="color-red" value="Red">
<label for="color-red">Red</label>
</div>
<div>
<input type="radio" name="color" id="color-green" value="Green">
<label for="color-green">Green</label>
</div>
</fieldset>

<div class="form-row">
<label for="password">Password</label>
<input type="password" name="password" id="password" required aria-required="true">
</div>

<div class="form-row">
<button type="reset">Reset</button>
<button type="submit">Submit</button>
</div>

</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<p>By Adedolapo Bamiduro</p>
</footer>
</body>
</html>
43 changes: 43 additions & 0 deletions Form-Controls/results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Form submission results</title>
<meta name="description" content="Displays the results of the form submission." />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
.skip-link {
position: absolute;
left: -999px;
top: auto;
}
.skip-link:focus {
left: 1rem;
top: 1rem;
background: #000;
color: #fff;
padding: 0.5rem;
z-index: 9999;
}
:focus-visible {
outline: 3px solid Highlight;
outline-offset: 2px;
}
</style>
</head>
<body>
<a class="skip-link" href="#main-content">Skip to main content</a>
<header>
<h1>Form Submission Results</h1>
</header>
<main id="main-content">
<h2>Thank you for your submission!</h2>
<p>Here are the details you provided:</p>
<ul>
<li><strong>Name:</strong> <!-- Insert name value here --></li>
<li><strong>Email:</strong> <!-- Insert email value here --></li>
<li><strong>Size:</strong> <!-- Insert size value here --></li>
</ul>
</main>
</body>
41 changes: 32 additions & 9 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,48 @@
</head>
<body>
<header>
<h1>Wireframe</h1>
<h1>
<center>Wireframe</center>
</h1>
<p>
This is the default, provided code and no changes have been made yet.
<center>An article about webpages and their purpose</center>
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<img src="placeholder.svg" alt="an image depicting wireframe " />


<h2>READme</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
The purpose of a READme file is to provide information about a project, including how to instructions and tasks to be done.

<a href="">Read more</a>
</article>
<article>
<img src="placeholder.svg" alt="an image depicting wireframe " />


<h2>Wireframe</h2>
<p>
A wireframe is a visual guide that represents the skeletal framework of a website or application, outlining the layout and structure of its content and functionality.

<a href="">Read more</a>
</article>
<article>
<img src="placeholder.svg" alt="an image depicting wireframe " />


<h2>Git branch</h2>
<p>A branch in a git, is a perosnal workspace to work on tasks independently.</p>

<a href="">Read more</a>

</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.


<p> <center>Adedolapo January 2026</center>
</p>
</footer>
</body>
Expand Down
Loading