Skip to content

three29/color-picker-test

Repository files navigation

Three29 Color Picker

For this assignment please review the video for reference for the functionality of this web application. After you finish the video mirror the repository to your own account in a private repository. When you finish the test invite @welenofsky to your private repository be a collaborator. When you install it will create a sqlite database file which the default .env file utilizes. There are database migrations that need to be ran that will setup the colors table in the format we want. The overall concept of this test is to take the color picker hex string and convert it into red/green/blue on the backend. The overall task should be easy but this is more of a code golf type situation where I want to gauge how cleanly you can execute this task and if you are able to work with a full stack problem from start to finish with a set of requirements. When you build this feel free to use any libraries you want or any build tools you prefer to work with.

Official Requirements List

  1. Updating the existing colors on the page should utilize AJAX/JSON. ES6 code is encouraged, do not worry about browser support. No page refresh.
  2. Make sure to include some confirmation message when deleting colors.
  3. Do not use jQuery.
  4. You should be able to update/delete/create colors on the list.
  5. You are required to use the default picker element which will have a hex value on the input. Part of the task is to challenge you to convert between this and the structure used in database schema in a clean way.
  6. You are required to store the value in the database table format provided. Do not modify the DB schema in any way.
  7. Do not use string formatting to achieve the conversion hexadecimal and RGB. You may use it to format the output of a conversion done elsewhere.

Extra Credit

  1. Use Laravel Mix
  2. Add Tests

I know this seems silly for how small the site is but it would be ideal to so proficiency in tools we utilize daily at Three29.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages