Kevin Powell - CommunityKP-C
Kevin Powell - Community4mo ago
28 replies
Faker

What are templating engines like .ejs and pug?

Hello, from what I've read, templating engines helps us to make our mark up language dynamic instead of static. That is, during render, we can set some placeholders in our html file itself which get replaced later on.

I read that we can use loops etc in our html file itself, which is kind of interesting. Apart from that, can someone explain why a templating engine is important pls, what kind of cool stuff can we do with it?
Was this page helpful?