Skip to content

Blessedpsalm/solved-fed-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markup test

Prepare your thoughts to discuss how you would mark-up the design (front-end markup-test.pdf) during the interview.

Javascript Test: Address lookup

Please complete the following node based exercise. It should take around 1 hour to complete. Once complete, please push to a public GitHub repo and follow the instructions in the email you received.

Get started

$ npm install - install dependencies

$ DEBUG=frontend-test:* npm start - run the app in debug mode

Exercise

  • Write routes to render the addresses.njk template in the routes folder, you can also make changes to the template to improve it.
  • Create a post handler on the address route that makes a request to the address API using details in provided in the email.
  • Display request results in the addresses.njk select element.
  • Write suitable unit tests for functionality of the post route.
  • If time allows add some markup validation, e.g. what if the input is invalid?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published