
Explore yellow script, an interpreted, lightweight language built on prototypes powering dynamic web pages embedded in the browser. Apply it to client validation, interactive elements, and web and mobile apps.
Set up your JavaScript development environment using Visual Studio Code, install essential extensions, configure Node.js, and learn boilerplate practices to run and debug JavaScript programs.
Learn basic JavaScript concepts with Yellow Script through simple examples, including document.write, functions, and on click events. Discover placing code inline, in head, or in external files via src.
Cover two types of JavaScript comments—single-line using // and multi-line using /* ... */—with syntax, placement, and running examples.
Explore how to declare and name variables in JavaScript using let, apply camelCase naming, and understand primitive and non-primitive types, with examples and strict mode guidance.
Learn JavaScript operators, including delete, in, and instanceof, plus template literals with backticks for embedding expressions. Explore dynamic typing, numbers, strings, booleans, undefined, null, and typeof operator.
Discover the typeof operator and eight JavaScript data types—number, bigint, string, boolean, null, undefined, object, and symbol—along with examples using alert, prompt, and confirm.
Master JavaScript if, else if, and else statements with examples, and learn boilerplate creation in Visual Studio to run code in a browser.
Master JavaScript looping constructs, including for, while, and do-while loops, and explore switch-case with break behavior and alert-based examples, and boilerplate patterns for structuring loop code.
Explore the JavaScript do-while loop, its at least once execution, and its distinction from the while loop, with practical examples and notes on loop syntax and boilerplate concepts.
Introduction to JavaScript. How to setup Environment for running JS code. Basic examples explained. Types of JS comments. Single line and multiline. Examples on keyword let. JS basic operators. Examples of special operators. JS if-else statement . JS looping constructs. JS do-while loop. Difference between while and do-while. JS break and continue statements. Functions explained. Using Object constructor.
JS Events. JS Strings. JS String slice() function. JS Math. constants and methods. JS Number, JS Boolean etc. JS Arrays. Popping and pushing in arrays. JS Array methods. Using splice() to remove elements. Sorting Arrays in JS. Finding lowest and highest element in an array. JS array iteration methods. Using Map. JS Arrow functions and ES6 version. 'this' in JS. filter() function in JS. Window Object. Methods of Window Object. JS Screen Object. JS DOM methods. JS innerHTML.
Examples of Numeric input validation. JS Classes. JS Class Inheritance. Oops in JS . Polymorphism in JS. Cookies in JS. The Cookie String. JS addEventListener() method. JS onclick event. JS onload event. Exception handling in JS. The throw, try-catch block. JS functions Call() and Apply(). The "use strict" Directive. JS Promise, Methods in Promise. Benefits of Promise. Examples on <span> tag . A Digital Clock Example.
The Cookies an important concept in JavaScript. JavaScript is popularly used in Web based programming. Even though our course concentrates on html files, we can create stand alone JavaScript programs with a .js extension. These programs can be run in the terminal window of our development environment namely Visual Studio Code.