Tell us what’s happening:
Hello,
I looked up the forum to see if I could find an answer to my issue but I didn’t so here’s my own post : I’m stuck at the “Build a Recipe” lab.
The tests tell me that I don’t have an html/head/body element but I can’t find the issue with my code. The opening and closing tags are fine, and it is structured in the right way from what I understood in the previous lessons.
Many thanks for your help !
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gateau Chocolat</title>
<meta charset="UTF-8" />
</head>
<body>
<h1>Recette de gateau au chocolat de Paul</h1>
<p>Suivez cette recette à la lettre pour déguster le meilleur gateau au chocolat du monde !</p>
<h2>Ingredients</h2>
<ul>
<li>Sucre</li>
<li>Beurre</li>
<li>Chocolat</li>
<li>Farine</li>
<li>Levure</li>
</ul>
<h2>Instructions</h2>
<ol>
<li>Fondre le chocolat</li>
<li>Casser les oeufs</li>
<li>Monter les blancs en neige</li>
<li>Fondre le beurre</li>
<li>Mélanger</li>
<img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt="Instruments de cuisine">
</body>
</hmtl>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0
Challenge Information:
Build a Recipe Page - Build a Recipe Page
https://www.freecodecamp.org/learn/full-stack-developer/lab-recipe-page/build-a-recipe-page