Learn Basic CSS by Building a Cafe Menu - Step 1

Tell us what’s happening:
Describe your issue in detail here.- can someone tell me what is wrong with my code, tried everything.

Your code so far

<html lang='en'</ <html lang='en'</

**Your browser information:**

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

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

**Link to the challenge:**

Welcome to our community!

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Step 1: As you learned in the last few steps of the Cat Photo App, there is a basic structure needed to start building your web page.

Add the <!DOCTYPE html> tag, and an html element with a lang attribute of en.

can you please insert your code line, so we can see where we can help you

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

I’ve edited your code for readability. 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 (').

You need a closing tag for your html. Closing tags look like </> except that the element you are closing needs to go after the slash

thanks for feedback and advice.
i tried all of these below;

<html lang='en'>
<html> lang='en' </html>

i also skipped to the next task and it wont work there either…


Sorry, your code does not pass. You’re getting there.

Your html element should have an opening tag with a lang attribute of en.

<html lang='en'>

This is the closest you have been. Wheres your closing html tag here? And doctype

<!DOCTYPE html>

<html> lang='en'>

as soon as i put it like this the color of lang=‘en’ cganges to black. and dont work. been busy with this for hours, start thinking its an error on the task?

I still dont see a closing html tag. You can look back at my comment on how you add a closing tag

<html> lang='en'>

This is wrong. I already pointed out what the correct one was

which one do you say is correct

<html lang='en'</html>

or 2

<html> lang='en'</html>

Neither. Number one is the closest, but you are still missing a > before your closing html tag

the second one has >

<html> lang='en'</html>

But its not correct…as I said above number one is the closest. The one you just posted is not close to being right

It might be helpful for you to look at this
Working with language in HTML (tutorial).

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