Skip to content

Cema2019/Codewars-JavaScript-challenges-Fundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codewars-JavaScript-challenges

Solutions to CodeWars' JS Fundamentals challenges.

1. Friend or Foe?

  • 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."

2. Alternate Capitalization

  • File: Challenge-2-Alternate-capitalization.js
  • Code Challenge 2
  • Description: Alternates the capitalization of each character in the given string.

3. Fruit String Calculator

  • 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.

4. String Reverse Slicing 101

  • File: Challenge-4-String-reverse-slicing-101.js
  • Code Challenge 4
  • Description: Reverses a given string using slicing techniques.

5. Alphabet Symmetry

  • 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.).

6. Closest to Zero

  • File: Challenge-6-Closest-to-Zero.js
  • Code Challenge 6
  • Description: Finds the number in a list that is closest to zero.

7. ASCII Letters from Number

  • File: Challenge-7-ASCII-letters-from-Number.js
  • Code Challenge 7
  • Description: Converts a given number to its corresponding ASCII character.

8. Is n divisible by (...)?

  • File: Challenge-8-Is-n-divisible-by-(...).js
  • Code Challenge 8
  • Description: Checks if a given number is divisible by another number.

9. Sort Deck of Cards

  • File: Challenge-9-Sort-deck-of-cards.js
  • Code Challenge 9
  • Description: Sorts a given deck of cards by suit and value.

10. Sort the Climbing Grades

  • File: Challenge-10-Sort-the-climbing-grades.js
  • Code Challenge 10
  • Description: Sorts a list of climbing grades in ascending order.

11. Bouncing Ball

  • 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.

12. Is it a Letter?

  • File: Challenge-12-Is-it-a-letter?.js
  • Code Challenge 12
  • Description: Checks if a given character is a letter in the

About

Solutions to CodeWars' JS Fundamentals challenges.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published