Tell us what’s happening:
Hello Community,
My code passed but I have additional questions. Since it’s mentioned primary colors can be combined to create pure white, I changed my code for this step to (255, 255, 255) out of curiosity and, guess what, it didn’t create white! The color turned lighter, but it’s not white. Please advise on this. Thanks!
Jackie
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 Markers</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>CSS Color Markers</h1>
<div class="container">
<div class="marker one">
</div>
<div class="marker two">
</div>
<div class="marker three">
</div>
</div>
</body>
</html>
/* file: styles.css */
h1 {
text-align: center;
}
.container {
background-color: rgb(0, 0, 0);
padding: 10px 0;
}
.marker {
width: 200px;
height: 25px;
margin: 10px auto;
}
.one {
background-color: rgb(255, 0, 0);
}
/* User Editable Region */
.two {
background-color: rgb(255, 255, 255);
}
/* User Editable Region */
.three {
background-color: rgb(0, 0, 255);
}
Your browser information:
User Agent is: Vivaldi 6.8.3381.48 (Stable channel) (64-bit)
Challenge Information:
Learn CSS Colors by Building a Set of Colored Markers - Step 26