Skip to content

onja-org/w2_intro_to_events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 Intro to JavaScript Events

Welcome to the Intro to Events lab!
In this lab, you’ll learn how JavaScript makes web pages interactive by responding to user actions.


πŸ“š What You’ll Learn

  • What events are and why they matter
  • How to listen for events using addEventListener()
  • How to use callback functions to handle events
  • How to access details from the event object
  • Practical examples with click, input, and mouse events

πŸ“ Project Structure

Folder / File Description
/lesson/README.md Explanations and learning materials
/lab/index.html HTML page to run your exercise
/lab/exercise.md Exercise instructions
/lab/exercise.js Starter JS file for the exercise
/lab/solutions.js Completed solutions (available in the solutions branch)

πŸš€ Getting Started

  1. Open lesson/README.md to review the concepts.
  2. Open lab/exercise.md to see your exercise tasks.
  3. Edit lab/exercise.js to complete the exercise.
  4. Open lab/index.html in your browser to test your code.
  5. When finished, compare your work with the solutions.js file in the solutions branch.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published