Hi there. Thanks for taking the time to read this. I’m on the “MongoDB and Mongoose - Create a Model” challenge and from what I can tell, by testing my code and reading the docs, everything is right but I’ve clearly missed something as my code won’t pass the fCC tests.
There are no errors in the Glitch logs. I’m able to create a new Person using this schema and console.log() each element inside it. I think the MONGO_URI value is correct because it passed the test in the previous challenge, “Install and set up Mongoose” (I’ve just tested the same Glitch in the challenge again to make sure and it passed).
I wasted two hours of my life looking at that just to find out I got screwed over by my British spelling! I re-wrote the whole thing twice and still didn’t notice. I’m used to ‘color’ in CSS at this point but I’m going to have to keep an eye out for this in the future!