This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

584 points
925c0706bfb143acdc5f6df26447de5d?s=140&d=retro
Submitted by
KAROL
almost 3 years ago

it works but I still have an error

Here is my code:

    <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />

    <img src = "http://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg" />

And i still have that error:

Oops, try again. Your tag needs an image url in place of the ...
how to solve this? :)


2 votes

permalink

I solved this by just adding a space before the "/>" Just copy paste this over your own body tags.
<body>
<img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
<img src="http://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg" />
</body>

251 points
55e25fb286f552b44f00065d_80171254
Submitted by
Adrian
almost 3 years ago

3 Comments

Picture Baldvin Ómar over 2 years ago

thanx it was driving my nuts

54f162c882ff4d9ac39945e24470b268?s=140&d=retro bobbyperson over 2 years ago

THANK U SO MUCH

546e24d49c4e9d7d6e000603_523112742 s117635 over 2 years ago

OMG THNX SO MUCH :D


1 vote

permalink

This Works and will at least give you a Green Light. As we see by the comments in this Q&A many a correct syntax is rejected by this exercise looking for /> when it is in the markup and laid out properly.

    <!DOCTYPE html>
    <html>
        <head>
            <title></title>
        </head>
        <body>
            <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
            <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
            <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
            <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
            <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
        </body>

</html>

530 points
530bf364548c3519e10002df_383088503
Submitted by
Bob Armstrong
over 2 years ago


0 votes

permalink

same here

108 points
Picture
Submitted by
Baldvin Ómar
almost 3 years ago


0 votes

permalink

Same, must be a site glitch. I have mine now just saying "oops try again" with no reason for why I can't pass the lesson. I would suggest moving on and not worrying about it, that's what I did.

473 points
Be35c3d69f86260d677585949246a0bd?s=140&d=retro
Submitted by
dholzman
almost 3 years ago


0 votes

permalink

Same problem here.

<body>
    <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
    <img src="http://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg"/>
</body>

207 points
7fc30316e4ced33dca054d4dd3951475?s=140&d=retro
Submitted by
ko rock
almost 3 years ago


0 votes

permalink

Yep. Same problem.

332 points
53fb52a3631fe9187c00a56f_948322694
Submitted by
Liz H
almost 3 years ago