Boasbabs / code-assessment

The official repository for the CODE Assessment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icon

Code Assessment v1.0.1

This assessment will is an example of a project we build in the past. When working on a project like this you would normally code in liquid, working with actual data, template-logic and shopify-logic but for now we will use the html-result. We like to test your knowledge on html, scss, javascript, and git as working with Shopify and liquid are things you will have to learn first.

All the source files you need are in the src folder, and will be in the dist folder after compilation. The files in the dist folder will not be committed in the GIT repository, these are only the results of your efforts.

The assessment below describes what needs to be implemented. Don't be afraid to give feedback or mention points or optimizations you come across. The goal of this assessment is to get a clear image of how you approach several challenges and how you handle those. Keep in mind that code structure, semantics and value for the client are very important for in our projects. Finishing everything is not required to pass this assessment but we would like you to finish at least assessment 1 - 6.

Setup & Install

  1. Fork this repository
  2. Clone from fork
  3. $ npm install
  4. $ npm run start

Assessment

Please make the assessments in order as listed below. In your fork, create a new feature with your name, commit after each assignment and make a Pull Request of your total fork when you're done!

Important: The order and content of Shopify-sections can be changed by the customer in the Customizer so the order of shopify-sections must be flexible.

  1. In the shopify-section "usp-services", on mobile it should only show 1 usp per line (<768px).
  2. In the shopify-section "usp-services" the icons should be rendered below the text.
  3. On the homepage the heading elements (h1, h2, h3) are not in a sequentially-descending order, please fix this.
  4. Do a lighthouse check on SEO for mobile and fix the issue.
  5. Create a new shopify-section with a text and image pane. (See Assessment designs). Use this as image. The 2000x1000 in the url can be adjusted to render smaller images and crops.
  6. The footer navigation shows to much on mobile, make it 3 collapsible panes showing only the headings. Write a simple javascript/jQuery function that will make the panes collapse and open when the heading is clicked.
  7. The first shopify-section should get extra spacing on the top to show behind the header.
  8. The animation of the main navigation on mobile (click the hamburger) fails when you close and open the menu quickly, please fix this.

Assessment designs

Mobile design

Mobile design

Desktop design

Desktop design

Good luck!

About

The official repository for the CODE Assessment

License:MIT License


Languages

Language:JavaScript 45.0%Language:SCSS 39.9%Language:HTML 15.2%