Skip to content

TickTock lets you view the current time across countries. A #JavaScript30-inspired project built with HTML, CSS, and JavaScript.

License

Notifications You must be signed in to change notification settings

CodingWithJiro/wesbos-js-30-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TickTock

HTML5 CSS3 JavaScript Wes Bos – JavaScript30 Visual Studio Code Git GitHub Netlify Figma Semantic HTML Accessible Responsive Layout Mobile First Dark Mode Fetch API Fetch API Dynamic Content Google Lighthouse

Netlify Status Status Learning Path Views

TickTock: Search A Location, Get Their Date and Time

Mobile Preview (375x812) Desktop Preview (1440x960)
Mobile Desktop
Mobile Desktop

TickTock is a responsive clock web app where users can search for any location and instantly see its current local date and time. It showcases live clock movement with an analog interface.

This project is inspired from Wes Bos' free #JavaScript30 Course


Overview

This project combines real-time APIs with JavaScript modules to deliver dynamic time data based on user input.

It also implements a playful easter egg mode to surprise users especially Marvel fans.


Features

  • Search any city and instantly fetch its local date and time
  • Animated analog clock hands synced to the local time
  • Fully responsive mobile-first layout
  • Semantic HTML + ARIA for better accessibility
  • Dynamic content updates
  • Hidden easter egg with surprise animation on secret button click
  • Fetches data from IP API and TimeZone DB API
  • Lighthouse evaluated for performance and accessibility

Development Workflow

Network Graph

Click to view the full branch and merge history

This project adapts a granular branching and commit workflow to simulate team collaboration. Each feature, fix, documentation, and chore is tracked in its own branch with descriptive commits.

Each pull request I created contains a clear description, change list, screenshots for UI updates, and reviewer notes.

This ensures I maintain a professional workflow, even as a solo developer.


What I Learned

  • Using fetch to integrate multiple third-party APIs
  • Importing a third-party function from date-fns-tz CDN
  • Adding ARIA roles for dynamic content and accessibility
  • Handling user input, events, and hidden features for engagement
  • Practicing a professional branching + PR workflow on GitHub
  • Gained hands on experienced with local dates as well as dates with timezone parameters

Tech Used

  • HTML5
  • CSS3
  • JavaScript
  • Git
  • GitHub
  • Netlify

Design Reference & Tools

  • JPG design image
  • Figma

How to Run

  1. Clone the repository
  2. Open index.html in your browser

Live Demo

Or you can check out the live website here


Performance Report

Lighthouse Report Preview

A Google Lighthouse audit was conducted on the final version of this project. You can view the full report here.


Author

Created by Elmar Chavez

Month/Year: September 2025

Journey: 6th month of learning frontend web development.

About

TickTock lets you view the current time across countries. A #JavaScript30-inspired project built with HTML, CSS, and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published