Solutions to CodeWars' JS Fundamentals challenges.
- File:
Challenge-1-Friend-or-Foe?.js
- Code Challenge 1
- Description: Determines if a given name is a "friend" (names with 4 letters) or a "foe."
- File:
Challenge-2-Alternate-capitalization.js
- Code Challenge 2
- Description: Alternates the capitalization of each character in the given string.
- File:
Challenge-3-Fruit-string-calculator.js
- Code Challenge 3
- Description: Calculates the total value of a string of fruits based on predefined values for each type of fruit.
- File:
Challenge-4-String-reverse-slicing-101.js
- Code Challenge 4
- Description: Reverses a given string using slicing techniques.
- File:
Challenge-5-Alphabet-symmetry.js
- Code Challenge 5
- Description: Determines how many letters in a string maintain their position in the alphabet (A=1, B=2, etc.).
- File:
Challenge-6-Closest-to-Zero.js
- Code Challenge 6
- Description: Finds the number in a list that is closest to zero.
- File:
Challenge-7-ASCII-letters-from-Number.js
- Code Challenge 7
- Description: Converts a given number to its corresponding ASCII character.
- File:
Challenge-8-Is-n-divisible-by-(...).js
- Code Challenge 8
- Description: Checks if a given number is divisible by another number.
- File:
Challenge-9-Sort-deck-of-cards.js
- Code Challenge 9
- Description: Sorts a given deck of cards by suit and value.
- File:
Challenge-10-Sort-the-climbing-grades.js
- Code Challenge 10
- Description: Sorts a list of climbing grades in ascending order.
- File:
Challenge-11-Bouncing-Ball.js
- Code Challenge 11
- Description: Simulates the bouncing ball problem and calculates the number of bounces a ball makes before coming to rest.
- File:
Challenge-12-Is-it-a-letter?.js
- Code Challenge 12
- Description: Checks if a given character is a letter in the