Welcome to Maine
CS 325: Web Programming
(Spring 2014)

Syllabus

Teachers

Assignments
Assignments


Other Pages

Project 3:
Dynamic Pages


Assigned: Tue Apr 08 2014
Due: 10:59:00 AM on Thu Apr 17 2014
Team Size: 3 or 4
Language: HTML + CSS + PHP + JavaScript
Out of: 100 points


In this project, you will use JavaScript to modify a live page based on user input. The user should not have to load any new pages for this

Part 0, 30 points: Include an FAQ page. Each question should be represented as a button or other clickable element. When the element is clicked, a new element should appear adjacent to the question element with the answer.

Part 1, 20 points: Modify your FAQ page so that the Javascript is unobtrusive, meaning the function call is not visible in the HTML source.

Part 2, 25 points: Modify your FAQ page so that the answers have a button that can be pressed to close the answer.

Part 3, 25 points: Modify your FAQ page so that only one answer element appears at a time. When one answer appears, any other open answer is removed.

Part 4, 0 points: Personal Part: Add an edit button to comments on the comment board. Clicking this button should allow the user to edit the text in the comment. Include a submit button that reloads the page with the new text in that comment.

Submitting your Project:

Upload your code to our webserver (cslamp). Then one person should reply to the email I sent out. In that reply:

  • CC all members of your team.
  • include your team name.
  • include the URL where I can view your project on cslamp in a web browser.
After that email has been sent, all members of the team should forward that email back to me, and give percentages of how much they think each team member contributed towards this project.

Reminder: I won't open these emails until I grade the projects. If you ask a question in the email, I won't get to it until after the project due date.