CST272 Project No. 4
Web Forms and Input Controls
-
Start a new ASP.NET Web Site project and create a three question multiple
choice quiz (you make up the questions); add the following elements to the
Web page:
-
To start the page find (on the Internet or some other location) or
create a "banner style" image appropriate to the application and
place it centered at the top of the page (use an embedded style
sheet in the <head> section to center it); the image file
should be placed in a folder named "images" within your Web Site
project folder
-
An appropriate title using a centered heading line (e.g. <h1>,
<h2>, etc.) should follow (also using the embedded style
sheet)
-
Place a formatted horizontal rule (you may choose what type of formatting
but also place it in the embedded style sheet) following the heading
-
Create a table into which all the quiz elements should be placed; center
the table within the Web page (also using the embedded style sheet)
-
The choices for answer to the first question should be placed in a
DropDownList server control
-
The choices for answer to the second question should be placed in a
series of RadioButton server controls
-
The choices for answers to the third question should be placed in a
series of CheckBox server controls; for this question there should be
more than one correct answer and the user must "check" all of the answers
for the question to be answered correctly
-
The next item on the Web page should be an ImageButton server control
(find the image file on the Internet or create one of your own and
place it in the "images" folder within your Web Site); when the user
clicks this button he/she will receive
feedback on the results of the quiz including a count
of the number of correct answers in the format:
You answered 2 questions correctly
Question 1 is correct
Question 2 is incorrect--the correct answer is ...
Question 3 is correct
-
The final item on the Web page will be a Label server control where
the feedback to the user shown above will be displayed
-
You may receive a possible 9 out 10 points for the assignment
as presented above; for full credit (a maximum of 10
possible points), use additional elements and/or styles to make the page
as visually and artistically pleasing as possible
-
The completed project, a ZIP file that contains the folder with all files
for the website, is due to Prof. Struck as an attachment to a
Brightspace
dropbox by 11:59 p.m. on the date specified in the course outline.