Trouble adding link attribute -NEWBIE

Trouble adding link attribute -NEWBIE
0

#1

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


#2

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.


#3

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


#4

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?


#5

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


#6


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


#7

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".


#8

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


#9

image