Skip to content

Paris - Fareaha & Heather Web Development 2018#224

Closed
nrlfrh wants to merge 4 commits into
ironhack-labs:masterfrom
nrlfrh:master
Closed

Paris - Fareaha & Heather Web Development 2018#224
nrlfrh wants to merge 4 commits into
ironhack-labs:masterfrom
nrlfrh:master

Conversation

@nrlfrh
Copy link
Copy Markdown

@nrlfrh nrlfrh commented Oct 15, 2018

Comment thread starter-code/basic-algorithms.js Outdated
var palindrome = prompt("Is it a palindrome?");
var palindromeReverse = palindrome.split("").reverse().join("");

if (palindrom = palindromeReverse) {
Copy link
Copy Markdown

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
Copy Markdown

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