πŸš€πŸ’» JavaScript and React Challenge 7 πŸ’»πŸš€
Ready to dive into some string manipulation? Let's play with reversing strings and finding palindromes!
The Challenge of Today:
You have a string of text, and your tasks are to:
  1. Reverse the entire string.
  2. Reverse each word in the string while keeping the word order.
  3. Check if the string is a palindrome (reads the same backward as forward).
The Data:
Here's the string you'll be working with:
""
const text = "madam racecar level kayak";
""
Tasks:
  1. Reverse the entire string:
  2. Reverse each word in the string while keeping the word order:
  3. Check if the string is a palindrome
solution of day 6 :
5
2 comments
Emmanuel Kouadio
7
πŸš€πŸ’» JavaScript and React Challenge 7 πŸ’»πŸš€
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Powered by