Design a Set of Colored Boxes - Design a Set of Colored Boxes

Tell us what’s happening:

The number 6, 7 and 9 is not passing, please help with the solution to this

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Colored Boxes</title>
    <link href="styles.css" rel="stylesheet">
</head>
<body>
    <div class="color-grid">
        <div class="color-box color1"></div>
        <div class="color-box color2"></div>
        <div class="color-box color3"></div>
        <div class="color-box color4"></div>
        <div class="color-box color5"></div>
    </div>
</body>
</html>
/* file: styles.css */
body {
  background-color: #f4f4f4;
}
.color-box {
  width: 100px;
  height: 100px;
  padding: 10px;
  margin: 10px;
}
.color1 {
Background-color: #f456f2;
}
.color2 {
background-color: RGB(255, 127, 54);
}
.color3 {
background-color: grey;
}
.color4 {
background-color: HSL(23, 50%, 40%);
}
.color5 {
background-color: brown;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Design a Set of Colored Boxes - Design a Set of Colored Boxes

You have capitalized CSS properties and functions.

i changed it, still not going through

Post your updated CSS please.

body {

background-color: #f4f4f4;

}

.color-box {

width: 100px;

height: 100px;

padding: 10px;

margin: 10px;

}

.color1 {

Background-color: #f456f2;

}

.color2 {

background-color: rgb(255, 127, 54);

}

.color3 {

background-color: grey;

}

.color4 {

background-color: hsl(23, 50%, 40%);

}

.color5 {

background-color: brown;

}

This one is still capitalized.

1 Like