Skip to content

Commit

Permalink
Merge pull request #6 from Miami-University-ETBD/jquery.html
Browse files Browse the repository at this point in the history
Jquery.html
  • Loading branch information
mallesea authored Nov 11, 2024
2 parents 4d254e4 + fc20468 commit 342ece0
Show file tree
Hide file tree
Showing 8 changed files with 194 additions and 228 deletions.
Binary file modified .DS_Store
Binary file not shown.
22 changes: 17 additions & 5 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ <h1>Elise’s Pumpkin Loaf Bakery</h1>
<a href="index.html">Bakery Home</a>
<a href="about.html">Conract Information and Social Medias</a>
<a href="sisterlocation.html">Information about Expanding Location</a>
<a href="jquery.html">JQuery</a>
<link rel="stylesheet"
<a href=materialize.html>Link to materialize page</a>
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css">
<a href="https://raec.rocklinusd.org/documents/gradportfoliofiles/standard%20application.pdf"
target="_blank">Apply Today!</a>
Expand All @@ -40,13 +42,23 @@ <h2>Contact Us</h2>
<p><strong>Email:</strong> <a
href="mailto:info@Elise’sPumpkinLoafBakery.com">info@Elise’sPumpkinLoafBakery.com</a></p>
</section>

<section>
<h2>Follow Our Socials!</h2>
<p><strong>Instagram:</strong> @Elise’sPumpkinloaves</p>
<p><strong>Facebook:</strong> @Elise’sPumpkinloaves</p>
<p><strong>TikTok:</strong> @Elise’sPumpkinloaves</p>
</section>
<ul class="collapsible">
<li>
<div class="collapsible-header"><i class="material-icons">instagram</i>Instagram</div>
<div class="collapsible-body"><span>@Elise’sPumpkinloaves</span></div>
</li>
<li>
<div class="collapsible-header"><i class="material-icons">facebook</i>Facebook</div>
<div class="collapsible-body"><span>@Elise’sPumpkinloaves</span></div>
</li>
<li>
<div class="collapsible-header"><i class="material-icons">ondemand_video</i>TikTok</div>
<div class="collapsible-body"><span>@Elise’sPumpkinloaves</span></div>
</li>
</ul>
</section>
<section>
<h2>Recreate the Fun at Home!</h2>
<p>On days when we're closed, you can still enjoy our delicious pumpkin loaf! Follow this quick and easy recipe
Expand Down
73 changes: 0 additions & 73 deletions about.html

This file was deleted.

42 changes: 19 additions & 23 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@
<a href="index.html">Bakery Home</a>
<a href="about.html">Contact Information and Social Media</a>
<a href="sisterlocation.html">Information about Expanding Location</a>
<li><a href=materialize.html>Expanding Location</a></li>
<li><a href=materialize2.html>Expanding Location</a></li>
<a href="jquery.html">JQuery</a>
<ul>
<li><a href="materialize.html">Expanding Location</a></li>
<li><a href="materialize2.html">Expanding Location</a></li>
</ul>
</div>

<header>
<h1>Welcome to Elise's Pumpkin Loaf Bakery</h1>
</header>

<div class="container">
<p><!-- Where autumnal flavors come together in a relaxed environment! --></p>
<p><!-- Our pastry chefs pride themselves on an impressive array of culinary skills. What sets our bakery apart is our staff, who truly care about every individual's experience, one of quality and care. -->
</p>

<section>
<h2>What we strive for as a company</h2>
<p><strong>Elise's Pumpkin Loaf Bakery</strong> is committed to being an active part of the Oxford community
Expand All @@ -37,8 +36,7 @@ <h2>What we strive for as a company</h2>
<p>We also believe that our menu, while mainly autumnal, encapsulates the fact that fall flavors can be
enjoyed every season. While our specialty is pumpkin loaves, our menu diversifies with lattes,
espressos, coffee cakes, cupcakes, sourdough loaves, and tarts. Give us a stop by to experience the
<u>Elise's Pumpkin Loaves</u> difference.
</p>
<u>Elise's Pumpkin Loaves</u> difference.</p>

<h2>Our Menu</h2>
<ul>
Expand Down Expand Up @@ -108,8 +106,7 @@ <h2>Cold Foam Lattes</h2>
</tr>
<tr>
<td>Matcha Latte</td>
<td>A caffeinated, creamy, and frothy tea-based drink, can be ordered in small, medium, or large.
</td>
<td>A caffeinated, creamy, and frothy tea-based drink, can be ordered in small, medium, or large.</td>
<td>$7.95</td>
</tr>
<tr>
Expand All @@ -119,12 +116,7 @@ <h2>Cold Foam Lattes</h2>
<td>$8.95</td>
</tr>
</table>
<div class="carousel">
<a class="carousel-item" href="#one!"><img src="https://imgur.com/8l09XDZ" alt="Image 1">
<a class="carousel-item" href="#two!"><img src="https://imgur.com/B4rfhDJ" alt="Image 2">
<a class="carousel-item" href="#three!"><img src="https://imgur.com/HrsP3W9" alt="Image 3">
<a class="carousel-item" href="#four!"><img src="https://imgur.com/WVI1Hqf" alt="Image 4">
</div>

<h2>Sourdough Loaves</h2>
<table>
<tr>
Expand Down Expand Up @@ -171,12 +163,16 @@ <h2>Help us select our next best seller!</h2>
flavorMessage.innerHTML = "Great choice! You selected the " + selectedFlavor + " flavor. We hope you enjoy it!";
}
</script>
</section>
</div>

<footer>
<p>2024 Elise's Pumpkin Loaf Bakery. All rights reserved.</p>
</footer>
</body>
<!-- Carousel Section -->
<h2>Our Product Carousel</h2>
<div class="carousel">
<a class="carousel-item" href="#one!"><img src="https://imgur.com/8l09XDZ" alt="Image 1"></a>
<a class="carousel-item" href="#two!"><img src="https://imgur.com/B4rfhDJ" alt="Image 2"></a>
<a class="carousel-item" href="#three!"><img src="https://imgur.com/HrsP3W9" alt="Image 3"></a>
<a class="carousel-item" href="#four!"><img src="https://imgur.com/WVI1Hqf" alt="Image 4"></a>
</div>

</html>
<script>
// Initialize the carousel
document.addEvent
121 changes: 121 additions & 0 deletions jquery.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>Elise's Pumpkin Loaf Bakery</title>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">

<!-- Link to Custom Styles (styles.css) -->
<link rel="stylesheet" href="styles.css">

<!-- jQuery Library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>

<!-- jQuery Script to Handle Interaction -->
<script>
$(document).ready(function(){
// Hide paragraph when clicked
$("p").click(function(){
$(this).hide();
});

// Add text before and after images
$("img").before(function(){
return "<p>Freshly baked and ready to enjoy!</p>";
});

$("img").after(function(){
return "<p>Delicious " + $(this).attr('alt') + " - Come try it today!</p>";
});

// Slide down panel when #flip is clicked
$("#flip").click(function(){
$("#panel").slideDown("slow");
});
});
</script>

<!-- Style for the Panel and Flip Interaction -->
<style>
#panel, #flip {
padding: 5px;
text-align: center;
background-color: #e5eecc;
border: solid 1px #c3c3c3;
}

#panel {
padding: 50px;
display: none;
}
</style>
</head>
<body>
<!-- Header of the website -->
<header>
<h1>Welcome to Elise's Pumpkin Loaf Bakery</h1>
<div class="navbar">
<a href="index.html">Bakery Home</a>
<a href="sisterlocation.html">Recipe Cards</a>
<a href="about.html">Celebrity Favorites</a>
<a href="materialize.html">Materialize</a>
<a href="materialize2.html">Materialize</a>
<a href="jquery.html">JQuery</a>
</div>
</header>

<div class="container">
<h1>Welcome to Pumpkin Loaf Bakery</h1>

<!-- Specialty Pumpkin Loaves Menu Section -->
<h2>Pumpkin Loaves (Our Specialty Menu)</h2>

<!-- Table for Pumpkin Loaves -->
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>Nutmeg Pumpkin Loaf</td>
<td>Our classic loaf with a nutty twist, good for all you nuts out there! (contains: nuts, do not consume if you are allergic to nuts)</td>
<td>$5.95</td>
</tr>
<tr>
<td>Vanilla Glazed Loaf</td>
<td>If the classic loaf isn't sweet enough for you, try our classic loaf drizzled with vanilla bean sweet glaze.</td>
<td>$4.95</td>
</tr>
<tr>
<td>Cinnamon Snap Loaf</td>
<td>Classic loaf with a warm cinnamon blend and slight notes of peppermint.</td>
<td>$6.95</td>
</tr>
</tbody>
</table>

<div class="image-gallery">
<img src="images/cinnamonpumpkinloaf.jpeg" alt="Cinnamon Loaf">
<img src="images/nutpumpkinloaf.jpeg" alt="Nut Pumpkin Loaf">
<img src="images/pumpkinloafclassic.jpeg" alt="Classic Pumpkin Loaf">
<img src="images/vaniallglazedpumpkinloaf.jpeg" alt="Vanilla Glazed Pumpkin Loaf">
</div>

<div id="flip">Click to slide down panel</div>
<div id="panel">
<p>We are a small, locally run and operated business on the corner of High Street and S Poplar Street in the
historic downtown of Oxford, Ohio. We believe that customers should be able to taste the heart, soul, and
passion put into each of our products, which is why we make everything in-house but our heavily renowned
pastry chefs. We can pridefully say all of our ingredients come from the local Oxford area, because we are
committed to supporting a greater cause and giving back to the community who has truly given us everything.
Serving the Oxford Community since 2002, and committed to continue servicing for more to come!</p>
</div>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions materialize.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<li><a href="sisterlocation.html">Expanding Location</a></li>
<li><a href=materialize.html>Expanding Location</a></li>
<li><a href=materialize2.html>Expanding Location</a></li>
<a href="jquery.html">JQuery</a>
<link rel="stylesheet" href="styles.css"> <!-- Link to the external stylesheet --
</ul>
</div>
Expand Down
Loading

0 comments on commit 342ece0

Please sign in to comment.