Back End Development and APIs Projects - Exercise Tracker

Tell us what’s happening:

I cannot solve the test number 6 here is my code // connect to express
const express = require(‘express’)
const app = express()

// for listening in different port
const cors = require(‘cors’)

// for using the secret .env file
require(‘dotenv’).config()
app.use(cors())

// static middleware for static files
app.use(express.static(‘public’))

//use middleware to access body of the request
app.use(express.json());
app.use(express.urlencoded({ extended: true })); // Add this!

###Your project link(s)

solution: https://3000-freecodecam-boilerplate-le2nkz0qh8d.ws-us118.gitpod.io

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Challenge Information:

Back End Development and APIs Projects - Exercise Tracker

Please talk about how you got stuck debugging what is wrong with your code for test 6. Thanks