Setting href to # still does not work.
See original GitHub issueChallenge Make Dead Links using the Hash Symbol has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 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">
<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>
Ideally this should work . I dont know why it isnt working. Chrome version : Version 50.0.2661.94 (64-bit)
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
<a href="#..."> link not working - Stack Overflow
My approach was to just set it's height to 0. In order for the height to be effective, the anchor tag's display property...
Read more >Hyperlinks not working in Outlook? How to make links open ...
If hyperlinks are not working in your Outlook, follow these solutions or download a fix and you will be able to open links...
Read more >"HREF" with URL's and Sub Links "not working" issue [Resolved]
Meaning - that if one used the "href" tag to point to another page and/or url and the user clicks on the link,...
Read more >I Can't Get My Hyperlink to Work - Small Business - Chron.com
If the hyperlink doesn't work correctly, troubleshoot the problem by checking the link address, link format and program settings.
Read more >Links in HTML documents - W3C
When the A element's href attribute is set, the element defines a source anchor for a link that may be activated by the...
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 FreeTop 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
Top GitHub Comments
I had the same problem with this challenge. It did work after two refreshes, but I think there’s still an issue here. (Using Chrome 50.0.2661.102 on a MacBook with El Capitan. Started by working through from the previous challenge, and got no feedback at the point that I clicked Run Tests. Ctrl-Enter didn’t work either. Did a “Reset” with the button in the layout, and tried a second time, but still had the same problem. Did a hard reload by using the keyboard shortcut of Command-R, which launched in a new tab. This carried my code forward, and in the new tab, “Run Tests” was successful.)
@swapy I can’t seem to reproduce this. Your code works for me and looks correct to me. Have you tried resetting your code and trying again?