Code Monkey home page Code Monkey logo

r-iex's Introduction

React interview exercise

Homepage (class-based)

  1. Request first 10 images (https://picsum.photos/v2/list?page=1&limit=10)
  2. Save images to the local state and display all images on the homepage (3 images in a row grid)
  3. Make infinite scroll for the homepage to load more images (page=2,3,4...)
  4. Add new route for the Image page (/image/id)

Image details page (react hooks)

  1. Request detailed information about image (https://picsum.photos/id/{id}}/info)
  2. Represent detailed information in the markup
  3. Navigate from "Related Images" to another image details page

Image detailed view

  1. View the original image un the popup with abilities to zoom in/out and close the popup

additional improvements

  • You don't need to make some spinners or loaders, just hide content while loading
  • Responsive layout will be a plus
  • Double click to like image (or suggest the approaches)
  • Nice animations will be a plus

r-iex's People

Contributors

ifier avatar yarykstus avatar

Watchers

James Cloos avatar Andriy Ivashchenko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.