JS Module 7Jan 2026
Mini Projects Gallery
JavaScript, Projects, Portfolio
Syifa Fauziyah Arizal
Tutorials teach you how to type. Projects prove you can think and build.
This module is different. Less theory. More building.
- Every project is small but real
- Each one trains a specific skill
- All of them belong in your portfolio
This is where your blog starts to feel alive.
Project 1 — Stopwatch
Focus Skills
setInterval&clearInterval- DOM manipulation
- Simple state management
JavaScript
let time = 0;
let interval;
function start() {
interval = setInterval(() => {
time++;
display.textContent = time;
}, 1000);
}
function stop() {
clearInterval(interval);
}
function reset() {
time = 0;
display.textContent = time;
}Upgrade Ideas
- Minute : second format
- Lap time
- Small animation for smooth UI
Project 2 — Weather App
Focus Skills
- Fetch API
- async / await
- Error handling
- DOM rendering
JavaScript
async function getWeather(city) {
const res = await fetch(
`https://api.openweathermap.org/data/2.5/weather?q=${city}&appid=API_KEY&units=metric`
);
const data = await res.json();
console.log(data.main.temp);
}Upgrade Ideas
- Weather icons
- Loading state
- City search history
- Geolocation support
Project 3 — Password Generator
Focus Skills
- Function logic
- Randomization
- Event handling
JavaScript
function generatePassword(length) {
const chars =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$";
let password = "";
for (let i = 0; i < length; i++) {
password += chars[Math.floor(Math.random() * chars.length)];
}
return password;
}Upgrade Ideas
- Toggle symbols / numbers
- Password strength indicator
- Copy to clipboard
Project 4 — Notes App
Focus Skills
- CRUD logic
- LocalStorage
- Dynamic rendering
JavaScript
function saveNote(note) {
let notes =
JSON.parse(localStorage.getItem("notes")) || [];
notes.push(note);
localStorage.setItem(
"notes",
JSON.stringify(notes)
);
}Upgrade Ideas
- Edit & delete notes
- Search notes
- Tags system
- Dark mode
Project 5 — Quiz App
Focus Skills
- Array of objects
- State management
- Conditional rendering
JavaScript
const questions = [
{
question: "What is DOM?",
options: [
"Database",
"Document Object Model",
"Framework"
],
answer: 1
}
];Upgrade Ideas
- Score system
- Timer
- Randomized questions
- Result summary
How to Display This on Your Blog
- One card per project
- Preview (GIF or screenshot)
- Tech stack
- Main features
- Demo link
- Source code link
This turns your blog into a clickable portfolio.
Challenge Mode
- Beginner
- Intermediate
- Advanced
Or simply: "Build this without a tutorial."Recruiters love this energy.
