Error message even with correct code


#1

I get the following error message even though I've included the correct color:

"Oops, try again. It looks like your border-color isn't #0000FF."

Any idea how to skip to the next page?

Here is my code:

h3 {
border: 1px dashed #0000FF;
}

img {
border: 1px dashed #0000FF;
}

p {
border: 1px dashed #0000FF;
}


#2

which exercise is this?


#3

the first one in css positioning.


#4

it ask you to use the universal selector (*), not p, img and h3 as css selectors


#5

There are two problems, p, img and h3 are not all elements (you miss html and body) and SCT (submission correctness test)(the script that checks your code, expect the universal selector, then something not completely relevant to this question, but you can write this:

h3 {
    border: 1px dashed #0000FF;
}

img {
    border: 1px dashed #0000FF;
}

p {
    border: 1px dashed #0000FF;
}

as:

h3,p,img {
    border: 1px dashed #0000FF;
}

saves you a few lines


#6

ahhh. That's it. Thank you!


#7

Hi there,

Could you please tell me what is wrong with this answer?

*{
border: 1px dashed #0000FF;
}

It would correspond to the same exercise. It it is asking for an universal selector, why canĀ“t I use *{? Thank you all for your help!!!

Lorena


#8

Ah, I forgot, the error message is:

Oops, try again. It looks like your border-width isn't 1px.


#9

Set your browser zoom to 100% (ctrl + 0 or cmd + 0 for mac)


#10

Brilliant! Thank you!! It worked. Why?


#11

Wow, the third time i get that question in 5 minutes, nothing wrong with that, is good question, but i am going to point you to my answer here, hopes it helps