Introduction to JavaScript Programming
Introduction to JavaScript Programming
Course Description:
Course Objectives:
Course Outline:
What is JavaScript?
o Role of JavaScript in Web Development (HTML, CSS, JS)
o Differences between Client-side and Server-side JavaScript
Setting up the Development Environment
Running JavaScript Code in the Browser Console
Embedding JavaScript in HTML (<script> tag)
Conditional Statements:
o if, else if, else, switch
Loops:
o for, while, do-while
Break and Continue Statements
Module 4: Functions
Objects:
o Creating and Accessing Objects
o Adding, Updating, and Deleting Properties
o Object Methods
Arrays:
o Creating and Accessing Arrays
o Array Methods: push(), pop(), shift(), unshift(), splice(), slice()
o Iterating Arrays: forEach(), map(), filter()
Event Listeners:
o addEventListener(), onclick, onmouseover, onmouseout
Event Types:
o Mouse Events, Keyboard Events, Form Events
Event Delegation and Bubbling
JavaScript Objects:
o Prototypes and Inheritance
Error Handling:
o try, catch, finally, throw
Asynchronous Programming:
o setTimeout(), setInterval()
o Promises and async/await
Fetch API for HTTP Requests
Template Literals
Destructuring Arrays and Objects
Default Parameters
Spread and Rest Operators
Modules (import and export)
Assessment:
References:
Schedule:
Duration: 10 Weeks
Weekly Sessions: 2 hours/session (Lecture + Hands-on Practice)
Final Project Presentation: Week 11
This syllabus ensures a structured approach to learning JavaScript, from the basics to advanced
features, empowering students to build interactive and dynamic web applications.