A repository containing basic to intermediate JavaScript programming problem solutions. This repo covers fundamental concepts like unit conversion, array operations, math methods, logic building, and object manipulation.
Here is a quick summary of the problems solved in this repository:
problem01.js&problem2.js: Unit conversion and average calculation logic for even numbers.problem3.js: String array structuring for managing student lists.problem4.js: Exploration and practical usage of the JavaScriptMathobject.problem5.js: Swapping values using temporary variables and destructuring assignment.problem6.js: Finding the maximum score using multiple approaches.problem7.js: Finding the minimum number from an array.problem8.js: Multi-layer discount calculation logic.problem9.js: Finding the cheapest phone from an array of phone objects.problem10.js: Temperature conversion program (Celsius to Fahrenheit).
-
Clone this repository:
git clone [https://github.com/code-with-arafat/](https://github.com/code-with-arafat/) repository-name.git
-
Navigate to the project folder:
Bash
cd repository-name -
Run any problem file using Node.js:
Bash
node problem10.js
🚀 Key Topics Covered
- Variable Swapping (Destructuring vs Temporary Variable)
- Array Traversal & Object Filtering
- JavaScript Math Object (Math.max, Math.min, etc.)
- Multi-layer Conditionals & Discount Logic
- Mathematical Unit Conversions
👨💻 Author Crafted with ❤️ by Arafat Ferdous