- Clone this repro
- cd app
- npm install
- ./bin/www
The app will be server on http://localhost:3000/
Create a widget that displays 5 Ad listing horizontally with titles and price.
-------------------------------------------------------------
|price |price |price |price |price |
| | | | | |
| | | | | |
| | | | | |
|title |title |title |title |title |
-------------------------------------------------------------
The widget should display 3 ads on a portrait tablet device and a single ad on a phone. On tablet and phone the widget should enable the user to click/tap and view the Ads not in the view port. (A carousel)
-------------------------------------
|price |price |price |
| | | |
<last | | | | next>
| | | |
|title |title |title |
-------------------------------------
-------------
|price |
| |
<last | | next>
| |
|title |
-------------
The Ads should be load from data/data.json with an ajax request. Only ads with the category 'cars' should be displayed so you will need to filter out some of the ads from the json.
Use any libs / tools you like.
Should take 6 hours or less.
Send us a link you your repository in git when done.