Skip to content

lucaspl3tti/clock-app

Repository files navigation

Frontend Mentor - Clock app solution

This is a solution to the Clock app 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:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • View the current time and location information based on their IP address
  • View additional information about the date and time in the expanded state
  • Be shown the correct greeting and background image based on the time of day they're visiting the site
  • Generate random programming quotes by clicking the refresh icon near the quote

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • SCSS
  • Vanilla JavaScript
  • JavaScript Fetch API
  • Vite

What I learned

How to work with external APIs with the use of JavaScript Fetch.

Author

Commands

npm run dev run this command to initialize a dev server with hot module replacement

npm run build run this command to build the final app

npm run preview run this command to initialize a preview server of the build

npm run lint:scss run this command to lint over all scss files

npm run lint:js run this command to lint over all js files

About

A challenge from frontendmentor.io to create a clock app using external api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published