Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

can someone help me understand the language element, I have set it to “en” but when I check my code that is the response I get.

Your code so far

<!DOCTYPE html>
<html lang="en"/>
  <head>
<title>The Best Omlette</title>
<meta charset="UTF-8">
</head>
<body>
<h1> Welcome to the ultimate guide to the best omlette</h1>
<h2>Ingredients:</h2>
<ul>
  <li>Eggs</li>
  <li>salt and pepper</li>
  <li>butter</li>
  <li>grated cheddar</li>
  <li>diced onions and tomatoes</li>
  </ul>
  <h2>Instructions:</h2>
  <ol>
    <li>Fry your diced onions on low heat
      <li>Add in the diced tomatoes and seasoning of your choice then fry the mixture until soft
<li>Beat two eggs in a bowl and fry usig butter on low heat on a non stick pan
  <li>Add in your fried veges mixture on the egg and finish off with the grated chettar on top
    <li>Half flip your omlette and cover for about 1 minute and then its ready to be served
      <li> Enjoy!
        </ol>
 <img src=https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg alt"cheese omlette">       
  
  
 

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

Hi @Nthabiseng , don’t forget to account for the closing tags too. You already have the opening tags for <html lang="en"> and <body>, but the closing tags are missing.

Ohh you still have a few issues to fix. Please click “Check your code” and carefully review the instructions again.

Here are some hints to help you:

  • You wrote <html lang="en"/> — are you sure that’s correct?

  • As I mentioned in my previous reply, don’t forget about the closing tags.

  • Did you add the <p> elements you were asked to include?

  • Did you write the exact <h2> text requested in the instructions?

  • Did you add the required attributes to the <img> element?

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