Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

I’m not sure why its not passing. It says I should have an html element lang set to en but I think I did that. It also says I don’t have a head or body element. :sweat_smile:

Your code so far

<!DOCTYPE html>
<html lang="en"
<head>
  <meta charset = "UTF-8">
  <title>Recipetime!</title>
</head>
<body>
  <h1>Caramel Coffee</h1>
  <p>This is an interesting recipe you should try!</p>
  <h2>Ingredients</h2>
  <ul>
    <li>Coffee Beans</li>
    <li>Caramel</li>
    <li>Cream</li>
    <li>Whipped Cream</li>
  </ul>
  <h2>Instructions</h2>
  <ol>
    <li> Ground the coffee beans</li>
    <li> Add water </li>
    <li> Add cream </li>
    <li> Add whipped cream </li>
  </ol>
  <img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt ="Not coffee but eggs">

</body>

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

Welcome to the forum @L24338

Carefully check the opening html syntax. Looks like something is missing.

Where is the closing html tag?

Happy coding

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