BeanStalk Powered by Stratbeans Consulting…

2Sep/090

PHP Programming Contest #1

JJ Printer’s Electronic Writing Pad – StratBeans PHP Programming Assignment #1

Time Limit 2 hours : 1 hour designing + 1 hour coding/testing

Difficulty Level : Easy

There is a writing pad company ‘JJ Printers’ who want to publish a new series of funky writing e-pad.  Users would access index.php and the e-pad page would be printed on the browser that can then be printed.

Snapshot of the writing pad is given at the end of the document.

The requirements are

  1. There will be 20 rows and 64 columns in this writing pad
  2. Each column and row comprises of ‘_’  (underscore) character
  3. There is a gradient in color across a row starting from ‘#000000’ (black) to ‘#f8f8f8’ (towards white)
  4. End of a given row or line should be with a ‘red’ dot

Your task is to write a php code (index.php) to accomplish the view.

jj

   

Categories

Recent Posts

Tags