2021年4月29日星期四

EJS not working with Nodejs - Information is not showing in EJS correctly

I'm tring to apply a loop in my file 'index.ejs' but that is not showing the information. Doing some tests I see that the file server.js is extracting the data correctly and the page is listing the <li> correctly (there are 4 lines in db and there are 4 <li> on HTML structure.

See my HTML code here:

See my server.js here

See the HTML result that I mentioned here

https://stackoverflow.com/questions/67326881/ejs-not-working-with-nodejs-information-is-not-showing-in-ejs-correctly April 30, 2021 at 08:57AM

没有评论:

发表评论