Code Monkey home page Code Monkey logo

frontend-assessment's Introduction

IQVIA Frontend Assessment

Environment Setup

  1. Fork and clone this repo to your local machine.
  2. This project is setup using Create React App and you can use either npm or yarn to install dependencies.
  3. Run npm start or yarn start to spin up a live dev server.
  4. Please push up to your repo and email a link to us at [email protected].

Instructions

  1. Create a table consisting of countries with their corresponding data as shown below. Mock data is provided for you in /src directory. Also, see reference to the Country type definition below.
  2. Build sorting capabilities that are triggered when selecting table headers: ascending, descending and none. You only need to support sorting one column at a time.

Do not style the table! This assessment should take no longer than an hour to complete.


Mockup

Table Mockup


Type Definition

interface Country {
  confirmed: number;
  recovered: number;
  deaths: number;
  country: string;
  population: number;
  areaInSqKm: number;
  lifeExpectancy: number;
  elevationMeters: number;
  continent: string;
  abbreviation: string;
  location: string;
  capitalCity: string;
  lat: number;
}

const country: Country = {
  confirmed: 54403,
  recovered: 46887,
  deaths: 2363,
  country: "Afghanistan",
  population: 35530081,
  areaInSqKm: 652090,
  lifeExpectancy: 45.9,
  elevationMeters: 972,
  continent: "Asia",
  abbreviation: "AF",
  location: "Southern and Central Asia",
  capitalCity: "Kabul",
  lat: 33.93911,
  lng: 67.709953,
  lng: number,
}

frontend-assessment's People

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.