Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 1.42 KB

File metadata and controls

75 lines (49 loc) · 1.42 KB

JavaScript Assignments

This folder contains assignments focused on problem solving using JavaScript.

Assignment Categories

You can follow the recommended order below or complete them in any sequence you prefer.

1. Easy

  • Anagram
  • Expenditure Analysis
  • Find Largest Element

2. Medium

  • Count Vowels
  • Palindrome
  • Times

3. Hard

  • Calculator
  • To-Do List

Development Setup

Option 1: Run Locally (Requires Node.js)

  1. Ensure you have Node.js installed.
  2. Clone or download this repository.
  3. Navigate to the respective assignment folder and execute the script using Node.js.

Option 2: Run on Replit (No Local Setup Required)

  1. Copy the assignment code to Replit.
  2. Execute the script in Replit's environment.

Running Tests

For All Assignments

  1. Navigate to /Javascript-Assignments/01-js.
  2. Install dependencies using:
    npm install
  3. Run specific tests with:
    npm run <test-name>
    Example:
    npm run test-anagram
  4. To execute all tests at once, run:
    npm run all

Demo Video

For a walkthrough on navigating through the assignments, check out this demo video:

01-js.mov

PS: If you're stuck on a problem for more than an hour, feel free to check the solution folder.