Week 11 ยท 45-60 min

JavaScript Events

Week Summary

A quick preview of the main ideas in this week before you begin the slides.

  • What Is an Event?
  • Adding an Event Listener
  • Responding to Click Events
  • Responding to Input Events

Glossary

Review these key terms before starting this week. They are kept simple so students can learn the new vocabulary before moving into the slides.

What Is an Event?
What Is an Event?
Adding an Event Listener
Adding an Event Listener
Responding to Click Events
Responding to Click Events
Slide 1๐Ÿ’ก

What Is an Event?

Learning goal

Respond to user actions using event listeners.

Read one card at a time. Focus on the main idea first, then look at the visual on the right to help it stick.

An event is an action a user takes on a webpage.

Examples include clicks, typing, hovering, and submitting a form.

JavaScript can listen for these events.

Events are the foundation of interactive webpages.

They connect DOM work to real user behavior.

Remember

Events are how webpages react to what users do.

What Is an Event?

What Is an Event?

Slide 1 of 8

Use arrows or dots to move through the lesson

Practice

  1. Write 2-3 sentences about what you learned this week.

Coming Next Week: Next: Review, Polish, and Wrap-Up

Project Brief

Complete the "Build a Personal Website" project across weeks 11-12.

What to Build

  1. Day 1: Sketch a site map and wireframe for 3-4 pages.
  2. Day 2: Build the HTML structure for all pages with consistent navigation.
  3. Day 3: Create an external stylesheet and apply consistent colors and fonts.
  4. Day 4: Build a Flexbox-based layout for at least one page.
  5. Day 5: Make the site responsive using a media query and relative units.
  6. Day 6: Add one interactive JavaScript feature such as a content-changing button, form validator, or click counter.
  7. Day 7: Test the site across different screen sizes and fix layout issues.
  8. Day 8: Review all pages for consistent styling, working links, and correct alt text.
  9. Day 9: Prepare a short walkthrough explaining design and code choices.
  10. Day 10: Present the website live, demonstrating navigation and the interactive feature.

Self-Assessment Rubric

  • HTML structure and semantic correctness โ€” 20%
  • CSS styling consistency and layout quality โ€” 25%
  • Working JavaScript interactivity โ€” 25%
  • Responsive design โ€” 15%
  • Presentation and organization of files โ€” 15%