Learn Basic CSS by Building a Cafe Menu - Step 18

Tell us what’s happening:
Describe your issue in detail here.
When I put;
h1 {
background-color:brown;
}
It says
You should use a body selector.

Your code so far

/* file: index.Ext.html */


h1 {
background-color:brown;
}
    
/* file: styles.Ext.css */


h1 {
background-color:brown;
}
    

Your mobile information:

SM-S901B - Android 14 - Android SDK 34

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

Link to the challenge:

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!

Hello!

This step is asking us to add another selector below the h1, h2, p selector.
The new selector should be a body selector.

Example:

h1, h2, h3 {
property: value;
}

body{
property: value;
}

Happy coding!
6 Likes

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