GithubHelp home page GithubHelp logo

front-end-assignment's Introduction

Marketer Front-end Assignment

  • Please use real Github accounts, as we check for contribution history. However, if you want to stay anonymous, please send patch instead.
  • We are not answering any questions about this test. Everyone work with the same set of information, to let us fairly judge your work.
  • The test is designed in a way, that can confuse you or seems weird, because we want to test you in a way worse environment than you will work on a daily basis. It's also not a representation of the tech stack we are using in real projects.

Before you start

  • Fork this repository, it needs to stay on Github, publicly available.
  • The test is based on AdonisJS a full stack Node.js framework, but you don't need to write any backend stuff, nor have any experience with Adonis or other similar framework.
  • After installing the dependencies and running npm run dev, you should see a start page on http://localhost:3333. If something is wrong, you probably use a wrong version of Node.js.

Task 1

On /bacon you should see a page with beautiful slices of fried bacon, that comes from external source.

Create bacon cloning logic and attach it to Yeah, I want more bacon! button.

Task 2

Take a look at design file and recreate it. Use any way of writing styles you are comfortable with and pick Roboto as the font family.

By default Adonis support PostCSS, SASS, Less and Stylus you need to enable one of it, but it's just Webpack under the hood, so feel free to hook whatever you like the most.

Task 3

Provide simple JS validation for checkout form created earlier.

Task 4

Send form data to the POST /order endpoint and show success / error message based on API response.

Accepted data formats:

  • Postal code: 00000
  • Phone number: 000000000
  • Credit card: 0000000000000000
  • CVV: 000
  • Exp. date: 00/00

Good luck 🤗

front-end-assignment's People

Contributors

igloczek avatar anqaka avatar versality avatar szafran89 avatar robwozniak avatar

Watchers

Christopher Køltzow avatar Jacek Brożek 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.