Code Monkey home page Code Monkey logo

shopircuit's Introduction

Shopircuit

'strict mode'

So I was at the HTML5 meetup about web accessibility in Montreal - that took place at shopify's place. I saw you guys were looking for an intern, so I started to hack this. It took me around an hour and I was listening to conversation.

It's not flawless - I would have used Promise and/or ECMA6 if I had the time, but it does the job. Keep in mind that I was really hungry - I didn't even took the time to have some pizza you proposed. The code deamon got me.

There's a trick in your challenge - you said to buy everything in the store, but in which color? That's why I added a feature - you can now set your prefered color in the PREFERED_COLORS variable and he will take that into account. The order is important : if you prefer light blue over dark orange (if that exists) and that both are proposed in the shop, he'll choose light blue. If there's none of your favorite colors, he'll just take the first variant.

[https://youtu.be/0tcDXJfAFVw]

shopircuit's People

Contributors

lcoenen-pro avatar

Watchers

James Cloos avatar Loïc Coenen 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.