A structured repository for learning JavaScript fundamentals through organized modules and practical examples.
This project contains JavaScript learning materials organized by topic, progressing from basic concepts to more advanced examples. Each module includes an HTML file, JavaScript code, and styling.
learning-js/
├── Introductions/ # Basic JavaScript fundamentals
│ ├── index.html # HTML template with placeholders
│ ├── index.js # Console logging, alerts, and DOM manipulation
│ └── style.css # Styling
│
├── Practice/ # Hands-on practice exercises
│ └── Jerry Portfolio/ # Personal portfolio page exercise
│ ├── index.html # Portfolio HTML structure
│ ├── index.js # Variable declarations and DOM manipulation
│ └── style.css # Portfolio styling
│
├── Strings & Variables/ # String and variable concepts
│ ├── index.html # HTML page with script integration
│ ├── index.js # Variables, strings, and boolean examples
│ └── style.css # Styling
│
├── README.md # This file
├── CHANGELOG.md # Version history and changes
└── LICENSE # MIT license
Location: Introductions/
Learn the basics of JavaScript including:
- Console Logging - Output text to the browser console
- Window Alerts - Display popup messages to users
- DOM Manipulation - Select and modify HTML elements dynamically
Example Code:
console.log("Hello, World!");
window.alert("How are you");
document.getElementById("myH1").textContent = "Hello, World";Location: Strings & Variables/
Explore variables and string handling:
- Variable Declaration - Using
letto declare variables - String Templates - Using template literals with
${} - Data Types - Strings, numbers, and booleans
- Type Checking - Using
typeofoperator
Example Code:
let name = "Jerry";
let age = 25;
let online = true;
console.log(typeof firstName);
window.alert(`Hello, ${firstName}!`);Location: Practice/Jerry Portfolio/
Apply learned concepts by building a simple personal portfolio page:
- Variable Declarations - Using
letto store personal data (name,age,email,favfood) - DOM Manipulation - Dynamically populating portfolio fields using
getElementByIdandtextContent - Combining Concepts - Bringing together variables and DOM updates in a real-world context
Example Code:
let name = "Jerry";
let age = 25;
let email = "jerry@example.com";
let favfood = "Pizza";
document.getElementById("name").textContent = name;
document.getElementById("age").textContent = age;-
Navigate to a module folder:
cd Introductions -
Open the HTML file in a browser:
- Right-click on
index.htmland select "Open with Live Server" - Or double-click to open directly in your default browser
- Right-click on
-
View console output:
- Press
F12orCtrl+Shift+Ito open Developer Tools - Check the Console tab for
console.log()output
- Press
- Start with Introductions to understand basic JavaScript concepts
- Move to Strings & Variables to practice variable declaration and string manipulation
- Try the Practice module to apply what you've learned by building a personal portfolio page
- Expand with additional modules as you progress (coming soon)
- JavaScript (ES6+) - Modern JavaScript with template literals
- HTML5 - Semantic HTML structure
- CSS - Styling and layout
All modules are compatible with modern browsers:
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
Potential modules to be added:
- Arrays and Objects
- Functions and Scope
- Control Flow (if/else, loops)
- Events and Interactivity
- DOM Manipulation Advanced
- ES6 Features
Created as a JavaScript learning journey.
This project is licensed under the MIT license
Last Updated: May 17, 2026
Current Version: 1.0.0