Presentation is loading. Please wait.

Presentation is loading. Please wait.

Programming for the Web Assignment One Dónal Mulligan BSc MA

Similar presentations


Presentation on theme: "Programming for the Web Assignment One Dónal Mulligan BSc MA"— Presentation transcript:

1 Programming for the Web Assignment One Dónal Mulligan BSc MA donal.mulligan@dcu.ie

2 Assignment One Summary: Create a HTML form which feeds data to a PHP script that produces a custom page. Deadline: Fri., 27 November 2009, 17:00 Submission: E-mail link to live site on student space and attach zip of all files used, including PHP, HTML, CSS and image files to donal.mulligan@dcu.ie

3 Specific Brief: HTML Form The HTML form must contain fields for the user to input at least their: – first name – surname – date of birth (using text fields for day and year and a drop-down box for the month). The form must use Javascript to validate at least one of the form elements and should generate an alert if the validation fails. – e.g. using an onBlur event to check that the day of birth provided is a value between 1 and 31 Should be styled using an external CSS file.

4 Specific Brief: PHP File The PHP file receiving the variables from the form must create a custom page using the data received and should theme the style of the page in some way, using the incoming data – e.g. choosing page colours or images based on the season in which the person was born. The page created by the PHP file must at least: – address the person by name – provide a custom piece of text based on one or more of the incoming variables from the form – calculate how old the person is

5 Marking This assignment is worth 40% of the final grade for the module Submissions must meet the basic requirements of the brief to pass Further refinements to the HTML form (including extra fields or increased validation) or greater manipulation of the data in PHP to produce customised output, will result in higher grades.


Download ppt "Programming for the Web Assignment One Dónal Mulligan BSc MA"

Similar presentations


Ads by Google