The following are links to additional questions that our community has asked about this exercise:
This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
Currently there have not been enough questions asked and answered about this exercise to populate this FAQ section.
This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!
Not seeing your question? It may still have been asked before – try searching for it by clicking the spyglass icon () in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post ().
At Linking at Will, the exercise asks to add an image element to the index.html, but the link is to a webpage, not an image. When I click solution to try to see how it’s done, nothing would show up.
See how the image is now in the place of what might normally be link text? An anchor tag will transform any element into a link. I wrote on separate lines but the entire thing can be written on one line, if we prefer.
For now, ignore the target attribute, as that should come up in another lesson. That lets our link open in a new window so we don’t lose our place in the exercise.
Does anyone else have issues remembering what all of the commands mean? I can’t recall what the target=’_blank’ actually means or does.
Could just google it of course… ha.
Yes same thing happened to me. So confused as to why it would tell us to put it in the index but then when u hit solution it has put everything under the media file. not the index. thats where it confused me. Help! can you tell me why it told us to put it in index but then put it in media?!
Hi, is there any way to link text and when you click the text this trigger a click event on a element?
So, let’s say i want to tap to click here and then a click will be triggered to a pardot form …
There are ways, yes; however, that is beyond the scope of these lessons. When you find your way into the JavaScript unit and sufficiently progressed, events will be introduced. Focus upon mastering HTML, and then CSS before taking a segue down this path.
I’m sorry, but I’m not satisfied with this explanation. The instructions for the Linking At Will lesson indicate to alter the index.html link, not the image tag further along in the body. And where did that amazonaws.com link come from? There’s nothing like that in the instructions, just the same wikipedia URL from earlier.
I think I understand the concepts here, it’s just that this puzzle doesn’t make sense to me.
I know I have a long ways to go, so forgive me if the answer is staring me in the face. I’m just getting frustrated.
For anyone still confused about this exercise in 2020…
When they say to wrap the image in the index.html, they don’t mean the relative path under code line no.9 but the general file name - if you look to the top of your workspace you’ll see the name of the sheet is index.html.
There is only one image we’ve put on our page during the course and it’s under Media. So wrap that one up in anchor tag with the url that is given in exercise as a hyperlink reference (href) and add a blank target attribute. And that’s it.