Skip to content

Instantly share code, notes, and snippets.

@kauffmanes
Created January 22, 2020 01:39
Show Gist options
  • Save kauffmanes/08f517433f06fb2b97284f9452d8ff5a to your computer and use it in GitHub Desktop.
Save kauffmanes/08f517433f06fb2b97284f9452d8ff5a to your computer and use it in GitHub Desktop.
Exercise 1: Recipe Markup
<!doctype html>
<html>
<head>
<title>My Cookie Recipe</title>
<meta charset="utf-8" />
</head>
<body>
<h1>Best Chocolate Chip Recipe</h1>
<ul>
<li>1 cup butter, softened</li>
<li>1 cup white sugar</li>
<li>1 cup packed brown sugar</li>
<li>2 eggs</li>
<li>2 teaspoons vanilla extract</li>
<li>1 teaspoon baking soda</li>
<li>2 teaspoons hot water</li>
<li>1/2 teaspoon salt</li>
<li>3 cups all-purpose flour</li>
<li>2 cups semi-sweet chocolate chips</li>
<li>1 cup chopped walnuts</li>
</ul>
<ol>
<li>Preheat oven to 350 degrees F (175 degrees C).</li>
<li>Cream together the butter, white sugar, and brown sugar until smooth. Beat in the eggs one at a time, then stir in the vanilla. Dissolve baking soda in hot water. Add to batter along with salt. Stir in flour, chocolate chips, and nuts. Drop by large spoonfuls onto ungreased pans.</li>
<li>Bake for about 10 minutes in the preheated oven, or until edges are nicely browned.</li>
</ol>
<p>I got this recipe from AllRecipes.com. Make sure to consume all cookies immediately after taking out of the oven for best results.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment