express 2.EJS file example(refer 1.setting up... before this)


Example

the following is an ejs file.

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Hello, world!</title>
    </head>
    <body>
        <%= message %>
    </body>
</html>