Menu
Coddy logo textTech

Steps

Part of the Fundamentals section of Coddy's HTML journey. Lesson 19 of 60.

challenge icon

Challenge

Easy

Keep everything you wrote in the previous steps: the title, the description, the Ingredients: heading and its list all stay on the page.

Add a heading (h2) with the text of Steps:, written exactly like that.

Add a list of steps in an ordered list (ol):

  1. Preheat the oven to 350°F (175°C).
  2. Mix the butter and sugar together in a bowl.
  3. Add the flour and chocolate chips, and mix well.
  4. Scoop the dough onto a baking sheet.
  5. Bake for 10-12 minutes or until golden brown.

Try it yourself

<!DOCTYPE html>
<html>
    <body>
        <h1>Chocolate Chip Cookies</h1>
        <p>This is a simple recipe for making delicious chocolate chip cookies at home.</p>
        
        <h2>Ingredients:</h2>
        <ul>
            <li>1 cup of butter</li>
            <li>1 cup of sugar</li>
            <li>2 cups of flour</li>
            <li>1 cup of chocolate chips</li>
        </ul>
    </body>
</html>

All lessons in Fundamentals

Practice on your own: Web playground