Adding an attributeTurn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor's href attribute val

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.

Welcome to the forum @peternyakego12

For step 12 of the Cat Photo App, the anchor element needs to nest the target words in the paragraph element.

Please reset the step to restore the original code.

Then place the opening anchor tag before the word cat in the paragraph element.

Then close the new element by placing the closing anchor element after the word photos.

Don’t forget to add the href attribute.

Here is an article explaining how to link text and images inside nested elements you may find helpful.

Happy coding

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