Exercise 25


#1


https://www.codecademy.com/en/courses/web-beginner-en-TlhFi/4/4?curriculum_id=50579fb998b470000202dc8b#

I'm getting an error message and don't understand why? I've copied and pasted the code directly from the instructions.

Any help much appreciated.


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


#2

You probably forgot to attach the css sheet in the header of your html file.


#3

I'm getting the same error and my stylesheet is linked in my html header.


#4

Hello @hopek, Can you post your code please?


#5

Here is what I have:

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

html:



Result

	<link type="text/css" rel="stylesheet" href="stylesheet.css" />
</head>

#6

It seems to be a bug in the program. I am using Chrome and others were having the same issue. I found the answer that you need to change the zoom to 80% and submit it. I did that and it worked.


#8

Thank you Konaesan! I did that but it only worked when I changed the zoom to 80%. It is all fixed. I appreciate your help.


#9

You are welcome... :thumbsup:


#10

thank you hopek! that was grinding on me.


#11