Fashion-blog question

You must select a tag to post in this category. Please find the tag relating to the section of the course you are on E.g. Forms, Structure

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

https://www.codecademy.com/paths/learn-how-to-build-websites/tracks/build-websites-intro/modules/learn-html-elements/projects/html-fashion-blog
NYFW.txt (2.1 KB)
I have an issue with adding a link in line 10/11 for some reason the link is not coming up. There might be an issue in the syntax of the code but I can’t find it. Any help you can offer would be much appreciated. Thanks in advance.

I have uploaded the code , please open the notebook.
NYFW.txt (2.1 KB)

Double check the brackets for the anchor and href tags.
Ex:


<a href="https://blah.com/something/a-href/">Some text here</a>

1 Like

Your <a> tag seems to be split over two lines, which seems to be causing the error (each tag, i.e, an opening <a> tag, or a closing <div> tag should only span one line).

1 Like

I have managed to get the link working by putting the opening <a tag and the href="…> link on one line.

1 Like

I got two responses and they were both good. They link is working as it was intended. Thank you to both of you.

2 Likes