My First Crypto App

I’ve created a simple and nifty crypto market watch app for my Advanced JavaScript boot-camp course at HackerYou. Using the CoinCecko API I am pulling the top 3 crypto markets with the overall fear and greed index for Bitcoin. It has has the top losers and gainers for the top 10 markets as well as the top 100 markets.

My initial idea was for dividend stocks but I couldn’t find a good free financial api – the main goal of the app is to see the top losers for the day and make it easier to decide on buying the crypto-currency you’re watching.

Check it out here:

Upgrading Bootstrap 3 to Bootstrap 4 with a Shim JS

When I was looking to upgrade a few past projects that I built on Bootstrap v3 to the latest version of Bootstrap, I’ve found it not as easy as it should be. Upgrading to Font Awesome 5 gave me an idea which I found no results online; I did find that it was previously brought up on GitHub but it was turned down by developers for the lack of time.

So I went online looking if there was a simple solution created by someone else but found none, so I’ve decided to create my own.

Following a medium article Migration from Bootstrap 3 to Bootstrap 4 by Łukasz Holeczek I’ve wrote a quick script that would go through the DOM finding previous Bootstrap 3 classes and making changes to match Bootstrap 4 classes.

While it is definitely not perfect, it works pretty well for the few projects I’ve used it in. There are areas where it is needed to update the classes manually and a few things that could be improved on; such as the input groups prepends/appends.

Bootstrap Shim Input Groups

I am open to suggestions and curious to see what people think of it, if you would make use of something like this? Let me know with the comments below, feel free to use and modify the code any way you wish.

If you are looking to migrate Bootstrap 3 to 4, you can view the project here: