Idk
Your code so far
/* file: index.Ext.html */
h1, h2, p {
text-align: center;
<body>
color: brown;
</body>
}
/* file: styles.Ext.css */
h1, h2, p {
text-align: center;
<body>
color: brown;
</body>
}
Your mobile information:
iPhone - iOS17.1
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 18
Link to the challenge:
Learn to Code — For Free
Syntax of CSS for background color.
Ex:
<!--target a class name whith a dot...-->
.className{
background-color:red;
}
<!-- target a element by its name -->
button{
background-color:blue;
}
You should target the whole page by using the body selector.
Ex:
body{
value:attribute;
}
hope this helps!
1 Like
Silentg393:
Idk
Please make an effort to talk with us about how you are stuck. Communication is a critical coding skill and the more you say, the easier it is to help you!
4 Likes
XEnIX
November 9, 2023, 4:11am
4
Exactly people need to put a little more effort so we can help them