Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
627 B
1
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
 <%- include('../partials/head'); %>
</head>
<body class="container">
<header>
 <%- include('../partials/header'); %>
</header>
<main>
 <div class="jumbotron">
 <h1>This is great</h1>
 <p>Welcome to templating using EJS</p>
 <h2>Variable</h2>
  <p><%= tagline %></p>
</div>
<ul>
  <% mascots.forEach(function(mascot) { %>
  <li>
  <strong><%= mascot.name %></strong>
  representing <%= mascot.organization %>,
  born <%= mascot.birth_year %>
  </li>
  <% }); %>
  </ul>    
</main>
<footer>
 <%- include('../partials/footer'); %>
</footer>
</body>
</html>
Leave a Comment