JavaScript is a programming language well known for being a scripting language for web pages but it can also be used for so much more.
There are two ways you can embed your JavaScript code:
There are several ways how JavaScript can be display output to the user.
This function in JavaScript, will display to the user in the form of a pop-up.
This fuction is used to diplay and embed whatever output to the user.
Its an additional window, which is normally not displayed on the web page. This tool is useful for developers, because it helps them debug their code.
Displays a pop-up window provided with text and a textbox for the user to type in.
Boolean —> means true or false
Strings —> words wrapped in quotes
Computers operate using what’s called the binary system,which uses a sequence of 0s and 1s to translate information.
A computer operates in four basic functions: