Skip to content
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ced2c8b
Created animal website and index.html
chefmatthaus-hub Sep 12, 2026
dfe221f
Part 1 - Creating the repository
chefmatthaus-hub Sep 12, 2026
20df3e3
Added colour options for shirts
chefmatthaus-hub Sep 12, 2026
5817f0b
Changed Footer Name
chefmatthaus-hub Sep 12, 2026
857487a
Added shirt size options
chefmatthaus-hub Sep 12, 2026
66bd2de
Added Customer Details Field
chefmatthaus-hub Sep 12, 2026
8bc3b93
changed shirt color label "for"
chefmatthaus-hub Sep 12, 2026
adf2ba2
Added a submit button
chefmatthaus-hub Sep 13, 2026
1979160
added a <p> for the button
chefmatthaus-hub Sep 13, 2026
b6c78a5
Neatened my line of code added a few <p> and <div>
chefmatthaus-hub Sep 13, 2026
cf2d074
Added my first .css
chefmatthaus-hub Sep 13, 2026
3c9fa22
Added .css to button
chefmatthaus-hub Sep 13, 2026
04a9d41
Added .css to select
chefmatthaus-hub Sep 13, 2026
daa9c1f
Removed shirt size label
chefmatthaus-hub Sep 13, 2026
c1fc3d4
added additional hover .css to select
chefmatthaus-hub Sep 13, 2026
4e8e014
added .css to input
chefmatthaus-hub Sep 13, 2026
0300b47
corrected email address field type to from "text" to "email"
chefmatthaus-hub Sep 13, 2026
1543377
added select option to option field
chefmatthaus-hub Sep 13, 2026
bb8c532
added .css to field set
chefmatthaus-hub Sep 13, 2026
f873d15
added "aria-label" to select field
chefmatthaus-hub Sep 13, 2026
eb8a31f
Delete animal-website/index.html
chefmatthaus-hub Sep 13, 2026
15d2158
Delete git-collaboration/animal-website/index.html
chefmatthaus-hub Sep 13, 2026
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
131 changes: 125 additions & 6 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,141 @@
<title>My form exercise</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
text-align: center;
background-color: rgb(162, 139, 139);
}

fieldset{
border-radius: 10px;
padding: 3px;
max-width: 450px;
margin: 0 auto 12px auto;
box-sizing: border-box;
}

input{
border: 2px solid #ddd;
border-radius: 5px;
background: #eee;
padding: 2px;
}

select {
border: 2px solid #ddd;
border-radius: 5px;
background: #eee;
padding: 2px;
transition: 0.4s;
}

select:hover,
select:focus{
background: rgb(117, 180, 232);
color: white;
}

button {
padding: 5px;
border: 2px solid #ddd;
background: #eee;
border-radius: 5px;
cursor: pointer;
}

button:hover,
button:focus {
background: rgb(117, 180, 232);
color: white;
}

</style>
</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-->

<p>
<fieldset>

<legend>Your Details</legend>

<p>
<div>
<label for="name">Name: <input type="text" name="name" id="name" placeholder="John Smith" required></label>
</div>
</p>
<p>
<div>
<label for="email">Email: <input type="email" name="email" id="email" placeholder="example@email.com" required></label>
</p>

</fieldset>
</p>

<p>
<fieldset>

<legend>Shirt Colour Options</legend>

<p>
<div>
<input type="radio" name="color" id="colour_1">
<label for="colour_1">Red</label>
</div>
<div>
<input type="radio" name="color" id="colour_2">
<label for="colour_2">Blue</label>
</div>
<div>
<input type="radio" name="color" id="colour_3">
<label for="colour_3">Green</label>
</div>
</p>

</fieldset>
</p>

<p>
<fieldset>

<legend>Shirt Size Options</legend>

<p>
<select name="size" id="size" aria-label="Shirt Size Options">
<option value="so">Please Select an Option</option>
<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="xll">Extra Extra Large</option>
</select>
</p>

</fieldset>
</p>

<div>
<p>
<button class="submit">Continue with selection</button>
</p>
</div>

</form>

</main>

<footer>
<!-- change to your name-->
<p>By HOMEWORK SOLUTION</p>
<p>By MATTHAUS BAUSE</p>
</footer>

</body>
</html>