Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@nrlfrh
Copy link

@nrlfrh nrlfrh commented Oct 15, 2018

var palindrome = prompt("Is it a palindrome?");
var palindromeReverse = palindrome.split("").reverse().join("");

if (palindrom = palindromeReverse) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 small typos here : you called your variable "palindrome" instead of "palindrom" on line 31, and what you wanted to use is the equality operator ("===") instead of the assignment operator ("=") :)

@ta-web-paris
Copy link

Your code is clean and you seem comfortable with these exercises, good job !! Try also to use a few for loops as they are going to be super important during the rest of the bootcamp :) 👍 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.