Vanilla
Lessons
-
Recommended Prerequisites
A basic knowledge of coding syntax and vocabulary
About
Vanilla JavaScript is another term used to refer to basic JavaScript and is used mainly in browsers. JavaScript is used in the manipulation of document and window elements. The main purpose of JavaScript is to add functionality to a website. Think of it as the electricity in a house, useful and allows the use of other items such as TVs.
To know
To use JavaScript you would place this code block in your website
<script>/* Your code here */</script>
To comment in JavaScript use
//Comment
for single line and/* Comment */
for multi-line commentsJavaScript has many libraries to enhance it such as jQuery
JavaScript is supported in all browsers
Some functions are not supported in older browsers such as Internet Explorer
Contributors
Last updated