Your opening <div> tag should have an id attribute set to menu.
The instructions ask you to:
The div element is used mainly for design layout purposes unlike the other content elements you have used so far. Add a div element inside the body element and then move all the other elements inside the new div.
Inside the opening div tag, add the id attribute with a value of menu.
You do not appear to have added the div element to the body element in the html file.
I am also befuddled by the behavior where repeatedly when I attempted to just copy and paste the above styles.css code within my reply, the texts after the opening curly braces were left blank (omitting the most important code in question beginning with “<div id=”).
You can’t write html in the css
you need to add the attribute to the existing element in the html
for the code disappearing, you are using a browser, the html is interpreted and the result displayed, you need to format as code for the html to not be interpreted:
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.
If you try want to post the code you have in your response, you can do this by placing three ``` back ticks before and after the code you wish to share with the community.
As both of the previous posts have explained, we cannot place html which uses the <element name> within the CSS styles code selectors.