FCC Challenge 23: Make Dead Links using the Hash Symbol
March 09, 2016
In Free Code Camp Challenge 23 we can create links that doesn’t lead to any actual web page, called dead links.
Sometimes you want to add a elements to your website before you know where they will link.
This is also handy when you’re changing the behavior of a link using jQuery, which we’ll learn about later.
Replace the value of your a element’s href attribute with a #, also known as a hash symbol, to turn it into a dead link.
[html highlight=”30″]
CatPhotoApp
Click here for cat photos.
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.
[/html]The modified code with dead link should look like:
[html highlight=”30″]
CatPhotoApp
Click here for cat photos.
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.
[/html]