Learn Basic CSS by Building a Cafe Menu - Step 1

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


<!-- User Editable Region -->

<DOCTYPE html lang="en">

<!-- User Editable Region -->


Your browser information:

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

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 1

Link to the challenge:

The doctype tag and the html element are two different things.

Look back at the final HTML for the cat photo app to see how you did them in that course.

It is meant to have an exclamation mark after this sign<.
Hope it helps, goodluck!

1 Like
<html lang="en"
<html lang="en"

Like bbsmooth earlier said the doctype and the html are two different things.
So first write Doctype html like you did before but with an exclamation mark after the < sign and in the next line
m write your opening tag using the <> with the text given to you.
Hope it helps, goodluck!

1 Like

Remember, the html element has both an opening and closing tag.

Also, in order to paste your HTML in here so we can see it properly, you need to use the triple back tick method. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

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