I tried adding some simple JS functionality to my page at CodePen, but I just can’t seem to get past this one problem: the one link in my CodePen-page just goes to a white page for some reason. I have no idea why this even happens. I tried adding preventDefault()
, but that didn’t work either.
What have I done wrong? All my other links goes to nothing, as they should. It’s just this one link in my mobile layout. Not even the console log works, strangely enough.
Codepen: https://codepen.io/wostensen/pen/jarJVB/