Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS DOM & Async Module

This repo has my practice tasks for learning JavaScript DOM and async programming.
I’m still learning, so these are simple projects to help me understand the basics.


📂 Projects

1️⃣ Interactive To-Do List

  • A small to-do list where I can click a task to mark it as complete.
  • Tasks start in gray. When I click one, it turns green and shows a check icon.
  • Clicking again makes it incomplete.
  • Built with HTML, CSS, and JavaScript.

How to try it: Open tasks/todo-interactive/index.html in the browser.


2️⃣ Callback Function Assignment

  • A function called fetchDataWithCallback that waits 2 seconds, then either:
    • shows “Data fetched” (success), or
    • shows “Error: Fetch failed” (error).
  • Used setTimeout to simulate a delay.
  • Learned how to use callbacks and try/catch for errors.

How to try it: Run this in the terminal:

node tasks/callback-assignment/fetchDataCallback.js

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages