11. Adding Images


#1

When to procced to next lesson it keeps saying "oops try again" what am i doing wrong?

screenshot of my work

...


#2

You need to add a space between your image link and your /> for your second image code.


#3

Why does it need a space?


#4

It's the syntax for all self closing HTML tags eg. <br /> and any void elements.


#5

I did and it says that my image is blank, but everything appears fine.


#6

May I see your code?


#7

thank you man very much...stupid thing


#8

I realized that the image source had an excessive amount of letters. I changed it to this and it works.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<img src="https://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
<img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg" />
</body>
</html>


#9

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