Tell us what’s happening:
I don’t know what I did wrong here what did I do now ’ ?
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 red">
</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(255, 255, 255);
padding: 1255px05;
.marker {
width: 2255px0 height: 25px;
margin: 1255px0to;
}
/* User Editable Region */
.red {
background-color: rgb(255, 0, 0);
.two{
background-color: rgb(255, 0, 0);
.three {
background-color: rgb(255, 0, 0);
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Challenge Information:
Learn CSS Colors by Building a Set of Colored Markers - Step 43
Hello @RichardAwesome ,
RichardAwesome:
.red {
background-color: rgb(255, 0, 0);
.two{
background-color: rgb(255, 0, 0);
.three {
background-color: rgb(255, 0, 0);
The instruction says add 255
to .red
not to others!
1 Like
RichardAwesome:
.red {
background-color: rgb(255, 0, 0);
.two{
background-color: rgb(255, 0, 0);
.three {
background-color: rgb(255, 0, 0);
Also You have deleted closing }
bracket for your each class selector. Reset your challenge and add only max color value 255
to your .red
class selector background-color: rgb(maxValue, 0, 0);
@RichardAwesome
1 Like
Hello there i have tried this step to copy himself it passes for me!
No idea how it works!
1 Like
Yes you are right. I also tried it and it’s passed.
1 Like
it looks like magic to me even pass if it is wrong
1 Like
Hey @Cody_Biggs ! We found a issue with this step, that is passing in the challenge editor, when I and @MrSanyi tried it in incorrect format.
1 Like
Tell us what’s happening:
I got to this step and then i got very confused, like I set red in the rgb function to 255 which is the maximum so what did I do.
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 red">
</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(255, 255, 255);
padding: 1255px05;
.marker {
width: 2255px0 height: 25px;
margin: 1255px0to;
}
/* User Editable Region */
.red {
background-color: rgb(255, 0, 0);
.red {
background-color: rgb(255,0,0);
.three {
background-color: rgb(255, 0, 0);
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Challenge Information:
Learn CSS Colors by Building a Set of Colored Markers - Step 43
Learn to Code — For Free
Looks like you made a lot of unnecessary changes here. Its best if you reset the lesson and try again.
1 Like
system
Closed
October 1, 2024, 9:28pm
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.