JavaScript: JavaScript is programming language that is primarily used for scripting web pages to make them interactive. Because this exam assesses understanding of JavaScript in this context, it is recommended to have some background knowledge of HTML/CSS. If you are new to HTML/CSS, we have a study guide for that here.

JavaScript code can be written as internal scripts by nesting code in the HTML "script" element, or as external scripts by writing code in a seperate text file that ends with the ".js" file extension.

x is 5

y is 8

console.log(x);
8
                
error.js
aplert is not defined
Program over