Tag Archives: console

JavaScript errors, our friends

Hello and welcome back,

today’s lesson is quite important because it is quite impossible to know if something is not correct unless someone tells us about it.

Over the last few articles we figured out that our browser is the only one who runs our code. So, he is the only one who can tell us if we have errors or not.

In order to figure out how to reach the JavaScript console in your own browser you can google:
“how to open JavaScript console xxxxx” where “xxxxx” is your browser’s name.

In order to make sure you are in the right place. As soon as you are done following the instructions write alert(“the console is working”); . If a message box pops up to you, you made it!

If not, please leave a comment bellow and I will do my best to help you out.

Tomorrow we will recap the current structure of our project and we will learn how to use jQuery.

Take care,
Gabi