25. Size and borders

I don’t understand why I’m getting error…,-

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?.

```

html file-

Result

Don't Stop Dreaming!!!

Don't Stop Dreaming!!!

CSS-

h1 {
font-family: Verdana, Sans-Serif;
color: #576D94;
}

p {
font-size: 18px;
color: #4a4943;
font-family: Garamond, Serif;
}

img {
height: 100px;
width: 300px;
border: 1px solid #4682b4;

<do not remove the three backticks above>

I’m having the same problem.

I am having the same problem as well – I can clearly see that my border is the correct color and type, but the system is not letting my proceed.

border: 1px solid #4682b4;

Did you remember to type in your ending bracket below this last line? It should look like this:

border: 1px solid #4682b4;
}

Hope it helps!

Okay I just fixed it by switching browsers (went from Firefox to Microsoft Edge).

Maybe you should try the same?

I’ve been told to try resetting the zoom of your browser with Ctrl + 0 on PC or Cmd + 0 on Mac. Then see if the exercise passes.
If the screen is zoomed in, then the px border will look larger than it would when the screen is at the default zoom.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.