Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Countdown timer app project template from https://learnvanillajs.com.

Project Details

Write an app that counts down to 0 from a time (say, five minutes).

Considerations

  • How frequently should you update the UI as you countdown?
  • How do you format the time?
  • What happens when the timer hits 0?

Need help?

This project is part of the Vanilla JS Academy.

<!DOCTYPE html>
<html>
<head>
<title>Project Template</title>
<style type="text/css">
body {
margin-left: auto;
margin-right: auto;
max-width: 40em;
width: 88%;
}
</style>
</head>
<body>
<h1>Countdown Timer</h1>
<div id="app"></div>
<script>
// Project code...
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.