Skip to content

lucas9985/javascript-fundamentals-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 JavaScript Fundamentals Assignment

Welcome to my JavaScript mastery project! This assignment demonstrates core concepts of JavaScript including variables, conditionals, functions, loops, and DOM manipulationβ€”all essential for building dynamic, interactive web pages.


πŸ“ Project Structure


🎯 Part 1: Mastering JavaScript Basics

  • Declares variables and uses conditionals (if/else) to process logic
  • Captures user input and displays results using console.log() and DOM updates

βœ… Goal: Understand how JavaScript flows, makes decisions, and interacts with data


❀️ Part 2: JavaScript Functions β€” The Heart of Reusability

  • Includes custom functions for tasks like calculating totals and formatting strings
  • Demonstrates how functions make code cleaner and reusable

βœ… Goal: Build DRY (Don't Repeat Yourself) logic blocks for smarter coding


πŸ” Part 3: JavaScript Loops β€” Embrace the Power of Repetition!

  • Uses for and forEach loops to iterate through arrays and generate content
  • Simulates repetition and dynamic output

βœ… Goal: Practice controlling flow with loops for working with lists and dynamic tasks


🌐 Part 4: Mastering the DOM with JavaScript

  • Selects and modifies DOM elements
  • Responds to user actions like clicks and input
  • Dynamically creates and updates page content

βœ… Goal: Make a static HTML page interactive using pure JavaScript


πŸ“ Key Outcomes

  • Solid grasp of JavaScript fundamentals
  • Clean, readable code with comments explaining logic
  • Effective use of functions and loops to reduce repetition
  • DOM manipulation that enhances interactivity

πŸš€ How to Run

  1. Clone the repository
  2. Open index.html in your browser
  3. Interact with the page and explore the JavaScript features

Feel free to explore, modify, and build on this foundation. Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published