문제

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

도움이 되었습니까?

해결책

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/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top