Learn HTML by Building a Cat Photo App - Step 14

Add a target attribute with the value _blank to the anchor (a ) element’s opening tag, so that the link opens in a new tab.

<p>See more <a> href="https://freecatphotoapp.com"> cat photos</a>in our gallery</p>

where I have to put target=“_blank” ???

Welcome to our community!

I’ve edited your code 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.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like

I’d like to link up if that’s okay with you, I’m in step 12 right now lol so I’m of no real use rn but since we are both starting, maybe we could share some ideas and motivate each other to continue

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.