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
58 changes: 31 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,39 @@
</head>

<body>
<h1 class="heading">Recipe World</h1>
<nav>
<header>
<h1 class="heading">Recipe World</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="recipes.html">Recipes</a></li>
<li><a href="suggest.html">Suggest</a></li>
</ul>
</nav>
</header>
<main>
<h2 class="heading">Magic Cake</h2>
<p class="body-text">Magic cake is one of the tastiest cakes the world ahs ever known. Few have tried and lived to tell about it, and these
are their stores.</p>
<p class="body-text">We also need to stress that whatever happens to you as a result of consuming Magic Cake is your responsibility. You've
been warned, and you can view our <a href="http://www.example.com/legal.html" target="_blank">legal page</a> for more
information.
</p>
<h3 class="heading">Ingredients</h3>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="recipes.html">Recipes</a></li>
<li><a href="suggest.html">Suggest</a></li>
<li>2 eggs</li>
<li><a href="https://www.amazon.com/Domino-Sugar-Granulated-4LB-Canister/dp/B00HJCXX24/ref=sr_1_3_s_it?s=grocery&ie=UTF8&qid=1500938121&sr=1-3&keywords=sugar&th=1">1 pound sugar</a></li>
<li>3 sticks of butter</li>
</ul>
</nav>
<h2 class="heading">Magic Cake</h2>
<p class="body-text">Magic cake is one of the tastiest cakes the world ahs ever known. Few have tried and lived to tell about it, and these
are their stores.</p>
<p class="body-text">We also need to stress that whatever happens to you as a result of consuming Magic Cake is your responsibility. You've
been warned, and you can view our <a href="http://www.example.com/legal.html" target="_blank">legal page</a> for more
information.
</p>
<h3 class="heading">Ingredients</h3>
<ul>
<li>2 eggs</li>
<li><a href="https://www.amazon.com/Domino-Sugar-Granulated-4LB-Canister/dp/B00HJCXX24/ref=sr_1_3_s_it?s=grocery&ie=UTF8&qid=1500938121&sr=1-3&keywords=sugar&th=1">1 pound sugar</a></li>
<li>3 sticks of butter</li>
</ul>
<h3 class="heading">Directions</h3>
<ol>
<li>Mix eggs, sugar, and butter in a large bowl</li>
<li>Spread into a non-stick dish</li>
<li>Bake at 350 degrees for 1 hour</li>
<li>Let sit at room temp for 20 minutes</li>
<li>Eat and enjoy!</li>
</ol>
<h3 class="heading">Directions</h3>
<ol>
<li>Mix eggs, sugar, and butter in a large bowl</li>
<li>Spread into a non-stick dish</li>
<li>Bake at 350 degrees for 1 hour</li>
<li>Let sit at room temp for 20 minutes</li>
<li>Eat and enjoy!</li>
</ol>
</main>
</body>

</html>
58 changes: 31 additions & 27 deletions recipes.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,38 @@
</head>

<body>
<h1>Recipe World</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="recipes.html">Recipes</a></li>
<li><a href="suggest.html">Suggest</a></li>
</ul>
</nav>
<header>
<h1>Recipe World</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="recipes.html">Recipes</a></li>
<li><a href="suggest.html">Suggest</a></li>
</ul>
</nav>
</header>

<h2>Recipes</h2>
<ul class="recipes">
<li>
<h3><a href="magic-cake.html">Magic Cake</a></h3>
<p>This is a dangerously delicious cake.</p>
</li>
<li>
<h3><a href="tacosaurus-mex.html">Tacosaurus Mex</a></h3>
<p>It's always taco night somewhere</p>
</li>
<li>
<h3><a href="florida-omelette.html">Florida Omelette</a></h3>
<p>Omelette you in on a little secret - this is one tasty egg.</p>
</li>
<li>
<h3><a href="mystery-which.html">Mystery-which</a></h3>
<p>It's a sandwich. That's all we can really say right now.</p>
</li>
</ul>
<main>
<h2>Recipes</h2>
<ul class="recipes">
<li>
<h3><a href="magic-cake.html">Magic Cake</a></h3>
<p>This is a dangerously delicious cake.</p>
</li>
<li>
<h3><a href="tacosaurus-mex.html">Tacosaurus Mex</a></h3>
<p>It's always taco night somewhere</p>
</li>
<li>
<h3><a href="florida-omelette.html">Florida Omelette</a></h3>
<p>Omelette you in on a little secret - this is one tasty egg.</p>
</li>
<li>
<h3><a href="mystery-which.html">Mystery-which</a></h3>
<p>It's a sandwich. That's all we can really say right now.</p>
</li>
</ul>
</main>

</body>

Expand Down
46 changes: 42 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ a {
border: 0;
}

body {
padding: 20px;
}

h1 {
margin: 10px 0 15px 0;
text-align: center;
}

h2 {
margin: 10px 0 20px 0;
text-align: center;
}

h3 {
Expand All @@ -36,6 +34,10 @@ ol {
padding-left: 50px;
}

nav {
text-align: center;
}

nav ul {
padding-left: 0;
}
Expand All @@ -48,3 +50,39 @@ nav a {
nav li {
display: inline;
}

.recipes {
list-style-type: none;
padding: 0;
}

.recipes li {
border: 1px solid #b56663;
padding-left: 15px;
}

.recipes h3 {
border-bottom: 0;
}

.recipes a {
color: #7facaa;
text-decoration: none;
}

header {
padding: 10px;
background-color: #b56663;
}

header a,
h1 {
color: #fff;
}

main {
width: 500px;
padding: 20px;
border: 1px solid #ddd;
margin: 30px auto 0 auto;
}