Question: Pls help me with this Node Js homework. Given: First implement this ejs file. Check out the TODO section and implement it. ejs file: Select
Pls help me with this Node Js homework.
Given:
First implement this ejs file. Check out the TODO section and implement it.
ejs file:
| Year | |
|---|---|
| Major | |
| Games Played | |
| Passing Yards: | Avg. Passing Yards: |
| Rushing Yards: | Avg. Rushing Yards: |
| Receiving Yards: | Avg. Receiving Yards: |
Then complete the quary function :
given requirements:
/player_info - get request (no parameters) This route will handle a single query to the football_players table which will retrieve the id & name for all of the football players. Next it will pass this result to the player_info view (pages/player_info), which will use the ids & names to populate the select tag for a form ************************************/
What I got :
app.get('/player_info',(req, res)=>{ res.render('pages/player_info',{ my_title:"Player information" }) })
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
