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
62 changes: 53 additions & 9 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,71 @@
<!DOCTYPE html>
<!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="" />
<title>T-Shirt Order Form</title>
<meta name="description" content="T-Shirt order form" />
<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: at least two non-space characters -->
<label for="customer-name">Name</label>
<input
type="text"
id="customer-name"
name="customer-name"
pattern=".*\S.*\S.*"
required
/>

<!-- Customer email: must be a valid email -->
<label for="customer-email">Email</label>
<input
type="email"
id="customer-email"
name="customer-email"
required
/>

<!-- T-shirt colour: choose one of three options -->
<fieldset>
<legend>T-Shirt Colour</legend>

<input type="radio" id="red" name="colour" value="red" required />
<label for="red">Red</label>

<input type="radio" id="blue" name="colour" value="blue" />
<label for="blue">Blue</label>

<input type="radio" id="black" name="colour" value="black" />
<label for="black">Black</label>
</fieldset>

<!-- T-shirt size: choose one of six options -->
<label for="size">Size</label>
<select id="size" name="size" required>
<option value="">Select a size</option>
<option value="XS">XS</option>
<option value="S">S</option>
<option value="M">M</option>
<option value="L">L</option>
<option value="XL">XL</option>
<option value="XXL">XXL</option>
</select>

<button type="submit">Submit Order</button>
</form>
</main>

<footer>
<!-- change to your name-->
<p>By HOMEWORK SOLUTION</p>
<p>By Eunice Mutanda</p>
</footer>
</body>
</html>
Binary file added Wireframe/Cafe Wireframe .jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/Classroom Wireframe.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/bird.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 42 additions & 10 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,65 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe</title>
<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.
A wireframe is a simple visual blueprint or sketch of a webpage or
application.
</p>
</header>

<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<img src="mokey.jpg" alt="image of an upside down monkey" />
<h2>What is a README File?</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
A README file provides information about a project, including its
purpose, installation instructions, and how to use it.
</p>
<a href="">Read more</a>
<a href="https://en.wikipedia.org/wiki/README"
>Learn more about README files</a
>
</article>

<article>
<img src="bird.jpg" alt="An image of a black bird" />
<h2>What is a Wireframe?</h2>
<p>
A wireframe is a visual guide that helps designers and developers plan
the structure and layout of a webpage before building it.
</p>
<a href="https://www.productplan.com/glossary/wireframe/"
>Learn more about wireframes</a
>
</article>

<article>
<img
src="Classroom Wireframe.jpg"
alt="an image of a glass building"
/>
<h2>What is a Git Branch?</h2>
<p>
A Git branch allows developers to work on new features or fixes
separately from the main project without affecting existing code.
</p>
<a
href="https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell"
>Learn more about Git branches</a
>
</article>
</main>

<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<p>Enice Mutanda 2026 CYF</p>
</footer>
</body>
</html>
Binary file added Wireframe/mokey.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ body {
background: var(--paper);
color: var(--ink);
font: var(--font);
margin: 0;
padding: 20px;
padding-bottom: 80px; /* to make room for the fixed footer */
}
a {
padding: var(--space);
Expand All @@ -53,6 +56,10 @@ footer {
position: fixed;
bottom: 0;
text-align: center;
padding: 1rem;
background-color: #f4f4f4;
border-top: 1px solid #ccc;
width: 100%;
}
/* ====== Articles Grid Layout ====
Setting the rules for how articles are placed in the main element.
Expand Down
Loading