scrimba
JavaScriptmas 2022
JavaScriptmas: ↔️ Palindromes
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

JavaScriptmas: ↔️ Palindromes
AboutCommentsNotes
JavaScriptmas: ↔️ Palindromes
Expand for more info
index.js
run
preview
console
/* 
Palindromes are words that are the same forward or backward. For example,
the words "noon" and "kayak" are a palindromes.

Write a function to check if a lowercased string of letters is a palindrome.
If the word is palidrome, return true. If it isn't, return false.
*/

function isPalindrome(str){

}

// Test your function
// console.log(isPalindrome("abba"));
// console.log(isPalindrome("civic"));
// console.log(isPalindrome("octopus"));
// console.log(isPalindrome("pumpkins"));
// console.log(isPalindrome("madam"));
Console
/index.html
-5:32