Jobs

CODING TEST QUESTION

Sustainable Solutions has created a website which allows searching for Universal Drug Codes.
This makes use of a publicly available API, the details for which can be found here:
https://sussol.github.io/universal-drug-codes-server

Given a list of drug codes, like this:

 const codes = ['369844bf', '64d064bf', '32d064bf', '372ce4bf', 'bbfcf518'];

Your task:

Write code to call the drug codes API, lookup each code in the array and display the name of the drug. You may use any language you wish. When you have a solution, paste your answer into the google form.
Use an online development environment such as https://jsfiddle.net/ you can save the result and paste a link to the result instead of the full solution code.

Bonus tasks that will almost certainly get you a job ;-)

These are ideas for extending your solution or providing extra functionality: