Welcome to my repository for the JavaScript Algorithms and Data Structures Certification from freeCodeCamp. This repository contains all the projects and exercises I have completed during the certification program.
The repository is organized into two main sections:
This folder contains all the preparatory exercises that I completed before working on the certification projects. These exercises help build foundational skills in algorithms and data structures.
Example structure:
exercises/
├── pyramid-generator/
│ ├── README.md # Explanation of the exercise
│ ├── pyramid-generator.js # Code implementation
│ └── test.js # Optional test cases
├── gradebook-app/
│ ├── README.md
│ ├── gradebook-app.js
│ └── test.js
└── ...
This folder contains the final projects required for the certification. Each project solves a specific problem and demonstrates key concepts in JavaScript algorithms and data structures.
Example structure:
projects/
├── palindrome-checker/
│ ├── README.md # Project description
│ ├── palindrome-checker.js # Code implementation
│ └── test.js # Optional test cases
├── roman-numeral-converter/
│ ├── README.md
│ ├── roman-numeral-converter.js
│ └── test.js
└── ...
-
Clone the repository:
git clone https://github.com/abelnnieva/javascript-algorithms-data-structures.git cd javascript-algorithms-data-structures
-
Explore the exercises and projects:
- Navigate to
exercises/
to see foundational exercises. - Navigate to
projects/
for the certification projects.
- Navigate to
-
Run any JavaScript file using Node.js:
node exercises/pyramid-generator/pyramid-generator.js
-
(Optional) Run tests if available:
node exercises/pyramid-generator/test.js
- Palindrome Checker: Check if a given string is a palindrome.
- Pyramid Generator: Generate a pyramid of characters based on input.
- Gradebook App: Provide a simple set of functions to calculate class averages.
- Role Playing Game: Simple text-based adventure game where players fight monsters.
- Random Color Background Changer: Simple project to change the background color to a random color.
- Calorie Counter: Simple web-based calorie tracker that helps users manage their daily calorie budget.
- Rock, Paper, Scissors Game: Simple game against the computer in a classic "Rock, Paper, Scissors" match.
Feel free to fork this repository and suggest improvements. Contributions are always welcome!
This repository is licensed under the MIT License.
Happy coding! 🚀