- Javascript Interaction Functions
Alert function The alert() method displays an alert box with a specified message and an OK button. An alert box is often used if you want to make sure information comes through to the user.The alert box takes the focus away from the current window, and forces the browser to read the message. Do not…
- Javascript Arrays
JavaScript arrays are used to store multiple values in a single variable. If you have a list of names, storing the names in single variables look like this. var name1 = “Folau”; var name2 = “Kinga”; var name3 = “Laulau”; var name4 = “Tonga”; var name5 = “Isi”; However, what if you want to loop […]
- Javascript String
JavaScript strings are primitive values. JavaScript strings are also immutable. It means that if you process a string, you will always get a new string. The original string doesn’t change. Strings are used for storing and manipulating text. To create a string, you can use single quote or double…
- Javascript Callback Function
A callback function is a function passed into another function as an argument, which is then invoked inside that function at a later time. JavaScript statements are executed line by line. However, with effects, the next line of code can be run even though the effect is not finished. This can create…
- Javascript Introduction
Javascript was created to make web pages responsive. With Javascript you’ll be able to create reponsive web pages, games, animated 2D and 3D graphics, comprehensive database-driven apps, and much more. Today, JavaScript can execute not only in the browser, but also on the server, or actually on any…