ES6 - Reuse JavaScript Code Using import

Tell us what’s happening:

i don’t understand what’s the actual mistake i am making, i have similar problems in previous codes as well. is it a “logical error” ?

Your code so far

// Only change code above this line


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 OPR/

Challenge Information:

ES6 - Reuse JavaScript Code Using import

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Welcome to the forum @varshansaravanan26

You need to separate the keywords with a single space.
Your code has a syntax error.

Happy coding

Thank you so much for your help!
I will correct it.

1 Like