Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverswitzer/lb_assessment
https://github.com/oliverswitzer/lb_assessment
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/oliverswitzer/lb_assessment
- Owner: oliverswitzer
- Created: 2014-07-20T18:57:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-22T03:03:12.000Z (over 10 years ago)
- Last Synced: 2024-04-14T11:53:16.589Z (7 months ago)
- Language: Ruby
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
== Random Color Generator Code Challenge
For the assignment, the backend code should be done in ROR. Front-end code should be done using HTML, CSS, JS (jQuery and SASS are optional but encouraged).
There are two steps
• Setup a queue in the backend. This queue can store a tuple consisting of three values between (0 -255) that represent three colors . A new tuple is randomly generated and inserted in the queue every 3 seconds.
• Serve a simple web-page with a start button. When start button is clicked, fetch a tuple from the backend queue using an AJAX request and update the background color on the page. A new color should be fetched and updated every 3 seconds.