Learn Basic CSS by Building a Cafe Menu - Step 22

i don’t know how to comment out of the line background-color: burlywood;

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Cafe Menu</title>
    <link href="styles.css" rel="stylesheet"/>
        <h1>CAMPER CAFE</h1>
        <p>Est. 2020</p>
/* file: styles.css */
body {

/* User Editable Region */

  background-color: burlywood;

/* User Editable Region */


h1, h2, p {
  text-align: center;

div {
  width: 300px;

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

Do you see the example comment in the instructions? Do you see what goes before the comment and what goes after? That’s what you use to turn anything into a comment.

/* div /
background-color: burlywood;
div */
This is the code I use yet have cant get past this step, I’ve also tried using it only before or after and that hasn’t worked either

i meant to put /* div */

Can you explain why you are adding divs in the comment? Yes, the instructions mention a div but that really has nothing to do with what the instructions are asking you to do:

“In your style sheet, comment out the line containing the background-color property and value”

Based on the instructions, how do you turn something into a comment?

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