#JS help

18 messages · Page 1 of 1 (latest)

stone mason
plush spade
#

Could you please share both your code and the error using text in a codeblock?

fleet ospreyBOT
plush spade
#

Images are hard to work with.

fleet ospreyBOT
#

Hi!
This first exercise is meant to help you understand how Exercism works. Did you watch the video on the Hello World page? In it Jeremy explains what you need to do to solve this exercise. You can reset the code by clicking on the three horizontal dots ··· at the upper right corner of the website. If that does not help, please post your code and the error messages on a #get-help thread (or, this thread if this is inside #get-help) using code blocks.

stone mason
plush spade
#

The bot message above shows exactly how to do a codeblock 😉

stone mason
#

''' export function hello() {console.log('Hello, World!');} '''

#

oops........ lmao

plush spade
#

Note, the ``` must be on their own line.

stone mason
#
export function hello() {
   console.log('Hello, World!');
}

plush spade
#

Those are backticks, not single quotes.

#

There you go 🙂

stone mason
#

haha sorry

plush spade
#

Did you watch the video on the Hello World page? In it Jeremy explains what you need to do to solve this exercise. You can reset the code by clicking on the three horizontal dots ··· at the upper right corner of the website.

stone mason
#

I watched it and somehow it didn't click, it's always the simplest thing lol I got it now thank you

plush spade
#

You're very welcome