1. XP 1 JavaScript Creating a Programmable Web Page 2. XP 2 Tutorial Objectives Understand basic JavaScript syntax Create an embedded and external script Work…