This document provides notes on web programming unit 2 prepared by Bhavsingh Maloth. It discusses the history and objectives of JavaScript, defining it as a scripting language used to add interactivity to HTML pages. JavaScript can be divided into core, client-side, and server-side components. Core JavaScript is the basic language, while client-side JavaScript supports browser controls and user interactions. The document also discusses how JavaScript code is embedded in HTML and provides examples of writing text and using variables in JavaScript.