Week 5: JavaScript Recap & Pre-Exam Review
Unit I–II Revision: HTML, CSS & JavaScript
Week Overview
This is a consolidation week. No new lectures are assigned — focus on revising Units I and II, completing Lab 5 and Home Assignment 2, and preparing for the mid-semester examination.
Course Outcome: CO-1, CO-2 (Review & Assessment)
Home Assignment 2 Due: Feb 25
Lab 5: Browser Information, Objects, and Script Reuse
Revision: Unit I — HTML & CSS
HTML Checklist
CSS Checklist
Revision: Unit II — JavaScript
Variables & Data Types
Functions
Events
Control Flow
Objects & DOM
Array Methods
Practice Tasks
- Build an HTML registration page with
<fieldset>,<label>, and HTML5 validation. - Style it with CSS: apply the box model, external stylesheet, and Bootstrap grid.
- Add JavaScript to validate the form on
submitand show an error message. - Use
map+ DOM manipulation to render a list of items from an array. - Create an interactive counter (increment/decrement/reset) using event listeners.
Key Takeaways
✅ HTML, CSS, and JavaScript work together — structure, style, behaviour
✅ Always use semantic HTML for accessibility and SEO
✅ CSS Box Model governs all spacing and layout
✅ JavaScript variables: prefer const, use let, avoid var
✅ DOM manipulation and event handling are the core of frontend interactivity
After the Mid-Semester Exam
Unit III begins — Java Servlet Programming (Server-Side Web): - Week 8: Servlet Foundations (Lectures 17–20) - Week 9: Session Tracking & JSP (Lectures 21–24) - Week 10: Spring Core Foundations (Lectures 25–28)