Roadmap for Javascript in 20 days
Roadmap for Javascript in 20 days
May 2025
Introduction
This 20-day roadmap is designed to provide a comprehensive understanding
of JavaScript, from basic syntax to advanced concepts, culminating in practi-
cal projects. Each day includes learning objectives, resources, and tasks to en-
sure progressive skill development. The roadmap assumes basic familiarity with
HTML and CSS.
Roadmap Overview
The roadmap is divided into three phases:
• Days 1–8: Core JavaScript fundamentals.
• Days 9–15: Intermediate and advanced topics.
• Days 16–20: Projects to apply knowledge.
Daily Roadmap
Conclusion
By following this roadmap, you will gain a solid foundation in JavaScript, from
basic syntax to advanced asynchronous programming, and build practical projects
to demonstrate your skills. Deployed projects can be showcased in a portfolio to
enhance your career prospects.
1
Day Topics and Tasks Resources
1 Introduction to JavaScript MDN Web
Learn JavaScript basics: syntax, variables Docs: https:
(var, let, const), data types (strings, num- //developer.
bers, booleans, arrays, objects). Write a sim- mozilla.org/
ple script to log variables. en-US/docs/
Web/JavaScript,
W3Schools:
https://www.
w3schools.com/js/
2 Operators and Conditionals MDN: Operators,
Study arithmetic, comparison, logical oper- FreeCodeCamp:
ators, and conditionals (if, else, switch). Cre- https://www.
ate a program to check if a number is even freecodecamp.
or odd. org/learn/
javascript-algorithms-and-data-str
3 Loops and Iteration JavaScript.info:
Learn for, while, do-while loops, and array https://
methods (forEach). Write a script to print javascript.info/,
the first 10 Fibonacci numbers. Codecademy
JavaScript Course
4 Functions Eloquent JavaScript:
Understand function declarations, expres- https://
sions, arrow functions, and scope. Create a eloquentjavascript.
function to calculate the factorial of a num- net/, YouTube:
ber. Traversy Media
5 Arrays and Methods MDN: Array Methods,
Explore array methods (map, filter, reduce, FreeCodeCamp
slice, splice). Build a program to filter even
numbers from an array.
6 Objects and Prototypes JavaScript.info: Ob-
Learn objects, properties, methods, and pro- jects, MDN: Proto-
totypes. Create an object to represent a car types
with methods like start and stop.
7 DOM Manipulation MDN: DOM,
Study DOM access, event listeners, and ma- W3Schools: DOM
nipulation (getElementById, querySelector).
Build a button that changes text color on
click.
8 Events and Forms Codecademy,
Understand event handling and form vali- YouTube: Net Ninja
dation. Create a form that validates user in-
put (e.g., email format).
9 Asynchronous JavaScript JavaScript.info:
Learn callbacks, setTimeout, and setInter- Async, FreeCode-
val. Write a script to display a countdown Camp
timer.
10 Promises MDN: Promises,
Study promises, .then, .catch, and YouTube: Web Dev
async/await syntax. Fetch mock data Simplified
and handle success/error cases.
11 Fetch API and AJAX MDN: Fetch,
Understand Fetch API for HTTP requests. FreeCodeCamp
2 data from
Build a script to fetch and display
a public API (e.g., JSONPlaceholder).
12 Error Handling JavaScript.info: Error