Tell us what’s happening:
Your code so far
let username = "JackOfAllTrades";
let userCheck = /^[a-z]([0-9][0-9]|[a-z]+\d*)$/i; // Change this line
let result = userCheck.test(username);
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36.
Challenge: Restrict Possible Usernames
Link to the challenge:
can you explain what you understand so we know where to start to explain things?
Your code has been blurred out to avoid spoiling a full working solution for other campers who may not yet want to see a complete solution. In the future, if you post a full passing solution to a challenge and have questions about it, please surround it with
[/spoiler] tags on the line above and below your solution code.