Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

i have given correctly still saying its an error whats wrong

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <body>
      <h1>Tea</h1>
      <p>Mr.stressbuster</p>
      <h2>Ingredients</h2>
      <ul>
        <li>milk</li>
        <li>sugar</li>
        <li>tea powder</li>
        <li>water</li>
        </ul>
        <section>
          <h2>Instructions</h2>
          <ol>
            <li>pour some water in to the bowl</li>
            <li>add some tea powder and sugar</li>
            <li>let it boil for some time until all it extracts into the water</li>
            <li>add milk into it,wait for 5 min and your tea is ready</li>
            </section>
            <img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt=cup of tea>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a Recipe Page - Build a Recipe Page

Welcome to the forum @vaishnavigajjali

Opening tags need a closing tag.

Check each element with an opening tag has a closing tag.

Happy coding

Best practice is to write the closing tag at the same time as the opening tag. Then you know you’ve got it.

1 Like

Here’s a list of void elements that don’t need closing tags in case you were confused. Everything else does.

Happy coding!