Giter Site home page Giter Site logo

galanggg / react-unsplash-exercise Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 8.1 MB

Latihan mini project dengan Unsplash API

Home Page: https://react-unsplash-exercise.vercel.app/

HTML 12.50% CSS 6.14% JavaScript 81.36%
unsplash-api reactjs infinite-scroll

react-unsplash-exercise's Introduction

React Unsplash Api Challenge

Goal:

Membuat mini project React yang menampilkan gambar dari Unsplash dengan syarat

  • [✅] Fork this repo into your GitHub account. Keep it public until we have been able to review it.
  • [✅] Use create-react-app to set up a basic single-page React application as shown here: https://reactjs.org/docs/create-a-new-react-app.html#create-react-app. (NOTE: We will only focus on creating a single-page React application, so don't worry about the other sections on that page such as Next.js).
  • [✅] Refer to the Unsplash API docs here to set up a developer account: https://unsplash.com/documentation.
  • [✅] Display a grid of photos in your React app. Use the GET /photos/random endpoint from the Unsplash API to get a set of curated images.
  • [✅] The grid of photos should preserve the aspect ratio of the photos it's displaying, meaning it shouldn't crop the image in any way.
  • [✅] The grid should be responsive, and should work in both portrait and landscape orientations on both mobile and desktop browsers.
  • [✅] The grid should support infinite scrolling, using a lazy-load strategy to fetch additional images as the user scrolls.
  • [❌] When the user taps on a photo on the grid it should show the full photo in a full width lightbox popup with more information about the photo.
  • [❌] The lightbox popup should be dismissible with a close button.
  • [❌] Add left/right arrows or swiping to the lightbox, to allow browsing the previous/next images without dismissing the popup.
  • [❌] You're free to use existing open source React components or Javascript packages/libraries from npm to complete this task.

react-unsplash-exercise's People

Contributors

galanggg avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  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.