Showing 2 Result(s)

Basic Javascript concepts – vol 1

Comments in Javascript: There are two ways to comments on Javascript. Single line comment and multiline comment. To start with a single line comment in one line. here is the sample: //This is single-line comment Multiline comment means you can comment through two to more lines you want. sample is: /*This is multiline comment */ Variable in JavaScript: we can …

js-console

All about the console – Javascript

We can see an immediate result of our code on the console. Also, we can send errors, warnings, and info too. Here is how to do that To open the console on the browser open a new tab. After that, right-click to mouse and click on inspect element. You can do it using a keyboard. The shortcut for mac is …