Just before we move further into developing our code, I just want to give you a heads up that as the number of lines of code increases within our dashboards, there will be more chances for incorrect syntax to cause your pages to error or not load correctly. To give an example, the following section will require you to add new libraries into a statement in the JavaScript code. You will need to ensure that all the lines are separated with a comma (,
) and if this does not occur, you will most likely be presented with a dashboard that will not load correctly and look similar to the following screenshot:
The dashboard is trying to load a library that cannot be found, and as a result will simply hang in the Loading state. I will try to do my best to point these issues out to minimize them from occurring, but as your experience grows, you will get used to the errors that you see. This is also where a good code editor will come in handy, as it will help point out potential...