Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oliverswitzer/lb_assessment


https://github.com/oliverswitzer/lb_assessment

Last synced: 10 days ago
JSON representation

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.