Question

So I am working on this portfolio website thing. It's my first time writing HTML and CSS without much of a layout template. I seem to have run into an issue that I can't seem to get a hold on. The links in the container have become un-clickable. No idea how to fix this since this is my first time with something like this.

I am assuming it has something to do with z-indexing, but I don't know what or where the issue actually is. :s

Thanks in advanced.

To test this, try clicking the link labeled "Getting Started".

Was it helpful?

Solution

Your HTML

<div id="home" class="tab-pane fade in active">
    <a href="http://google.com"></a>
</div>

Your JS custom.js

$('#home a').click(function (e) {
  e.preventDefault() // <---- this is why clicking it doesn't work

http://api.jquery.com/event.preventdefault/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top