Skip to content

Instantly share code, notes, and snippets.

@tonning
Last active April 19, 2022 17:09
Show Gist options
  • Save tonning/1bd99ec5b8c60bb1a9d52577ac701313 to your computer and use it in GitHub Desktop.
Save tonning/1bd99ec5b8c60bb1a9d52577ac701313 to your computer and use it in GitHub Desktop.
Helix Sleep E-COMMERCE PRODUCT PAGE Code Challenge

Helix Sleep E-COMMERCE PRODUCT PAGE Code Challenge

Description

In this challenge you are to build out a very basic e-commerce product page which displays a product with three (3) variants. You are free to use any tools, languages, frameworks, and packages that you see fit to get the job done. The final result can be anything from a full fledge application using the MVC pattern, down to it being a simple static HTML file. There are only two (2) requirements on that front, which are that you:

  1. Include instructions on how to build and display the final product locally or host it somewhere and can provide a link.
  2. Give a brief statement of why you chose the technology you did.

Requirements

Frontend

  • The frontend must have a product page that displays the product.
  • The product page must look as closely as possible to the provided design: (Figma link) (JPG at 1x) (JPG at 2x).
  • Clicking on one of the fabric thumbnails must update the main product image with the clicked variants image.
  • The page must be responsive for mobile view. A mobile design has intentionally been left out and you are free to implemented it in any way that you think would be most beneficial for the customer.

Assets

Fonts

The design makes use of two fonts, a headline font and a paragraph font.

Headline font

The headline font is called Bungee and can be included in two different ways.

  • Link: <link href="https://fonts.googleapis.com/css2?family=Bungee&display=swap" rel="stylesheet">
  • CSS import: @import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap'); CSS rule to specify familiy: font-family: 'Bungee', cursive;

Paragraph font

You do not need to specify a specific font for the paragraph font, use whatever is the standard font for your operating system or use the following CSS font-family: font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

Product Images

Logo

The Allday logo

Icons

Padlock

Free Shipping

365 Day Trial

Made In America

10 Year Warranty

Super Easy Assembly

High Quality Materials

Completion

When you are done, please push your application up to either GitHub, GitLab, or, BitBucket. Then notify Kristoffer via email (kristoffer@helixsleep.com) with the subject Helix Sleep Code Challenge and the link to the repository. Please include:

  • Instructions on how to build and display the page locally or a link to where the page is hosted.
  • Give a brief statement of why you chose the language and technologies your did.
  • Anything else you think Kristoffer should know in order to view the challenge.

Kristoffer is available for any questions you may have via email at kristoffer@helixsleep.com.

You can do this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment