This repository contains a collection of simple JavaScript projects executed on Node.js via the console. The projects are designed to demonstrate and reinforce fundamental JavaScript concepts, including:
- Variables: Understanding how to declare and store data.
- Conditions: Utilizing conditional statements for decision-making.
- Loops: Implementing repetitive tasks with various loop constructs.
- Functions: Creating and using functions to encapsulate code logic.
- Higher Order Functions: Leveraging functions that operate on other functions, such as callbacks and array methods.
- Arrays: Working with lists and performing operations on them.
- Strings: Manipulating text data effectively.
- Objects: Using objects to organize and structure data.
Each project in this repository serves as a practical exercise to help beginners get hands-on experience with JavaScript's core features. Whether you're learning how to manage control flow or handling data structures, these projects provide clear examples and a solid foundation for building more complex applications.
- Prerequisites:
- Ensure that Node.js is installed on your machine.
- Clone the Repository:
- Download or clone the repository to your local system.
- Run a Project:
- Open your terminal, navigate to the desired project folder, and execute:
node <filename>.js
- Replace
<filename>.jswith the actual file name you wish to run.
- Open your terminal, navigate to the desired project folder, and execute:
The goal of this repository is to provide easy-to-understand projects that help newcomers learn and apply JavaScript fundamentals in a practical way, fostering a deeper understanding of the language's core concepts.