You can do it in a better way, to display content in browser:-
Idea:-
- In res.render({}), which is inside async-await function, send parameter to ejs that you want to display in browser.
 - In ejs, this tag ( <%= > ) helps you to access the value sent by calling file…
 
    
Top comments (0)