Skip to content

A collection of chapter-wise JavaScript exercise solutions with accompanying PDFs. Each folder includes tasks based on real learning scenarios to strengthen core JavaScript concepts.

License

Notifications You must be signed in to change notification settings

huzaifa-frontend/javascript-exercises-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 JavaScript Exercises Solution

📁 Chapter-Wise Solutions for JavaScript Practice

📋 Overview

This repository contains my personal solutions to JavaScript exercises from various chapters. Each chapter folder includes:

  • 📝 A PDF file with exercise questions
  • 📂 A task/ folder containing solution files for each exercise
  • 📚 Chapters may be named as single numbers (01, 02, etc.) or ranges (06-08) based on the content groupings.

These tasks are part of my learning journey to improve JavaScript fundamentals through consistent practice and organization.

💻 Technologies Used

  • JavaScript (Vanilla)
  • HTML (for test cases if required)
  • PDF format (for questions)
  • VS Code (for writing and testing code)

🚀 How to Use

  1. Clone the repository:
    git clone https://github.com/huzaifa-frontend/javascript-exercises-solutions.git
  2. Navigate into the chapter folder you want to explore:
    cd javascript-exercises-solutions/Chapter 01 (Alerts)/Task 1
  3. Open the .js files in your code editor or run them in the browser/console for testing.

🛠️ Features

  • ✅ Clean and readable solutions using modern JavaScript practices
  • 🗂️ Chapter-wise separation for easy navigation
  • 🧠 Logical naming of folders
  • 📎 Accompanying PDF files for question reference
  • 🧪 Some exercises may include testable HTML or console outputs

📁 File Structure

📦 javascript-exercises-solutions
 ┣ 📂 Chapter 01 (Alerts)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 01 (Alerts).pdf
 ┣ 📂 Chapter 02 (Variables For Strings)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 02 (Variables For Strings).pdf
 ┣ 📂 Chapter 03 (Variables For Numbers)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 03 (Variables For Numbers).pdf
 ┣ 📂 Chapter 04 (Variable Names Legal & Illegal)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 04 (Variable Names Legal & Illegal).pdf
 ┣ 📂Chapter 05 (Math Expressions)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 05 (Math Expressions).pdf
 ┣ 📂 Chapter 06-08 (Math Expressions II & Concatenating Text Strings)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 06-08 (Math Expressions II & Concatenating Text Strings).pdf
 ┣ 📂Chapter 09-11 (User Input & Conditional Statement)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 09-11 (User Input & Conditional Statement).pdf
 ┣ 📂Chapter 12-13 (If Else & Else If Statement)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 12-13 (If Else & Else If Statement).pdf
 ┣ 📂 Chapter 14-16 (Nested If & Arrays Adding And Removing Elements)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 14-16 (Nested If & Arrays Adding And Removing Elements).pdf
 ┣ 📂 Chapter 17-20 (Arrays & For Loops & Nested For Loops)
 ┃ ┣ 📂 Tasks
 ┃ ┗ 📄 Chapter 17-20 (Arrays & For Loops & Nested For Loops).pdf
 ┣ 📄 README.md
 ┗ 📄 LICENSE

✨ Credits

  • Exercises sourced from personal notes, assignments, and curated JavaScript learning material.
  • All solutions written and structured by Muhammad Huzaifa Karim.

📄 License

This repository is licensed under the MIT License – feel free to explore, learn, and contribute.

✍️ Author

Muhammad Huzaifa Karim
GitHub Profile

📬 Contact

Have suggestions, found a bug, or want to collaborate? Open an issue or reach out via GitHub.


© 2025 Muhammad Huzaifa Karim

About

A collection of chapter-wise JavaScript exercise solutions with accompanying PDFs. Each folder includes tasks based on real learning scenarios to strengthen core JavaScript concepts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published