Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test exercises #507

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Commits on Oct 7, 2024

  1. Exercise 02 - Repeat String: A function that repeats a string a speci…

    …fied number of times using loops, avoiding built-in methods like String.prototype.repeat.
    
    Exercise 02 - Repeat String: A function that repeats a string a specified number of times using loops, avoiding built-in methods like String.prototype.repeat.
    lian-143 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    d6a1d3c View commit details
    Browse the repository at this point in the history
  2. Completed Exercises 04 and 05

    - Implemented `removeFromArray` function (Exercise 04) to remove specified elements from an array using rest parameters and `Array.prototype.filter()`.
    - Implemented `sumAll` function (Exercise 05) to return the sum of integers between two numbers, including error handling for non-integer and negative inputs.
    - Passed all tests for both exercises.
    lian-143 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    f8c52bd View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. finished exercise 6 and exercise 7

    For Exercise 06, I learned how to implement a function to check if a year is a leap year by following the rules of divisibility by 4, 100, and 400. I understood that century years need special handling, as they must be divisible by 400 to qualify as leap years.
    
    For Exercise 07, I created two functions to convert between Fahrenheit and Celsius, applying the appropriate temperature conversion formulas. I also learned how to round results to one decimal place using JavaScript's Math.round() method.
    lian-143 committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    2e6bf4d View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. finished exercise 8.

    lian-143 committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    c960840 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Configuration menu
    Copy the full SHA
    43d13c0 View commit details
    Browse the repository at this point in the history