CSS lesson 25 - Size and border - Error on Chrome


#1



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


Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?


h1{
    font-family:Verdana, sans-serif
    color: #576D94
}
img{
    height: 100px
    width: 300px
    border: 1px solid #4682b4
}. 

<!DOCTYPE html>
<html>
	<head>
	<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
		<a href="https://google.com">
	    <img src="http://bit.ly/NnVbxt"/>
	</head>

	<body>
	    <h1>Selector</h1>
	    <p>This is how it's done
                <a href:"https://google.com">
	        	<img src:"http://bit.ly/NnVbxt"/>
        </p>
	</body>
		
</html>


#2

Make sure your browser zoom is set to 100% (in most cases, this can be achieved by ctrl + 0 or cmd + 0 for mac)

Otherwise, try a different browser. The browser zoom affects the border-width


#3

Zoom is set to 100%!


#4

You are also missing quite a few semi-colons. In fact, they are all missing


#5

h1{
font-family:Verdana; sans-serif;
color: #576D94
}
img{
height: 100px;
width: 300px;
border: 1px; solid #4682b4
}

Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?

Problem persists.
Any other ideas?


#6

placing the semi-colons at the right place, they should always be on the end of the line:

font-family:Verdana; sans-serif;
border: 1px; solid #4682b4

both these lines are wrong, the backup values for font-family are separated by comma's (,), which you did fine first.

the border property has 3 values separated by spaces, and a semi-colon at the end


#7

h1{
font-family:Verdana, sans-serif;
color: #576D94
}
img{
height: 100px;
width: 300px;
border: 1px; solid; color: #4682b4;
}
Problem persists.


#8

i said: the values are separated by spaces, and a semi-colon at the (very) end:

border: 4px solid red;

#9

h1{
font-family:Verdana, sans-serif;
color: #576D94
}
img{
height: 100px;
width: 300px;
border: 1px solid #4682b4;
}

Problem solved. Thank you!