{"id":23343816,"url":"https://github.com/janicemv/stopwatch","last_synced_at":"2026-05-06T01:32:36.782Z","repository":{"id":268393487,"uuid":"904207669","full_name":"janicemv/stopwatch","owner":"janicemv","description":"Practicing Javascript and object-oriented programming with a stopwatch","archived":false,"fork":false,"pushed_at":"2024-12-16T13:02:36.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T18:46:03.753Z","etag":null,"topics":["bootstrap","javascript","vanilla-javascript","vanilla-js"],"latest_commit_sha":null,"homepage":"https://janicemv.github.io/stopwatch/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janicemv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-16T12:59:01.000Z","updated_at":"2024-12-16T13:02:40.000Z","dependencies_parsed_at":"2024-12-16T14:19:29.166Z","dependency_job_id":"94cff03a-a3b1-411e-9fd9-c2c0606fbc28","html_url":"https://github.com/janicemv/stopwatch","commit_stats":null,"previous_names":["janicemv/stopwatch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janicemv%2Fstopwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janicemv%2Fstopwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janicemv%2Fstopwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janicemv%2Fstopwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janicemv","download_url":"https://codeload.github.com/janicemv/stopwatch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247685790,"owners_count":20979122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","javascript","vanilla-javascript","vanilla-js"],"created_at":"2024-12-21T06:16:42.724Z","updated_at":"2026-05-06T01:32:36.755Z","avatar_url":"https://github.com/janicemv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stopwatch - Time Tracking Application\n\nThis is a simple stopwatch application built with JavaScript, HTML, and CSS. It allows users to start, pause, record laps, and reset the timer. The interface also displays the accumulated time and the recorded laps.\n\n## Features\n\n- **Start the Stopwatch**: Begins counting time.\n- **Stop the Stopwatch**: Pauses the count and records the elapsed time.\n- **Record a Lap**: Displays the time of the recorded lap without stopping the stopwatch.\n- **Reset the Stopwatch**: Resets the stopwatch and clears all recorded laps.\n\n## Technologies Used\n\n- **Vanilla JavaScript**: Logic for stopwatch functionality.\n- **HTML**: Page structure.\n- **CSS and Bootstrap**: Basic styling for the interface.\n\n## How It Works\n\nThe stopwatch is implemented using a class-based structure in JavaScript. The core functionality includes tracking time, updating the display, and handling user interactions with buttons.\n\n### Methods:\n- `start()`: Starts the stopwatch if it is not already running.\n- `stop()`: Stops the stopwatch and saves the paused time.\n- `lap()`: Records the current lap time.\n- `reset()`: Resets the stopwatch and clears the lap list.\n- `updateTime()`: Updates the displayed time every second.\n- `pad()`: Pads the time to ensure it is always displayed in a two-digit format (e.g., `01:02:03`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanicemv%2Fstopwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanicemv%2Fstopwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanicemv%2Fstopwatch/lists"}