String Challenges
Practice your string manipulation skills with these challenges.
Challenge 1: Reverse String
Reverse a string without using the reverse method:
Loading JavaScript Exercise...
Challenge 2: Count Vowels
Count the number of vowels in a string:
Loading JavaScript Exercise...
Challenge 3: Capitalize Words
Capitalize the first letter of each word:
Loading JavaScript Exercise...
Challenge 4: Palindrome Check
Check if a string is a palindrome (reads same forwards and backwards):
Loading JavaScript Exercise...
Challenge 5: Anagram Check
Check if two strings are anagrams:
Loading JavaScript Exercise...
Bonus: Compress String
Compress repeating characters (aabbbcc -> a2b3c2):
Loading JavaScript Exercise...
Up next · Lesson 36 of 37
Array Challenges
1 min read
35 of 37 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

