Learn Basic CSS by Building a Cafe Menu - Step 1

I’m in distress because I swear I am doing nothing wrong.
I am literally starting the webpage out and I can’t get past the first one.

This is what I have and what I am pretty sure is right. Can someone please help me.


<!-- User Editable Region -->

    <!DOCTYPE html>
<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 Edg/114.0.1823.51

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

Link to the challenge:

Hi there and welcome to our community.
You’re basically correct, but an html element should include a closing tag.
The entire contents of the html doc will go between these two tags.

2 Likes

Does it not already have a closing tag? What do you mean crying emoji

Most HTML elements have an opening and closing tag.

EXAMPLE:

<h1>This is a heading element</h1>
<p>This is a paragraph element</p>
1 Like

Close the html tag and it should work

2 Likes
<opening tag> content between the tags </closing tag>
1 Like

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