Coder Social home page Coder Social logo

dev-test's Introduction

Blend Commerce - Shopify Developer Interview Task

This test is designed to assess skills in Shopify theme development, Liquid, HTML, CSS, JavaScript, React, and understanding of Git and Shopify CLI.

Required Tools

  • Any code editor (we recommend VSCode)

Task 1: Shopify Theme Development (45 minutes)

Create a small Shopify product card. When clicked, the product card should add product to cart via AJAX API and show a "Added to Cart" message.

Initial Code

{% assign product = all_products['sample-product'] %}

<div class="product-card" onclick="addToCart()">
  <!-- HTML & Liquid goes here -->
</div>

<style>
  /* CSS goes here */
</style>

<script>
  function addToCart() {
    // JS goes here
  }
</script>

Task 2: Knowledge (30 minutes)

You'll answer a series of questions and provide a small piece of code (if necessary).

  1. What are React Hooks? Provide an example of a functional component that uses the useState and useEffect hooks.
  2. Describe the process you would take to clone a create a new branch. You can use ready add-ons in your IDE.
  3. You need to make a form accessible for screen readers. What HTML attributes would you use?
  4. How would you display different prices for logged-in and logged-out users using Liquid? Show some example code.
  5. How would you make a responsive navigation bar? Outline your approach.
  6. How would you use Shopify CLI to create a new theme and then deploy it to a development store? Walk me through the steps.

Note: We're not looking for perfection in this task, we're more interested in your understanding and approach to the problem.

Time Total: 1 hour 15 minutes

Please send the answers via email by discussed deadline.

dev-test's People

Contributors

angelikablend avatar

Stargazers

 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.