How to find href value?

Tell us what’s happening:
i need help bc im confused on where to or how to find the value of the href value

Your code so far


<h2>CatPhotoApp</h2>
<main>

<a #footer="https://freecatphotoapp.com" >jump to bottom</a>

<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. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. 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. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
<p>Meowwww loved it, hated it, loved it, hated it yet spill litter box, scratch at owner, destroy all furniture, especially couch or lay on arms while you're using the keyboard. Missing until dinner time toy mouse squeak roll over. With tail in the air lounge in doorway. Man running from cops stops to pet cats, goes to jail.</p>
<p>Intently stare at the same spot poop in the plant pot but kitten is playing with dead mouse. Get video posted to internet for chasing red dot leave fur on owners clothes meow to be let out and mesmerizing birds leave fur on owners clothes or favor packaging over toy so purr for no reason. Meow to be let out play time intently sniff hand run outside as soon as door open yet destroy couch.</p>

</main>

<footer>Copyright Cat Photo App</footer>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13099.110.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.136 Safari/537.36.

Challenge: Link to Internal Sections of a Page with Anchor Elements

Link to the challenge:

Hey @alexander.elliott478. The href value in this challenge is the id of the footer element. Your code is wrong and needs to address these issues:

Change the #footer in this code to href and assign #footer as the value. The extra space after the value is not needed. The text “jump to bottom” needs to be “Jump to Bottom”.

Then, add an id attribute to the footer element and give it a value of footer. Now you will pass the challenge.

If you don’t understand this challenge at all, I will explain it:

  • This challenge is about creating a link that allows you to navigate to internal sections of your webpage rather than external links.
  • To create an internal link, you need to add an id attribute to the desired element you want the anchor tag to link to.
  • After creating the id, you need to assign the value of your anchor tag’s href attribute to #idname where idname represents the id of the element you are linking to.
  • Now you will have a working internal link

Hope this helps

omg thank u man bc every other time i’ve asked for help the administrators would literally ask me questions when i told them clearly i didn’t understand it thx a lot :smiley:

Glad to hear it :blush:

no problemo man have a good day

nope wait still confused

What’s the issue or doubt?

the “Then, add an id attribute to the footer element and give it a value of footer . Now you will pass the challenge.” part where would that be inputed or the ‘idname’

The id attribute should be added to the existing <footer> element. It should have the value of footer:

<footer id="footer">Copyright Cat Photo App</footer>

like at the end of the sentence???

See my updated reply above

but i thought it should be The id attribute should be added to the existing <footer> element. It should have the value of footer :

<footer id="footer">Jump to Bottom</footer>
```???

Hey @alexander.elliott478.
Your footer element’s text should not be changed! You need to add “Jump to Bottom” to the <a> tag. Also, no content is needed after the footer element.

ok so the footer goes to the bottom of the page ok got it now im not confused at least im sure lol

The challenge requires you to create a link that will navigate to the footer element. Hope you understand it now. If not, I will give the solution code.

ive lost my entire a tag…

im left with this of it —a =“https://freecatphotoapp.com” >jump to bottom-----

thx passed the test all done

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

Hey @ilenia. I tried maximum not to share the full solution, but he couldn’t understand that challenge. That’s why I decided to share the full solution. So, should I delete that post?
Thanks.