My code works and passes, however I feel that the text in the web page should not be “clickable” once the change is made. Click here to view more cat photos. Once I change the code, I can still click the link and it brings me to the same assignment, just on a new tab.
<p>Click here to view more <a href="#" target="_blank">cat photos</a>.</p>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
For future posts, it is a lot easier to get help, and help, if you use the Get Help button on the lesson itself. It will prepopulate a post for you. All you have to do is fill in the blanks.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (
</>) will also add backticks around text.
Note: Backticks are not single quotes.
Would you mind linking to the assignment that you area talking about?
clicking an empty link like that, if you are on page
http://www.website.com/page it will bring to
http://www.website.com/page# - essentially same page
it opens on a new tab for the
target="_blank", delete that part and it will seem to not work
Anchor tags are always clickable. No matter what. By putting a #, you just make it so it doesn’t look like it’s going anywhere. As @ilenia said, the _blank is forcing it to a new tab.