Learn Basic CSS by Building a Cafe Menu - Step 1

Tell us what’s happening:
I don’t understand why you refuse to provide an example here when you have done so for easier problems elsewhere. In my “code so far” I have listed two possible “lang” syntaxes. Neither of them will work. Simply telling me to “use a closing html” is useless and frustrating. A little less “Wizard of Oz” would be helpful - and thanks.

Your code so far

<!DOCTYPE html>

<html> lang="en"</html>

or

<!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/108.0.0.0 Safari/537.36

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

Link to the challenge:

The code options did not copy correctly: (1) <html> lang="en"</html> and (2) <html land="en"> did not work. I’ve run out of options.

why are you sensoring my option 2 when it does not work. Providing a wrong option is not the same as giving away a correct answer. Please stop frustrating my efforts to communicate accurately!

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 (').

This code has an opening tag and a closing tag but the lang attribute should be moved within the opening tag of the html element

Welcome to our community!
lang="en’ goes in the opening <html> tag:

<!DOCTYPE html>
<html lang="smth">
</html>

Note: You need to give lang inside of opening tag of html tag and close the html tag
Hope you get

Nobody is censoring anything. Browsers attempt to render html they find, so you need to format your code with backticks to stop this.

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