An even more educational version of the Bandolier for Learn JS the Hard Way. https://learnjsthehardway.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bandolier2/templates/todo.html

27 lines
399 B

<!doctype html>
<html>
<head>
<script src="/alpine.js"></script>
<script src="/fsm.js"></script>
<title>Bandolier2</title>
<style>
@import "/open-props.min.css";
@import "/normalize.min.css";
</style>
<head>
</head>
<body>
<h1><%= your_todos %></h1>
<ol>
<% for(let todo of todo_list) { %>
<li><%= todo.task %></li>
<% } %>
</ol>
</body>
</html>