Tell us what’s happening:
Hi I got error with body should have background color I try to change position, rewrite code and try hard refresh already when press test it still fail.
When check with console this has been popup :
// running tests
- body should have a background color of #f4f4f4.
// tests completed
So can anyone please help check?
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">
<link rel="stylesheet" href="styles.css" />
</head>
<title>Colored Boxes</title>
<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: 90px;
height: 90px;
}
.color1 {
background-color: #f456f2;
}
.color2 {
background-color: rgb(34, 193, 100);
}
.color3 {
background-color: lightblue;
}
.color4 {
background-color: hsl(50, 50%, 50%);
}
.color5 {
background-color: #ff00ff;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Challenge Information:
Design a Set of Colored Boxes - Design a Set of Colored Boxes