Coder Social home page Coder Social logo

lovkumar120169 / greenmentor_assignment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.12 MB

Assignment of GreenMentor

Home Page: https://green-mentor-assignment.netlify.app/

HTML 2.78% CSS 26.47% JavaScript 70.75%
chakra-ui chartjs context-api css3 googlefonts html5 javascript reactchartjs reactjs

greenmentor_assignment's Introduction

GreenMentor - Frontend Assignment

Introduction

This repository contains the code for a frontend assignment aimed at creating a single-page app for a GreenMentor Assignment. The project is designed to replicate the UI provided in the Figma design and implement various functionalities outlined in the problem statement.

Figma Design

Figma Design Link

Features

  1. Sidebar:

    • Four options and one button.
    • Clicking on the first option (Energy) should open collapsible multiple options.
  2. Date Filters:

    • Filtering out data for selected dates.
  3. Charts and Tables:

    • Populate charts and tables using the provided dataset.
    • Legends can be switched off/on in all charts.
    • The pie chart should adjust back to 100% based on the new distribution when any legend is switched off.
  4. Supplier Table:

    • YOY increase/decrease highlighted with colors (red for positive, green for negative) and the appropriate arrow type.
  5. Responsiveness:

    • Application should be responsive for multiple screen sizes.
  6. Bonus:

    • Bonus points for replicating the frame as it is in the Figma design.

Tech Stack

  • HTML
  • CSS
  • JavaScript
  • React.js
  • Chakra UI
  • ReactChart2.js
  • chart.js

Getting Started

  1. Clone the Repository:

bash git clone https://github.com/lovkumar120169/greenmentor_assignment.git

  1. Navigate to the Project Directory:

bash cd greenmentor-assignment

  1. Install Dependencies:

bash npm install

  1. Run the Application:

bash npm start

Open your browser and visit http://localhost:3000 to view the application.

Screenshots/GIFs

Large Screen View

Screenshot 2024-01-10 165055 Screenshot 2024-01-10 165122 Screenshot 2024-01-10 165141

Medium Screen View

Screenshot 2024-01-10 165209 Screenshot 2024-01-10 165229

Small Screen View

Screenshot 2024-01-10 163116
Screenshot 2024-01-10 163131
Screenshot 2024-01-10 163146

Demo

Check out the live demo on Netlify.

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.