Trouble adding link attribute -NEWBIE

I would appreciate a push here, cannot seem to solve for the link attribute.
Added text-success, but the link (second attribute) is not succesful.
What am I missing?

<h2>CatPhotoApp</h2>
<main>
<a href="https://freecatphotoapp.com">Cat photos</a>
<a href="https://freecatphotoapp.com"></a>

NashCat

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

markdown_Forums

Are you missing your closing main tag? (</main>)

Thank you for the direction on entering code with backticks.

I do have a closing main tag() below the text.
Would the the editor reject the entry if my browser had blocked the link for security reasons?
For instance, when I put the link in another tab, I see a security message.
thoughts?

What do the failing tests say? There should be red :x:s next to one or more requirements.

…
// running test
You need an a element that links to http://freecatphotoapp.com
// tests completed
…

Ah. This is the sort of thing that will get you often as a programmer. The requirement is to link to the url "http://freecatphotoapp.com". You are linking to "https://freecatphotoapp.com".

“Doh!”
He says sheepishly.
Been staring at this for two days.
Thank you.

image

1 Like