Giter Site home page Giter Site logo

fernandoalvesrufino / focus-timer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 54 KB

focus-timer

Home Page: https://fernandoalvesrufino.github.io/focus-timer/

License: MIT License

HTML 68.02% JavaScript 24.30% CSS 7.68%
cronometer cronometro css html javascript modules pomodoro responsive rocketseat

focus-timer's Introduction

FocusTimer - Pomodoro

Technologies

Project

How to Use

Files

License

README in Portuguese

License


version desktop

Technologies

  • HTML
  • CSS
  • JavaScript
  • Git and GitHub
  • Figma

Project

This is a JavaScript project that implements a timer with controls, sounds, and events. The application was designed to be simple and easy to use.

How to Use

To access the finished project, click here.

Files

The project is composed of the following files:

  • Controls: this module manages the buttons that control the timer, such as play, pause, stop, and set. It receives an object with references to the HTML buttons and returns an object with methods to control the buttons.

  • Timer: this module manages the countdown timer and displays the remaining time on the screen. It receives references to the HTML elements that display the minutes and seconds and a function to reset the control buttons.

  • Sound: this module plays sounds at different times during the timer, such as when it starts, stops, or finishes. The sound can be turned on or off depending on the user's preference.

  • Events: this module sets up event listeners for the control buttons and the timer and manages the interactions between the other modules. It ensures that the timer and controls work together seamlessly, providing a smooth user experience.

License

This project is under the MIT license.


by Fernando Rufino

Project created by Rocketseat

README in portuguese

FocusTimer - Pomodoro

Tecnologias

Projeto

Como Usar

Arquivos

Licença

License


versão desktop da página

Tecnologias

  • HTML
  • CSS
  • JavaScript
  • Git e GitHub
  • Figma

Projeto

Este é um projeto em JavaScript que implementa um temporizador com controles, sons e eventos. O aplicativo foi projetado para ser simples e fácil de usar.

Como Usar

Arquivos

O projeto é composto pelos seguintes arquivos:

  • Controls: este módulo gerencia os botões que controlam o temporizador, como tocar, pausar, parar e definir. Ele recebe um objeto com referências aos botões HTML e retorna um objeto com métodos para controlar os botões.

  • Timer: este módulo gerencia o temporizador de contagem regressiva e exibe o tempo restante na tela. Ele recebe referências aos elementos HTML que exibem os minutos e segundos e uma função para redefinir os botões de controle.

  • Sound: este módulo reproduz sons em diferentes momentos durante o temporizador, como quando ele começa, para ou termina. O som pode ser ligado ou desligado dependendo da preferência do usuário.

  • Events: este módulo configura os ouvintes de eventos para os botões de controle e o temporizador e gerencia as interações entre os outros módulos. Ele garante que o temporizador e os controles trabalhem juntos perfeitamente, proporcionando uma experiência de usuário suave.

Licença

Esse projeto está sob a licença MIT.


by Fernando Rufino

Projeto criado pela Rocketseat

focus-timer's People

Contributors

fernandoalvesrufino avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.