Adding Images in html question 11


#1

Hi, I've tried everything to get past this one. Even my teacher is confused. I think I've typed everything right, and the pictures show up. It keeps saying, "Oops...try again."
My code is as below:










#2

if you edit/update your question, leave a reply so i get a notification. Your code is not visible, take the following steps to make it visible:

Also, make sure you have a space between .jpg" and />, it is xml syntax and needed to pass the exercise


#3

2 posts were split to a new topic: 11. adding images


#4

it's keeps telling me (oops try again ) i don't know why i'm gonna CRAAAAAAZY
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg" />
<img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg"/>
</body>
</html>
indent preformatted text by 4 spaces`


#5

you need xml syntax in this exercise, which means you need a space between .jpg" and />


#6

am stuck with lesson 11,i think am putting it correct but it keeps telling me to try again,please healp


#7

please create a new topic with your code + error message + question so someone can help you


#8

<!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>

Oops, try again. Your tag needs an image url in place of the ...


#9










indent preformatted text by 4 spaces

Oops, try again. Your tag needs an image url in place of the ...


#10

breaking your image url (first image) by hitting the enter key is a bad idea. remove it


#11

Thank you stetim94. Now it's working.


#12

breaking your url means?? like i cant extend it further in that line so what else to do


#13

good url:

https://google.com/

broken/extended url:

http://go
oogle.com/

you can't just insert a enter/space in it, i mean entering this:

http://go oogle.com/

wouldn't work when you open it in firefox/chrome.


#14

Thank you! I tried several URLs, never noticed I had no space. now it works