Href="#" doesn't work
See original GitHub issueChallenge Make Dead Links using the Hash Symbol has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}
p {
font-size: 16px;
font-family: Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
.smaller-image {
width: 100px;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p>Click here for <a href="#">cat photos</a>.</p>
<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">
<p class="red-text">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 class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
My a href doesn't work in my ul html5
I have used the HTML5 validator and my code passes. Here is my html file - when I load it in Chrome, Safara...
Read more >[SOLVED] Href not working? - HTML & CSS
Hi everyone, I wanted to add a little feature to my webpage, where I have the banners, so that just by click redirect...
Read more >"a href" not working - HTML-CSS
I am trying to use social media icons on my page, but for some reason they do not work. I have included a...
Read more >My clickable link doesn't work
Yes, in my code i put a clickable link first and a image second but the clickable link never appears in the submitted...
Read more >Anchor link doesn't work - General
Hello, I use the css snap for scrolling (in the home file) and I want to link a snap (a section) with anchor...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@glaucia86 your code worked for me. Try copying your code (for safe-keeping) and then refreshing the browser page? Or try a different browser perhaps.
Hi @systimotic I did what you told me… I just refreshing my browser and worked it!! I will close this issue!!
You guys are awesome!
Thanks a lot!
Glaucia Lemos #