Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 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
6a8094e
deleted animal-website
chefmatthaus-hub Sep 13, 2026
7815f16
moved CSS styles to a separate file and updated HTML to link the styl…
chefmatthaus-hub Sep 15, 2026
345a891
refactor: enhance HTML structure with semantic classes and improve im…
chefmatthaus-hub Oct 3, 2026
3e06109
refactor: update HTML structure and enhance CSS styles for article cards
chefmatthaus-hub Oct 3, 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
47 changes: 47 additions & 0 deletions Form-Controls/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
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;
}
82 changes: 76 additions & 6 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,92 @@
<title>My form exercise</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="index.css" />
</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" required>
<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" required>
<option value="">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>
43 changes: 38 additions & 5 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,56 @@
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>

<header class="page-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="" />

<main class="content-grid">

<article class="article-card featured">
<img src="placeholder.svg" alt="Placeholder Image" />
<div class="article-content">
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
<a href="" class="read-more">Read more</a>
</div>

</article>

<article class="article-card">
<img src="placeholder.svg" alt="Placeholder Image" />
<div class="article-content">
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
<a href="" class="read-more">Read more</a>
</div>
</article>

<article class="article-card">
<img src="placeholder.svg" alt="Placeholder Image" />
<div class="article-content">
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
<a href="">Read more</a>
<a href="" class="read-more">Read more</a>
</div>
</article>

</main>

<footer>
<p>
This is the default, provided code and no changes have been made yet.
Expand Down
103 changes: 95 additions & 8 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,95 @@
/*
(Suggestion) Use a top-down approach when applying CSS:
1. Lay out the top-level elements: <header>, <main>, <footer>
2. Lay out the articles within <main>
3. Style individual elements

Please REMOVE this comment before submitting your work.
*/
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1.5;
padding: 20px;
max-width: 1000px;
margin: auto;
color: #3330;
}

.page-header {
text-align: center;
margin-bottom: 30px;
}

.page-header h1 {
font-size: 2rem;
color: #333;
font-weight: 600;
letter-spacing: 1px;
}

.page-header p {
color: #666;
font-size: 0.95rem;
}

.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 40px;
}

.article-card {
border: 1px solid #ccc;
padding: 15px;
background: #fff;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.article-card.featured {
grid-column: 1 / -1;
}

.article-card img {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
background-color: #e0e0e0;
object-fit: cover;
margin-bottom: 12px;
border: 1px dashed #999;
}

.article-content h2{
font-size: 1.1rem;
margin-bottom: 6px;
}

.article-content p {
font-size: 0.9rem;
color: #555;
margin-bottom: 12px;
}

.read-more {
display: inline-block;
padding: 6px 12px;
border: 1px solid #333;
text-decoration: none;
color: #333;
font-size: 0.85rem;
align-self: flex-start;
}

.read-more:hover {
background-color: #333;
color: #fff;
}

footer {
text-align: center;
border-top: 1px solid #ddd;
padding-top: 20px;
font-size: 0.85rem;
color: #666;
}
Empty file.
Loading