ES6 - Use * to Import Everything from a File

Hi all,

I think there is something wrong with the page. I’ve input the code correctly but it is not registering the “as” in the “import * as” syntax. These letters show up unbold like it is not a preprogrammed syntax. Therefore it will not allow me to submit this page and complete the course. Is there something wrong with my code?

How can this be resolved?

import * as stringFunctions from "./string_finctions.js";
// Only change code above this line

stringFunctions.uppercaseString("hello");
stringFunctions.lowercaseString("WORLD!");

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: ES6 - Use * to Import Everything from a File

Link to the challenge:

here is what it looks like:
Screen Shot 2022-10-14 at 5.31.04 PM

you have a typo.
functions
not
finctions

2 Likes

Thanks! My brain went to mush from staring at the screen all day

1 Like

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