webbddev / review-page

React project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Review page with prev and next project

Review component with prev and next functionality.

General Information
  • Purpose of the project is to train myself on using useState and manipulating local data
Technologies Used
  • React.Js
Code Elements
  • Destructuring data properties and their reference to data index
  • Prev/next code (sample below):
const nextPerson = () => {
  setIndex((index) => {
    let newIndex = index + 1;
    return checkNumber(newIndex);
  });
};
Installation and project setup

After you clone this repo to your desktop, go to its root directory and run npm install to install its dependencies.

Once the dependencies are installed, you can run npm start to start the application. You will then be able to access it at localhost:3000

Acknowledgements

Credits to an awesome instructor John Smilga!

About

React project


Languages

Language:CSS 45.3%Language:JavaScript 38.3%Language:HTML 16.4%