DEV Community

Tech Dev
Tech Dev

Posted on

Day 1:- Contributing in StackOverflow

You can do it in a better way, to display content in browser:-

Idea:-

  1. In res.render({}), which is inside async-await function, send parameter to ejs that you want to display in browser.
  2. In ejs, this tag ( <%= > ) helps you to access the value sent by calling file…

Top comments (0)