5.4 exercise


#1

Hi, i'm on make a website and stuck at instruction 4 rgb color
When i run it with the change it does change the color but doesn't work because the mark on the instruction still red and i can't find the mistake

this is the code

body { height: 100%; margin: 0;
text-align: center;
width: 100%;}

h1 {font-size: 32px;
font-family: Palatino, 'Palatino Linotype', serif;
color: rgb(46,105,163)}

h2 {font-size: 32px;}

.hero {
padding: 250px 0;
margin: 30px;
}

p {

}

.hero a {
color: rgb(46,105,163);
font-size: 24px;
text-decoration: none;
}


#2

I have a similar issue, just the instruction before, it just doesn't finish and doesn't let me go further even though the code is right (or I can't find any mistakes)


#3

i know, i've been trying with differences in the code but still can't solve it :frowning:


#4

i did it! its about changing hex to rgb on h2 too!


#5

I wouldn't say it was under h2 but it was under the second hero, there was a second hex. Thanks for the heads up on that.


#6

Thank you that's what is was.


#7

Make sure you have a semi colon at the end of the code
color: rgb(46,105,163);