haldarmahesh / coordinate-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coordinate-app

This repo contains the Coordinate class which overrides the + operator to return the addition of x and y coordinates.

This also has the React UI for the same functionaly.

Installation

Clone this and run npm install.

Test cases

To run the test cases run npm run test

Linting

To check the lint you can run npm run lint

Create new Coordinate and override +

Please use src/coordinate/Coordinate.js class to create new Coordinates and use + operator.

React app

To start the app on localhost run npm run start

Play around with the app to add the coordinate objects.

Preview of React app

alt text

About


Languages

Language:JavaScript 91.8%Language:HTML 6.6%Language:CSS 1.6%