Welcome to the Motorway UI technical test. This test focuses on user experience, and your skills with HTML, CSS, a11y and leveraging browser APIs.
This repo is a slightly modified Create React App and an Express server which serves a JSON feed of images.
-
Clone the repo and run
npm install
-
npm run serve
will run the server -
in another terminal window
npm run start
will start CRA
After this, CRA will open a tab with the app running, usually localhost:3000
. If you look in src/App.js
you'll see the API call to the server is already made and will console log out the results.
-
The server and CRA are watching the relevant files and will hot reload if any changes are made.
-
Feel free to modify or install whatever code you feel is necessary. If installing packages which are wrappers for native browsers APIs please leave a comment explaining why.
Create a responsive UI to display the images returned by the API.
The aim is to demonstrate your experience and knowledge of HTML, CSS, JS and React features; and demonstrate creative thinking in how images can be presented and manipulated.
Images aren't optimised and their dimensions are varied, there are .jpg and .webp versions on s3, so you will need to take this into account.
https://twitter.com/andybarefoot/status/1251844621262602242
http://www.artist-developer.com/
Resizable thumbnails
Modal to review full size images
Image effects or filters
The API that is returning images is rather slow. Show how it can be sped up, and show how you would measure the improvement in performance.
One of the oldest yet trickiest parts of web development is forms, so we’d like to see how you handle them.
Add a form to your app with the following fields. The form doesn't need to submit to anywhere, but must validate on the client.
- Name
- Date of birth
- Favourite colour
- Salary (using a range input)
We appreciate that your time is valuable and recommend you not spend more than 2 hours on these tasks.
The goal of the test is to prove your understanding of the concepts of modern HTML/CSS/JS, but not to produce something production ready or pixel perfect. Your work will be tested in the browser of your choice, so please specify this when submitting. This can include pre-release browsers such as Chrome Canary or Safari Technology Preview if you want to work with experimental features.