Giter VIP home page Giter VIP logo

angular-code-challenge-en's Introduction

Angular Code Challenge

Great to see that you are interested in working with us! We work with a large group of developers on the websites of Centraal Beheer, Interpolis, FBTO and Avero every day. We would really like to expand this group of developers.

What is the Code Challenge?

The Code Challenge is an accessible front-end assignment where you build a number of new functionalities for an example application. We review your code and if we like your solution, we would like to invite you for a first introductory meeting.

The Challenge

We work with forms a lot. Example forms include forms where people can report damages to make a claim and to take out a new insurance policy.

These forms are often built in Angular.

In this Code Challenge you will work on an example form. The styling and html are already done but we are still missing some functionality. We will be using Tailwind https://tailwindcss.com/ for this challenge.

Screenshot

Requirements:

Finish the example form (see src/app/app.component.html for the existing html). We expect your application to contain at least (part of) the following requirements:

Functionalities:

  • The user must be able to select the type of vehicle
    • Possible choices:
      • auto
      • motor
      • scooter
  • The image to the right of the form should change based on the user's choice. The following combinations are possible:
    • auto: assets/auto.jpg
    • motor: assets/motor.jpg
    • scooter: assets/scooter.jpg
  • The user must be able to choose the subtype of the vehicle.
    • Possible subtypes for vehicle auto
      • Hatchback
      • Sedan
      • Station
      • Cabriolet
      • Coupé
      • Multi Purpose Vehicle (MVP)
      • Terreinauto
    • Possible subtypes for vehicle motor:
      • All-road
      • Naked
      • Enduro
      • Race
      • Toermotor
      • Chopper
      • Zijspan
    • Possible subtypes for vehicle scooter:
      • For scooters, the user cannot choose a subtype
  • Implement license plate formatting as follows:
    • Insert a dash between the numbers and letters of the license plate. AA14BB then becomes AA-14-BB
    • For letter combinations of 4 characters: insert a dash after 2 characters. 12AABB then becomes 12-AA-BB
  • Implement basic license plate validation:
    • Use the following library to implement license plate validation: https://www.npmjs.com/package/rdw-kenteken-check
    • Is the entered value invalid? Then show the following error message (on-blur of the field): "Helaas is het ingevoerde kenteken niet geldig. Probeer het opnieuw."

Technical requirements:

  • Split the html into logical Angular components
  • Use Angular Reactive forms to build your form
  • Use NgRx to manage the data in the state and incorporate some effects

Conditions

  • To keep the challenge on a level playing field for all candidates, we expect you to spend no more than at minimum 2 and at maximum 4 hours on the challenge. Not finished with all requirements after 4 hours? No problem, just send in what you have. We find quality and an eye for details much more important than that you have realized all the requirements.
  • Fork this Github to your own Github account and push your solution. Send us a link of your solution.

Technical details

This project was generated with Angular CLI version 12.2.3.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.# Angular Code Challenge

angular-code-challenge-en's People

Contributors

margotaw avatar avierwind avatar thomasverkooijen avatar tomaeduard avatar

Watchers

 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.