Giter VIP home page Giter VIP logo

org.visit.component.test's Introduction

Visit code test

You have been selected to perform a coding test for Visit Intelligence.

Your task is to build a web component that presents data from our weather api in UI friendly way. You can use a framework of your choice, Angular usage would be a plus, plain javascript and html5 would work as well.

Specification

{
    location: {
        lat: number;    // float latitude
        long: number;   // float longitude
    },
    time: {
        start: number;  // unix timestamp in ms
        stop: number;   // unix timestamp in ms
    }
}

For example:

<your-component></your-component>
let component = document.querySelector("your-component");
let options = {
    location: {
        lat: 60.451843432,
        long: 22.2666432423
    },
    time: {
        start: 1575244800000,
        stop: 1575849600000
    }
}
component.options = options;

Requirements

  • Resulting component has to register a custom element of you choice
  • ES6 and HTML5 features use is advised
  • Extra focus on the visual side
  • Component should update whenever options property is changed and reflect latest state of the property
  • Component should work with latest Chrome, Edge and Firefox, poor IE support will be tolerated ;)
  • Component should showcase some responsive design
  • Component can be a single javascript file as well as a collection of javascript/css/html5 file with single entry javascript.

Good to have

  • Usage of shadow dom
  • Different views for compact and detailed presentation

Example

Besides simple example usage code in index.html file, here's how usage of your component(grey placeholder on the right) could look in the production environment:

Delivery of the test

After the example has been coded - send it directly to [email protected] AND [email protected]

Project source code and distribution files may be delivered in one of the following ways

  • Zipped web project including html,css,js,image files
  • Shared github project

After the code has been delivered we will call the selected ones for further interviews

Problems

If you believe that we have a problem at our end - feel free to email additional questions to [email protected] and as CC to [email protected].

Good luck and have fun coding!

org.visit.component.test's People

Contributors

artu-ole avatar

Watchers

 avatar James Cloos avatar  avatar Sverre Slotte avatar Lauri Ruohonen avatar  avatar  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.