Skip to content

Priyasha-Yadav/learn-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

JS Questions

This repository is now organized as a small learning library for JavaScript practice.

Learning Path

  1. Start with lessons/basics.js to review variables, arithmetic, swapping, comparisons, and simple control flow.
  2. Move to lessons/strings-and-arrays.js for string and array exercises.
  3. Continue with lessons/numbers-and-loops.js for digits, primes, Fibonacci, Armstrong numbers, and loop practice.
  4. Test yourself with quizzes/javascript-quiz.js.

How To Use

Each file is a standalone Node.js script. Run any lesson directly with:

node lessons/basics.js

You can also copy individual functions into your own sandbox, change the inputs, and compare the output with the comments.

Structure

  • lessons/ contains curated, readable practice examples.
  • quizzes/ contains quiz-style prompts and answers.

Notes For Learners

  • Prefer reading one lesson file at a time instead of scanning everything at once.
  • When a function is returned instead of printed, try console.log with your own values.
  • If you want a next step after these exercises, add your own versions of the same functions without looking at the answers first.

About

This repository is now organized as a small learning library for JavaScript practice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages