Tell us what’s happening:
Describe your issue in detail here.
I don’t know what should I do here:
This is the part
“Comments in CSS look like this:In your style sheet, comment out the line containing the background-color property and value, so you can see the effect of only styling the #menu element. This will make the background white again.”
(This is what I had done)
/* styles.css */
#menu {
width: 300px;
}
Body{
background-color: burlywood;
}
H1, h2, p{
text-align: center;
}
You should comment out the background-color: burlywood; line in your CSS.“
I need help
Your code so far
/* file: index.Ext.html */
/* styles.css */
#menu {
width: 300px;
}
/* Commented out the background-color for the body */
/* Body {
background-color: burlywood;
} */
body {
background-color: burlywood;
}
h1, h2, p {
text-align: center;
}
/* file: styles.Ext.css */
/* styles.css */
#menu {
width: 300px;
}
/* Commented out the background-color for the body */
/* Body {
background-color: burlywood;
} */
body {
background-color: burlywood;
}
h1, h2, p {
text-align: center;
}
Your mobile information:
iPhone - iOS16.6
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 22
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
Thanks!
Now it said that my background should be white- “Your body should have a white background”
If I change it to white
It said that’s not okay
I’m stuck at this part
Only add the /* what you are commenting out should be here */
This will not affect any previously completed steps. But, it will help you pass this step if you only place the comment tags on each side of the existing background-color and its value.
I have noted in the quote where things need to be changed so when you reset the step you will already know what needs to happen to pass the step.