# Building a recipe page

**URL:** <https://forum.freecodecamp.org/t/building-a-recipe-page/793469>\
**Category:** Curriculum Help\
**Tags:** html\
**Created:** [July 7, 2026, 9:03pm UTC](https://forum.freecodecamp.org/t/building-a-recipe-page/793469 "2026-07-07T21:03:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lindiwe](https://avatars.discourse-cdn.com/v4/letter/l/e79b87/32.png) [@Lindiwe](https://forum.freecodecamp.org/u/Lindiwe)\
**Post date:** [July 7, 2026, 9:03pm UTC](https://forum.freecodecamp.org/t/building-a-recipe-page/793469/1 "2026-07-07T21:03:58Z")

</div>

```auto
<!DOCTYPE html>

<html lang="en">
  <head>
      <meta charset="UTF-8"/>
      <meta name="description" content="free vetkoek recipe and baking tips"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0">      
      <title>my baking page</title>
      </head>
<body>
        <h1>Baked vetkoek</h1>
        <p>Here is a simple baked vetkoek recipe- no deep frying need</p>
        <h2>Ingredients</h2>
        <ul>
          <li>Flour</li>
          <li>Instant yeast</li>
          <li>Salt</li>
          <li>Sugar</li>
         <li>Warm water</li>
         </ul>
          <h2>Instructions</h2>
          <ol>
            <li>In a bowl mix flour,yeast,sugar,and salt.</li>
            <li>Add warm water and mix to a soft dough.</li>
            <li>knead for 8-10 minutes until smooth and elastic</li>
            <li>Dough should be soft, not sticky.</li>
            </ol>
             <img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="a baked vetkoek"> img/>
         </body>
             <html/>

```

---

<div class="post-metadata">

**Author:** ![Lindiwe](https://avatars.discourse-cdn.com/v4/letter/l/e79b87/32.png) [@Lindiwe](https://forum.freecodecamp.org/u/Lindiwe)\
**Post date:** [July 7, 2026, 9:07pm UTC](https://forum.freecodecamp.org/t/building-a-recipe-page/793469/2 "2026-07-07T21:07:19Z")

</div>

please help my code failing, it I should have a head element within a html element. please help

---

<div class="post-metadata">

**Author:** ![dhess](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dhess/32/406235_2.png) [@dhess](https://forum.freecodecamp.org/u/dhess)\
**Post date:** [July 7, 2026, 9:27pm UTC](https://forum.freecodecamp.org/t/building-a-recipe-page/793469/3 "2026-07-07T21:27:34Z")

</div>

Welcome to the forum @Lindiwe,

I’ve edited your code for readability. In the future, please use the “Help” button when you have a question.

> [@Lindiwe](#):
>
> `<html/>`

Look at the syntax of your other closing tags. Do you see the difference?

Even though you’ll pass the tests with that correction, please note that the `img` element is a void element that does not take a closing tag.

I also recommend that you format your code to make it easier to read. You can do that in the fCC editor by right-clicking and selecting “Format Document.”

Happy coding

---

<div class="post-metadata">

**Author:** ![Lindiwe](https://avatars.discourse-cdn.com/v4/letter/l/e79b87/32.png) [@Lindiwe](https://forum.freecodecamp.org/u/Lindiwe)\
**Post date:** [July 8, 2026, 11:00am UTC](https://forum.freecodecamp.org/t/building-a-recipe-page/793469/4 "2026-07-08T11:00:27Z")

</div>

Thank you so much it worked!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 5, 2026, 11:01am UTC](https://forum.freecodecamp.org/t/building-a-recipe-page/793469/5 "2026-08-05T11:01:27Z")

</div>

Closed on August 5, 2026, 11:01am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
