Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

countdown clock using rails

Design a count down clock using Ruby On Rails Application.

  1. Design a web clock application contained in a rectangular enclosure. Choose good color, border, fonts and style. The clock contains two digits for days, two digits for hours, two digits for minutes and two digits for seconds.

2.The user should be able to enter a event date and time and calculate the result using calculate button.

  1. The clock should read the date and time from system clock, calculate the number of remaining days, hours, minutes, seconds and display on the web clock.

Assume an event date is scheduled for September 1st, 2015 at 8:00 am. And system clock now is June 19th, 5:00 pm. Result: 73 days, 15 hours, 00 minutes and 00 seconds. The duration is 73 days, 15 hours, 00 minutes and 00 seconds.

The web clock should start down counting and display time left for the event to start

1 Answer

Michael Hess
Michael Hess
24,512 Points

Hi siri k,

Will you please post your code so that we can take a look at it?

Thanks!