Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haquanq/fm-launch-countdown-timer
Solution for frontendmentor.io challenge: launch-countdown-timer
https://github.com/haquanq/fm-launch-countdown-timer
css frontendmentor frontendmentor-challenge frontendmentor-solution solidjs tailwind typescript
Last synced: 29 days ago
JSON representation
Solution for frontendmentor.io challenge: launch-countdown-timer
- Host: GitHub
- URL: https://github.com/haquanq/fm-launch-countdown-timer
- Owner: haquanq
- License: mit
- Created: 2024-07-31T04:27:29.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T08:23:06.000Z (6 months ago)
- Last Synced: 2024-11-07T02:23:37.314Z (3 months ago)
- Topics: css, frontendmentor, frontendmentor-challenge, frontendmentor-solution, solidjs, tailwind, typescript
- Language: TypeScript
- Homepage: https://haquanq.github.io/fm-launch-countdown-timer/
- Size: 111 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Frontend Mentor - Launch countdown timer solution
This is a solution to the [Launch countdown timer challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/launch-countdown-timer-N0XkGfyz-). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## The challenge
From Frontendmentor.io, 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 middlePersonally, i have encountered these problems:
- These number flippers have many layer that need to have it's size specified relatively to parent element or it's sibling elements which make responsiveness (media queries) difficult to be smooth (require many breakpoints)
## Solution
- Using: **SolidJS - Tailwind - Typescript**.
- Utilized `clamp()` for root `font-size` of flippers container and `calc()` for each property where sizes require changes on diffrent screen size.
- Built from mobile screen size to desktop (mobile-first).### Preview
![](./.docs/design/desktop-design.jpg)
# Working in `fm-launch-countdown-timer` repository
## Clone this project to your machine
Make sure you have Git + NodeJS installed in your system, open new terminal, run the following command:
```
git clone https://github.com/haquanq/fm-launch-countdown-timer.git
```Then, run `npm install` to install all dependencies.
```
npm install
```## Development workflow
In terminal, run `npm run dev` to start development server:
```
npm run dev
```