Understand the Differences Between import and require tests not passing

Tell us what’s happening:
Tests are not passing even though my code is identical to the solution.

Your code so far

"use strict";
import { capitalizeString } from "string-functions";

Your browser information:

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

Link to the challenge:

you have a typo. one of your charecters is incorrect.

1 Like

- should be _ in "string_functions"

1 Like

Thank you all! It seemed nothing was different between my answer and the solution when I compared the two, so I copied-and-pasted from the solution just to pass the test but failed. Turned out I had the same typo as in the solution, thank you all for helping!