When I did the tests, it says 2, 3, 8, 15, and 18 is wrong. I checked all of these tests and I definitely did all of this. Could someone help me with my code?
Your code so far
<!DOCTYPE html>
<head>
<body>
<html lang="en">
<title>My Recipe</title>
<meta charset="UTF-8">
</head>
<h1>Cookies</h1>
<p>My recipe makes you cookies.</p>
<h2>Ingredients</h2>
<ul>flour</ul>
<ul>sugar</ul>
<ul>shortening</ul>
<ul>eggs</ul>
<ul>butter</ul>
<h2>Instructions</h2>
<ol>1. Gather all of your ingredients</ol>
<ol>2. Mix your sugar and flour</ol>
<ol>3. Put the eggs in with the mix</ol>
<ol>4. Throw in your shortening and butter</ol>
<img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt=Picture of some ingredients>
</body>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0
I fixed it to this but still doesn’t work. Sorry, very new to coding
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Recipe</title>
<meta charset="UTF-8">
</head>
<body>
<h1>Cookies</h1>
<p>My recipe makes you cookies.</p>
<h2>Ingredients</h2>
<ul>flour</ul>
<ul>sugar</ul>
<ul>shortening</ul>
<ul>eggs</ul>
<ul>butter</ul>
<h2>Instructions</h2>
<ol>1. Gather all of your ingredients</ol>
<ol>2. Mix your sugar and flour</ol>
<ol>3. Put the eggs in with the mix</ol>
<ol>4. Throw in your shortening and butter</ol>
<img src="https://cdn.freecodecamp.org/curriculum/labs/recipe.jpg" alt=Picture of some ingredients>
</body>
#2: You need to close the html element. Like all other elements it has a closing tag that is the very last thing in your code. Once you fix that it will pass number 3 and 8