Question: how to create ejs files?
Answer: Install. It's easy to install EJS with NPM. $ npm install ejs.
Use. Pass EJS a template string and some data. BOOM, you've got some HTML. ... 
CLI. Feed it a template file and a data file, and specify an output file. ejs ./ ... 
Browser support. Download a browser build from the latest release, and use it in a script tag.