Can't get further with chrome, failure in "Use * to Import Everything from a File"

Tell us what’s happening:
I try to test my Code, which is after looking for it, the same as the solution. But “as”, is not blue for me and so is the output telling me that:

// running tests

Your code should properly use

import * as

syntax.

// tests completed

Here in the forum, the code is shown right. I tried after that to do the same lesson with firefox and it works well for me, but not with chrome.

Your code so far


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

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

Your browser information:

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

Challenge: Use * to Import Everything from a File

Link to the challenge:

Check the file name it should be string_functions.js, not string_funtions.js

1 Like

oh dear, thank you :blush:

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