Https://puzzle-industrious-helium.glitch.me

Tell us what’s happening:
i have been trying to go through this problem. it has been saying that : connect mongoose to a database. i have passed the order two tests: install mongoose ; and install mongodb. what do i do next? i have even tried creating a new project to see if that works

Your code so far
myApp.js

let uri = 'mongodb+srv://promise:' + process.env.PASSWORD + '@johnson.lxnii.mongodb.net/db1?retryWrites=true&w=majority'

const mongoose = require('mongoose');

mongoose.connect(uri,{useNewUrlParser: true, useUnifiedTopology: true})        
.env
password=password

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36.

Challenge: Install and Set Up Mongoose

Link to the challenge:

Hello there,

Somethings to note:

  1. Have you made sure you can read the value from the .env file? Debug, by using console.log(process.env.PASSWORD)
  2. Variables are case sensitive (as far as I know). So, if you have password=1234 in the .env file, it will not be accessible with process.env.PASSWORD
  3. Before you submit your project link, open up the browser console, and ensure there are no errors presented.

Hope this helps