Tell us what’s happening:
I wrote all the related code and pasted link in challenge and it is showing incorrect
I did it many times hence showing wrong result
Your code so far
const Schema = mongoose.Schema;
const personSchema = new Schema({
name: {type: String, required: true},
age: Number,
favouriteFoods:[String]
});
const Person = mongoose.model(“Person”,personSchema);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36
.
Challenge: undefined
Link to the challenge: