Build a Recipe Page - Build a Recipe Page

Tell us what’s happening:

i have checked so many places for my quote

please guide me whats wrong with this code mentioned above.
html element with lang set to en

Your code so far

<!DOCTYPE html>
`<html lang="en">`


  

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

You wrapped the html tag in backsticks

remove them and you should be good to go

Tell us what’s happening:

see i have no backsticks here but still the code is not accepted

Your code so far

<!DOCTYPE html>
<html lang="en.">


  

Your browser information:

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

Challenge Information:

Build a Recipe Page - Build a Recipe Page

my code so far

<!DOCTYPE html>
<html lang="en">.
<!DOCTYPE html>

<html lang="en">.

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Please write complete HTML elements. For example, the <html> tag needs a corresponding closing tag.

you should not add a period

if i add closing tag still the code does not pass and lang does not get set to English .

what does a “period” mean? plz explain

What does your code look like with a closing html tag?

the period is this piece of punctuation → .

1 Like

please guide me with step 6 . it says
6. You should have a meta element within your
head element. and
step 8. You should have a body element within your html
element.

<!DOCTYPE html> 
<html lang="en" >
  <head>
<title> Chocolate Fudge Cake</title>
<meta charset="UTF-8"
</head>
<body>
  <h1>Chocolate Fudge Cake</h1>
 </html>.
<p>Chocolate Fudge Cake is one of the best flavours picked y cake lovers around the world and definetly a mouth watering one</p>
<h2>Ingredients</h2>
 <ul>
   <li>6eggs</li>
   <li>1 cup dark chocolate</li>
   <li>2 cups flour</li>
   <li>1/2 cup oil</li>
   <li>1 cup Sugar</li>
   <li>vanilla essence</li>
   <h2>Instructions</h2>
   <ol>

the body element is not closed, also all your elements that appear on the page need to go inside the body element

and your meta element is not complete

1 Like

Those are not steps. Those are tests.

It helps if you say what part of your code you think satisfies the requirements of the test.

It is really important that you write complete HTML tags and elements.

1 Like

done. Thanks alot
its fixed

  1. List item