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

HTML Basics Forum

View Course » View Exercise

216 points
0fe5eead65df6e22c4d5e2e903e47c83?s=140&d=retro
Submitted by
shaun ryan
about 3 years ago

Help the editor wont pass me

I keep getting this error no matter what code i use..

Oops, try again. Make sure you have 3 elements. One should be a just a link, one should be just a picture and one should be a picture with a link!

I even copied and pasted some code from the forum and it still doesnt work!
heres what I used:
FYI I had to remove the begining "<" from the tags otherwise it wouldnt show the code. however the "<" are included in each tag of the actual code I used
!DOCTYPE>
html>
head>
title>
/title>
/head>
body>
a href="http://hdwallpaper.com">
img src="http://hdwallpappers.com/images/wallpapers/Cougar-animal-wallpaper.jpg" />
/a>
img src="http://hdwallpappers.com/images/wallpapers/Cougar-animal-wallpaper.jpg" />
*
/body>
/html>
any suggestions?


1 vote

permalink

check here how to post code, might save you a lot of work next time.

you need a link with just a text, your third element is missing.

so add a link to for example google:
<a href="http://www.google.com">google</a>

2822 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 3 years ago

2 Comments

0fe5eead65df6e22c4d5e2e903e47c83?s=140&d=retro shaun ryan almost 3 years ago

Thank you stetim! That was real stumper for me for some reason. Also thanks for the link on how to post. I am sure I will be using that in the future.

593d545c83696644420003b7_64554016 stetim94 almost 3 years ago

no problem. that would be great, if everyone posted there code corectly it would be so much easier to help people (some people dont check that their code isn't even visible)


0 votes

permalink

how about mine
<!DOCTYPE>

google


google


240 points
2fee2688f9daab73d66bdef908d71340?s=140&d=retro
Submitted by
erik123456789
almost 3 years ago

1 Comment

593d545c83696644420003b7_64554016 stetim94 almost 3 years ago

you didn't check how to post your code. see link in my first answer. if you update your code, please leave a comment so i get a notification.