Technical Test

Weather Widget - UI Focus

The purpose of this exercise is for us to get a sense of your ability to accurately translate a design into well written, semantic HTML/CSS and how you would approach designing and implementing a front end solution for a simple JavaScript widget.

Your solution will be evaluated internally by one or more of your potential co workers. You should expect a response from us within 2 business days.

Requirements

Using the design below, create a “weather widget” editor that allows users to set up a widget.

Weather widget editor and example

The Editor

The widget editor must have a form to allow a user to create a new widget. This form must include the following fields:

  1. Title
  2. Unit: metric or imperial
  3. Show Wind: true or false

The Widget

The widget itself should be a piece of JavaScript that reads the end user’s current location using navigator.geolocation, and retrieves the current weather conditions for that location using the Open Weather Map API.

The data the widget displays is determined by the settings in the editor.

Tip

Focus on accurately translating the design into semantic, accessible HTML/CSS before moving onto the JavaScript functionality.

Deliverables

Please submit the following deliverables to: amp HYPHEN tech HYPHEN test HYPHEN submissions HYPHEN group AT fairfaxmedia DOT com DOT au.

  1. Source code for the solution described above.
  2. Setup/installation instructions.
  3. A brief description of your solution, outlining anything of interest about the code you have produced. This could be anything from why you chose the language and or libraries, why you structured the project the way that you did, why you chose a particular error handling strategy etc.
  4. A list of assumptions that you’ve made while putting this together. We’ve only given you a very loose spec, so you’ll probably need to fill in some blanks while you are working. If you note down the assumptions, for us, then we will be able review the code within the context of those assumptions.
  5. [Optional] Tell us what you thought of the test and how long it took you to complete.

What we’re looking for

  1. Semantically excellent HTML.
  2. A focus on accessibility.
  3. Handcrafted, well structured CSS. No frameworks or toolkits used.
  4. Accuracy in translating the design into code.

Note: we prefer that you send us a link to a repository. If you send an attachment via a zip file with your source code, please be aware that Gmail may block you email. You will receive a confirmation email for your submission.