These are exercises created for the FullStack Developer course by +praTi and Codifica group.
Each exercise aims to reinforce the understanding of control structures and prepare for more complex software development challenges.
-
Clone the repository:
git clone <https://github.com/Jesschuck/exercise-class> -
Enter the directory:
cd exercises -
Install the dependencies:
npm i -
Run the project:
node exercise1.js
The following topics were covered:
- Conditionals - control structures such as if-else, switch-case, and loops for and while.
- Check if a number is even or odd.
- Classify age.
- Grade classification (Approved, Recovery, Failed).
- Create an interactive menu using switch-case.
- Calculate the Body Mass Index (BMI) and determine the weight category.
- Check and identify the type of triangle: Isosceles, Scalene, Equilateral.
- Calculate the total cost of a purchase based on quantity.
- Sort and display two values in ascending order.
- Display a countdown from 10 to 1 using a for loop.
- Display an integer on the screen 10 times.
- Request 5 numbers and calculate the total sum using a for loop.
- Display the multiplication table of a number provided by the user using a for loop.
- Receive decimal numbers until the user inputs 0 and calculate the arithmetic mean.
- Calculate the factorial of a number provided by the user using a loop.
- Generate and display the first 10 numbers of the Fibonacci sequence.
- Inside the
exercisesreforfolder I added reinforcement exercises for conditionals and repetition loops.
Object Manipulation with: for in, for of and forEach.
- Accessing Object Properties.
- Checking Properties.
- Filtering Object Properties.
- Iterating Over Arrays of Objects.
- Calculating Values in Arrays of Objects.
- Filtering Arrays of Objects.
- Modifying Objects in an Array.
- Creating New Arrays from Objects.
- Counting Elements with a Condition.
- Creating Reports with Objects and Arrays.
- Grouping Elements with forEach.
- Updating an Array of Objects.
- Implementing a Shopping Cart.
- Manipulating Complex Objects.
- Filtering and Summing Values.