Tribute Page: Hank Aaron

Tribute Page: Hank Aaron
0

#1

I’m looking for some feedback on my Tribute Page. It’s awful simple, I struggled to customize my Wikipedia button for some reason, and I’m wondering if anyone can help me understand why that is.


#2

You’ve done a nice simple job of this that demonstrates some of the fundamentals you’ve learned so far - good job!

What effect are you hoping to achieve with your wikipedia button? I notice you are using btn-primary as your class for the button. There is no rule for that in your stylesheet. btn-primary is one of the Bootstrap classes you can use, but you need to make sure you link Bootstrap to your codepen. You can do that by clicking the cog in the corner of the CSS panel and selecting ‘Bootstrap’ from the ‘quick add’ drop down.

Once you have loaded Bootstrap, be sure to add an extra ‘btn’ to the code, like this:

<a href="https://en.wikipedia.org/wiki/Hank_Aaron">
<button class="btn btn-primary">Wikipedia</button>
</a>

If you are going to load Bootstrap, you can also make use of their img-responsive class to make your image scale nicely on different devices. Check this out: http://www.w3schools.com/bootstrap/bootstrap_ref_css_images.asp


#3

Thanks for the feedback, I completely forgot about the Bootstrap settings.