question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Href="#" doesn't work

See original GitHub issue

Challenge 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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
dhcodescommented, Jan 6, 2017

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

2reactions
glaucia86commented, Jan 6, 2017

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 #

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found