LeoCode0 / countdown-fm

Launch countdown timer, challenge from frontend mentor

Home Page:countdown-fm.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Launch countdown timer solution

This is a solution to the Launch countdown timer challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • See hover states for all interactive elements on the page
  • See a live countdown timer that ticks down every second (start the count at 14 days)
  • Bonus: When a number changes, make the card flip from the middle

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

I work with CSS custom properties and intervals from JS.

:root {
  --grayish-blue: hsl(237, 18%, 59%);
  --soft-red: hsl(345, 95%, 68%);
}

And intervals with JavaScript

let myInterval = setInterval(()  => ...)

Useful resources

  • DOM manipulation - A useful resource for making changes within the DOM with JS

Author

Acknowledgments

I thank Toro for the moral support

About

Launch countdown timer, challenge from frontend mentor

countdown-fm.vercel.app


Languages

Language:HTML 47.7%Language:CSS 45.0%Language:JavaScript 7.3%