Hey it’s me again. This time I have a question about this piece of code:
<a id="search_link1" href="#" class="btn btn-default" role="button">Search result 1</a>
Link to the actual Codepen is: https://codepen.io/glennqhurd/pen/oomXmq?editors=0010
What I’m trying to do is use buttons that when clicked redirect the user to a Wikipedia page. If I use this:
<button href="example_URL" class="btn"></button>
I get a very nice looking button object but it doesn’t link properly. When I use the above example w/
<a> tag then the link works fine but it’s a strict text link instead of the button I want. I looked up online at Stack Overflow and they suggested the syntax I was using in the very first code example but it’s still not working as intended. I’m so close to getting this done, after I get the buttons to work with the search function I’m going to add a continue search button below the 10 choices so you can move on to the next options. Just have to get past this hurdle!