Git Product home page Git Product logo

sagetap-frontend-test's Introduction

Sagetap Frontend Coding Challenge

This is the technical portion of the Sagetap interview process for frontend candidates.

How long it takes to complete is up to you! Please review this README, peruse the code, and estimate how long you think it will take / when you will be able to have it completed by. Then email/message us with your estimate, make a private fork of this repository, and get back to us when you're finished!

Please see the prompt below:

Art Rater

Overview

Within this repository you will find a React project that (sort of) allows a user to rate some pieces of art.

There also exists one extremely basic test in App.test.tsx that confirms the words "Art Rater" appear on the page.

Part 1: Button Tests

Within App.test.tsx you will find four additional tests that have not yet been written, centered around the buttons for the rating functionality.

Please follow the prompts in the test names and bodies to complete them, which will involve adding functionality to the page. While you are in the code you may find (many egregious) errors. You are encouraged to change anything you'd like!

Part 2: Styling

This app doesn't look very good! For a quick fix, we suggest adding Material UI, Ant Design, or a similar library and making the artwork appear in rows of two items each. However, if you have a different opinion or want to get fancy, please do!

Part 3: Adding & Removing Art

Please add two pieces of functionality:

  1. A "Remove Art" button for each ArtItem, which will remove it from the page.
  2. An "Add Art" form at the bottom of the page. It should consist of a textbox and a button. The textbox allows the user to enter in an id for a new piece of art. Clicking the button when the textbox is filled will create a new ArtItem on the page.

Part 4: Data & Error States

You may notice that the user experience doesn't take into account any handling for when the API calls fail or take a long time to load. Please add some handling for this as well!

sagetap-frontend-test's People

Contributors

msgoodman 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.