Block explorer file explanation

In this section, we're simply going to walk through the index.html file that we created in the previous section. We'll do this to gain a better understanding of what is going on. So, let's get started.

Inside the index.html file, we have all of the HTML and JavaScript code to give the necessary functionality to the block explorer. This code also allows us to hit the API, and lastly, we just have some CSS and styles, which make everything look nice in the browser.

The code begins by importing a couple of libraries, such as angular.js, to hit the API, along with jQuery, Bootstrap, and some Bootstrap styles to make everything functional and aesthetically pleasing:

<head>  <title>Block Explorer</title> <script src=""></script> ...

Get Learn Blockchain Programming with JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.