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

HTML Basics Forum

View Course » View Exercise

49 points
03c4d8d1308046ae7cad3b8c51991b2f?s=140&d=retro
Submitted by
novice_coder
about 3 years ago

Trouble with lesson 12/14

I am having trouble with excercise 12/14. The error message when i submit my code says "don't forget and . I thought i put them in the right place. here is my code:

<!DOCTYPE html>
<html>
    <head>
        <title></title>
    </head>
    <body>
        <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
        <img src="http://media-cache-ec0.pinimg.com/736x/44/a1/e9/44a1e92465f88dacad26870feec71dea.jpg" />
        <img src="http://media-cache-ec0.pinimg.com/736x/e1/d8/42/e1d842e0953f3fccb868b89ed9192541.jpg />
<a href="http://codecademy.com">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRmA1iXqP3LCrXJR7SM7BMH8DCDtziX_Y_oQ-SWHko8-DPjr-dIM80aJg" /> 
</a>
    </body>
</html>

Please tell me what i am doing wrong or missing.


5 votes

permalink

This worked for me very well:

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

905 points
54117b089c4e9da126001402_155391577
Submitted by
virtualarrow
almost 3 years ago

2 Comments

54f3c2eb86f55205210058af_351749329 Tony over 2 years ago

thanks it worked but didnt i need to start with ?

67c2aa8e16c0cac6e83b149ad37870ae?s=140&d=retro Sahibdeep Singh over 2 years ago

I got this:
<!DOCTYPE html>









-1 votes

permalink

Can you post your code? check here how to display your code

2455 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 3 years ago


-1 votes

permalink

The smiley face link part of your code works. Nothing wrong. Tested it. Displays smiley facey and leads to Codecademy's home page.

198 points
8913bf871eec1ebeb9f1cae8a40c6f90?s=140&d=retro
Submitted by
Praneel Sachindra Chand
about 3 years ago


-1 votes

permalink

You forgot the closing quotation mark of the third image.
this:
img src="http://media-cache-ec0.pinimg.com/736x/e1/d8/42/e1d842e0953f3fccb868b89ed9192541.jpg "

instead of this:
img src="http://media-cache-ec0.pinimg.com/736x/e1/d8/42/e1d842e0953f3fccb868b89ed9192541.jpg

format is not correct, because it allows me to make the " bold.

here is how it should be (formatted right):
<img src="http://media-cache-ec0.pinimg.com/736x/e1/d8/42/e1d842e0953f3fccb868b89ed9192541.jpg" />
this is you third image.

2455 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 3 years ago