Remove whitespace!


#1

I am inputting the code
console.log(’ Remove whitespace '.trim())
it is printing correctly but wont let me progress and a red note come up at the bottom of my code editor saying Did you use a method on the string " Remove whitespace "?

I’m confused

anyone help a newbie out?


#2

use .trim() to remove all the whitespace, don’t remove any white spaces by hand. Reset and try again


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.