Git Product home page Git Product logo

frontend-dev-exercise's Introduction

silverorange Frontend Developer Exercise

This exercise is designed to assess how you approach tasks representative of the front-end developer role at silverorange. We are as interested in your process as we are in the final results. Please include descriptive Git commit messages and comments where you think your code may be unclear.

1 - Update Existing Page

With the provided mini application, make the following changes to the existing page. For this exercise we are interested in HTML and CSS only—no functionality is required. No mockups are provided, so work to make changes fit with the existing visual page design:

  1. Change the multi-line Street Address field into line1 and line2 fields. Line2 field should be optional.
  2. Add a check-mark and the following text below the Order Summary section:

    With our “Rise & Shine” beta program, you get early access to new features, but they may not always work perfectly. You can change your beta preference at any time after you join.

  3. Add a picture of the product into the order summary. A high resolution image is provided in product-photos/product.jpg.

Runing the Development Server

cd existing-page/
yarn install
yarn start

Files to Edit

  • The HTML template to edit is in src/views/checkout.ejs
  • The CSS to edit is in src/assets/checkout.less. You can use LESS features to implement your changes, or just use plain CSS.
  • Images can be added to the folder src/public/images and can be referenced in HTML and CSS as images/${filename}.

Testing and Development

  1. Open a browser.
  2. Visit http://localhost:4000/checkout
  3. Refresh the page in your browser after saving your changes.

2 - Build Out New Page

Using the provided create-react-app base in the /new-page folder, implement the page from the Figma file sent to you via email.

If you create a free Figma account, you’ll have access to export assets and inspect details in the mockup.

For this exercise we are just interested in replicating the visual appearance of the mockup—no functionality is required. Use appropriate React components, HTML elements and CSS. For your implementation, divide the page into logical React components.

A basic responsive template is included in the project to get you started.

Runing and Testing

Create-react-app comes with hot-reloading. Starting the development server with yarn start will open your default browser, and the page will automaticaly refresh as you edit and save components and CSS.

cd new-page/
yarn install
yarn start

Environment

For this exercise, you can use any stable versions of Node JS and Yarn.

frontend-dev-exercise's People

Contributors

gauthierm avatar sgarrity avatar

Watchers

 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.