please help. still very new to Javascript. coding in general.
the initial code had double spacing both before and after the string ‘remove whitespace’, so i removed it using the .trim method. still comes up as incorrect.
the code:
console.log(‘Remove whitespace’ .trim());
trying to figure that out, sorry. is there a specific place/way to write my code so that it’s visible on the profile? other than just simply typing it in, as i did above?
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.