Let's discuss your "Pomodoro Clock"

Project Link - http://codepen.io/Jesse989/full/ezdBvX/

Still working out one or two minor things but for the most part it is completely functional!
I set the timers to start at 1min and 30sec so you can see the jars fill up faster. Once the jar fills up it pops up on the side!

Hereā€™s mine:

[http://codepen.io/IreneNaya/full/EyNgWo/] http://codepen.io/IreneNaya/full/EyNgWo/

Decided to go for a different layout and to have a bit of fun with images and sounds. Any comments, criticism and bugs found, please leave a comment. Thanks!

Itā€™s a bitā€¦ red!! :smiley:

Now, seriously, I do think itā€™s a bit too red, to the point that itā€™s hard on the eyes after a while.
I did love some things, like the possibility of muting sounds and adding your own sounds.
I canā€™t run it, though. I may have ran it one or two days ago, not sure. The fact that the notification area on the top left is greyed out on me, tells me that maybe i did open it before. I had a popup asking me if I allowed or blocked the app from receiving notifications, and I blocked. It should still work, imo. Also, I find it a bit annoying that it remembers the settings from the last time I opened it. My guess is that you are using cookies or some form of storage, which Iā€™m not too fond of in this kind of setting :slight_smile:

Thank you for your feedback, Irenenaya.

Yes, my pomodoro saves user settings in localStorage, but not Notification.permission. That one browser remembers on its own for each specific domain. The popup to allow it can only be run if you havenā€™t previously selected allow or deny (you could dismiss it too), so a site can only request permission as long as you havenā€™t given a definitive answer.
To reset it you would need to do so in the browser: in Chrome click on the badge at the left edge of the address bar (it displays an empty page or a lock depending on http(s) protocol), in Firefox Ctrl+I --> Permissions, then reload the page. As you can see, after youā€™ve made your choice, itā€™s out of my hands.

Also, seems we have a different tolerance for red:) I should probably choose a lighter color.

I quite like your image transitions.

  • There is strange behavior I noticed ā€“ when you press stop and then start while countdown is in progress the timer adds an extra minute. Is this supposed to be punishment for pausing during an ongoing session? Bug or feature?
  • Was there a reason for limiting break length to 15 minutes? Pomodoro technique suggests 3, 5, 15 and 30 minutes for breaks, but of course itā€™s ultimately up to you.

Good job overall.

Project Link - http://codepen.io/tychoCRD/full/OXWNGj/

Overall Iā€™m pleased, but I was surprised with how much js this app required. I built two modules, one for the ā€œengineā€ of the clock, and one for UI interaction. I ran into some headaches that required a less wholly-modular approach than I desiredā€¦ I had to but the setInterval id var outside of both modulesā€¦various ways I tried to accomplish it inside properties didnā€™t work for me. I also tried to put everything in an immediately-invoked function, but I sometimes had issues where I needed to refer to a separate moduleā€™s property with full name, where I couldnā€™t use ā€œthisā€ and $(this) because they would point to the same thingā€¦ Sorry, Iā€™m sure thatā€™s confusing. Anyhow, wondering if my approach is sensible and succinct overall. Little patience for CSS these days, so my UI remains simple.

Project Link - http://codepen.io/perlhax27/full/OXbBeO/

Project Link - http://codepen.io/luishendrix92/pen/XXMREw

It was easy at first until I started to see the logic behind the break times and when I decided I wanted to animate the juice inside the soft drink container, haha, working with SVG math requires a lot of focus and logic; the logic behind the juice filling up isnā€™t that hard but I struggled since it was my first time working with SVG.

I used a modular javascript approach, one for the clock logic, another one for the audiovisuals. I also had to patch a styling mistake with the soft-drink using JS resize events. Design-wise, Iā€™m surprised it looks that way, thanks to Skeleton (CSS Mini-Framework) and that amazing gradient and backgrounds I found. I spent most of the design time making it responsive. Also the first time I used Sass and ES6.

Editor View
Full View

Me spending too much scattered time struggling through making it on the Free Code Camp Twitch Channel.

Plan on going back and refactoring it even more after taking the time out to spend more time learning modular javascript.

Pomodoro Clock

I went for a minimal Ć  la Material Design style.
Intentionally no pause button, because you canā€™t pause pomodoro.

No sound on mobile, but it is on my TODO list.

The code definitely needs refactoring and it is also on my TODO list.

Have a look guys my pomodoro clock project :slight_smile:


thanks

Hereā€™s mine. I couldnā€™t figure out how to fiddle with the chart colors and Iā€™m worried it looks a little vomity. Please let me know what you think!

Thanks

I really like the visual representation of the break time+work time. Something I noticed: you can reduce the work and break length to negative and zero values. This obviously ends up in undefined behavior. Try doing a boundary check if the user makes it go below 1:00.

Also if you learn some basic HTML canvas, you can actually have the clock representation be animated. Itā€™s pretty neat, just in case you want to try something like it.

Otherwise, itā€™s a great project!

Thanks! I had forgotten about the lower bounds.

Project link: http://codepen.io/h4yfans/full/EyXaVx/

Please, take a look.

Project Link - http://codepen.io/daansteraan/full/XKprKB/

hi guysā€¦ any feedback is appreciatedā€¦

Project Link - http://codepen.io/Josh5231/full/zBZoZj/

Project Link - http://codepen.io/GKlein/full/pbpoAj/

Project Link - http://codepen.io/pnahratow/full/JKpBjG/

I wanted my clock logic to not touch the DOM. Instead it uses callbacks to inform about time and state changes.

  • You can keep holding the buttons to increase/decrease times faster
  • Session/Break times are stored locally to keep settings
  • Clock UI is a SVG
  • The soundfile is embedded in the HTML using base64

Project Link ā”€ FreeCodeCamp: Build a Pomodoro Clock

I got creative and I spent a little bit more time on the design. Iā€™m happy with the results.

Tools ā”€ jQuery, Animate.css, SCSS