Git Product home page Git Product logo

frontend-react-test-task's Introduction

Test Task Project

This project was created as a test task and demonstrates the following functionality:

  1. Creating a Matrix:

    • A matrix of MxN is created.
    • Each cell in the matrix contains an object with a unique id and amount, which is a random number.
  2. Increasing Cell Value:

    • The amount in a cell is increased by 1 when the cell is clicked.
  3. Calculating Sum and Average:

    • The sum of each row and the average of each column are calculated and displayed in the table.
  4. Highlighting Cells:

    • X cells with the amount closest to the clicked cell are highlighted.

Project Setup

To set up and run the project, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/your-repo-name.git
  2. Navigate to the project directory: cd your-repo-name
  3. Install dependencies: npm install
  4. Start the development server: npm start

This will start the project on http://localhost:3000. <img width="433" alt="Снимок экрана 2023-09-28 в 19 45 53" src="https://github.com/antonhayabysa/Frontend-React-Test-Task/assets/83969662/e11ef204-5f7f-48a1-9722-8aСнимок экрана 2023-09-28 в 19 46 02Снимок экрана 2023-09-28 в 19 46 12

762d9810ca">

frontend-react-test-task's People

Contributors

antonhayabysa avatar

Watchers

 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.