I don't know how to add an image border of 1px in css


#1


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


Replace this line with your code. 
h1 {
    Font-family:Verdana, sans-serif;
    color:#576D94;
}

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

body {
    height:100px
    width:300px


#2

so simple :slight_smile:

just add

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

for h1 tag you just wrote h1 for p tag you just wrote p same for image img :slight_smile:

and remove body tag it''s for body

body {
    height:100px
    width:300px

#3

thanks
I have passed that lesson now! :slight_smile:


#4

Go ahead :slight_smile: happy coding!!!!


#5

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