PHP Programming Test

To apply for the programming position available at Inetasia please:

In these tests your code and implementation will be evaluated. Please try to program as you normally would when maintaining a piece of software. During this test you may use the internet, stackoverflow, and any other resource you normally use during development with the exception of asking friends for help during this test.

Please do not just copy and paste large pieces of code from Stack Overflow or elsewhere. The idea is to demonstrate your coding ability. We learn nothing if you do and we will know instantly if you have done this as well.

We care that things are done correctly so please spend some extra time to check what you have done before sending it to us.

Test 1

Recreate the following image in HTML and CSS as closely as possible:

Buttons CSS Test
https://inetasia.github.io/score-buttons.png

For each button use only a single <a> tag, with as many <span> tags as you need.

Test 2

Please do not use large frameworks such as laravel or codeigniter for this test. You may use composer packages however please write most of the code yourself.

Please create a PHP program that when run creates a unique list of coupon codes.

It must:

When you have finished this task please generate the 250 codes into a file called "test2".