Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.53 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.53 KB

eBASE Developer Application Test

Instructions

Write a simple app which loops through the given $people array and displays it in a table.

Add a button to each row which, when clicked, will alert the person's name and email.

Place your code in index.php. Feel free to use the snippets below to get started.

Snippets

People

$people = array(
   array('id'=>1, 'first_name'=>'John', 'last_name'=>'Smith', 'email'=>'[email protected]'),
   array('id'=>2, 'first_name'=>'Paul', 'last_name'=>'Allen', 'email'=>'[email protected]'),
   array('id'=>3, 'first_name'=>'James', 'last_name'=>'Johnston', 'email'=>'[email protected]'),
   array('id'=>4, 'first_name'=>'Steve', 'last_name'=>'Buscemi', 'email'=>'[email protected]'),
   array('id'=>5, 'first_name'=>'Doug', 'last_name'=>'Simons', 'email'=>'[email protected]')
);

HTML Doctypes

<!doctype html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">

Javascript libraries

Mootools <script src="//ajax.googleapis.com/ajax/libs/mootools/1.5.2/mootools.min.js"></script>
JQuery <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
AngularJS <script src="ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>