DEV Community

Discussion on: EJS Rendering HTML & CSS in Deno using View Engine 🚀

Collapse
 
justicebringer profile image
Gabriel

You forgot an ending round bracket.
You have this:

router.get("/",(ctx)=>{
ctx.render('index.ejs',{data: {msg:"World"}}
});

but should be this

router.get("/", (ctx) => {
ctx.render('index.ejs', {data: {msg: "World"}})
});