Tell us what’s happening:
This keeps happening for some reason. Ill write code that is exactly the same as the solution but for some reason my code keeps showing up as wrong. When I go to copy and paste the exact same code (from solution site) it shows up as solved.
Your code so far
let quoteSample = "The quick brown fox jumps over the lazy dog.";
let alphabetRegex = /[a-z]ig/; // Change this line
let result = quoteSample.match(alphabetRegex); // Change this line/ MY CODE
let quoteSample = "The quick brown fox jumps over the lazy dog.";
let alphabetRegex = /[a-z]/ig; // Change this line
let result = quoteSample.match(alphabetRegex); // Change this line/SOLUTION CODE
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/match-letters-of-the-alphabet