Tell us what’s happening:
IT SAYS ADD THE TITLE ELMENT INTO HEAD BUT I DONT KNOW HOW THIS IS THE CODE
Your code so far
<!-- User Editable Region -->
</html><HEAD></HEADCAFEMENU><TITLE></TITLE>
<!-- User Editable Region -->
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Learn Basic CSS by Building a Cafe Menu - Step 2
Cafe Menu
It says add HEAD element with in html element. and title elements text should be Cafe Menu.
so Cafe Menu text should be inside title element. and title element should be inside head element.
Hi. Look again at the example for an element on step 1
<h1>This is a main heading</h1>
It is the convention to write the element names in lower case like the example.
Work out from the question what is the text to put inside the elements that appears on your console and what is the name of the element that goes inside the opening and closing tags syntax. Once you have worked out the text, it needs to be exact, the tests are case sensitive.
You need to change your element names to lower case.
You need to remove the heading “text” from your closing tag for the head element.
Your title opening and closing tags should be nested within your head element. The question says which is the text to put inside the title element.
I think the easiest way to explain this is, any elements that you need to use within this go within the head element. Remember you open and close these elements as you have before in pr IOUs lessons.
Next, the title element is an element inside the head element. It is not a part of the element. It is a separate element inside. So you would use your text
Note the way the the elements are constructed.
this is what is termed nesting. It is also what you have done with the tags .
I hope this helps to break it down for you.
Some instructions can be difficult to interpret. Always take time to read and understand them.
You are doing great, keep going.