Import challenge

hi guys why is it /string_functions.js instead of math_function.js??

  **Your code so far**

import { uppercaseString, lowercaseString } from './string_functions.js';
// Only change code above this line

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0

Challenge: Reuse JavaScript Code Using import

Link to the challenge:

Because we are pretending that there is a file that you’ve written that you called “string_functions.js” and put into that same folder. We want to import those functions from that file.

In the example in the description they pretended that there was a file called “math_function.js”.

Does that makes sense?

make sense!!! thank you

1 Like