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
14 changes: 14 additions & 0 deletions BASICHTML.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Basic HTML</title>
<meta charset="UTF-8">
<meta name=author" content="Kenneth">
</head>
<body>
<header>
<h4>Basic HTML Template</h4>
</header>
<p>Introduction to basic HTML syntax.</p>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
121 changes: 121 additions & 0 deletions One-Page Website/one_page_website.html/website.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Daily Swirl - Sticky Buns</title>
<style>
img {
max-width: 100%;
height: auto;
border-radius: 8px;
display: block;
margin: 0 auto;
/* Basic styling to make the page look nice */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
}
nav {
background-color: #333;
padding: 15px;
position: sticky;
top: 0;
}
nav a {
color: white;
text-decoration: none;
margin-right: 20px;
font-weight: bold;
}
nav a:hover {
color: #d35400;
}
section {
padding: 60px 20px;
border-bottom: 1px solid #ddd;
}
.price-tag {
color: #27ae60;
font-size: 1.5em;
font-weight: bold;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
}
</style>
</head>
<body>

<!-- A <nav> element that utilizes HTML bookmarks to jump to sections -->
<nav>
<a href="#home">Home</a> |
<a href="#pictures">Gallery</a> |
<a href="#video">Watch Us Bake</a> |
<a href="#contact">Order Form</a>
</nav>

<!-- Home page section -->
<section id="home">
<h1>Welcome to The Daily Swirl</h1>
<p>Your new favorite local bakery. We specialize in baking the best classic, sweet, and gooey treats in town.</p>
<h2>Famous Sticky Buns - 7 Pack</h2>
<p>Grab a box of our freshly baked sticky buns to share with family and friends. Each box comes carefully packed with 7 delicious buns.</p>
<p class="price-tag">Price: $15.00</p>
</section>

<!-- A section with pictures -->
<section id="pictures">
<h2>Our Famous Sticky Buns</h2>
<p>Take a look at what you're getting:</p>
<!-- <img> tag with src and alt attributes -->
<img src="Sticky-Buns-Photo.jpg" alt="Sticky buns from The Daily Swirl" style="border-radius: 8px; max-width: 100%;">
</section>

<!-- A section with a video -->
<section id="video">
<h2>Behind the Scenes</h2>
<p>Watch how we roll and glaze our signature buns!</p>
<!-- <iframe> tag with src attribute -->
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/X8RzGsiva_Q?si=fi8PzavSEjqaJhD9"
title="Baking Sticky Buns Video"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</section>

<!-- Contact form section -->
<section id="contact">
<h2>Order Yours Today</h2>
<p>Fill out the form below to reserve your 7-pack of sticky buns for $15.</p>
<!-- <form> and <input> tags -->
<form action="#" method="POST">
<label for="name">Full Name:</label><br>
<input type="text" id="name" name="name" required><br><br>

<label for="email">Email Address:</label><br>
<input type="email" id="email" name="email" required><br><br>

<label for="quantity">Number of 7-Packs ($15 each):</label><br>
<input type="number" id="quantity" name="quantity" min="1" value="1" required><br><br>

<input type="submit" value="Place Order">
</form>
</section>

<!-- Footer section -->
<footer>
<p>&copy; 2026 The Daily Swirl. All rights reserved.</p>
</footer>

</body>
</html>
Empty file added github-assignment
Empty file.