Question: * * Please , include pictures of the steps. * * In this exercise, you'll view and modify a web page for a survey. This
Please include pictures of the steps.
In this exercise, you'll view and modify a web page for a survey. This should
give you some handson experience with working with HTML and CSS
Review the HTML and CSS
Start your IDE and open the chexlsurvey project in the exstarts
directory.
Open the index.html page and review its HTML
Open the survey.css page in the styles subdirectory and review its CSS
Test the page
Run the project. This should display the web page in your web browser. In the
browser's address bar, the URL for the page should use the Tomcat server.
Open the Windows Explorer PC or Finder Mac and doubleclick on the
index.html file that's in the chsurveyweb folder to display the page in your
web browser. This time, the URL for the page should use the file system, not
the Tomcat server.
Run the project again. When Tomcat displays the web page, click the Submit
button. Since you didn't enter the required fields, this should cause the browser
to display an error.
Section Essential servlet and JSP skills
Fill out all required fields and click the Submit button again. This should
request this URL:
http:localhost:chexsurveysurvey
For now, this should display an error that indicates that no resource exists at
this URL. In the next chapter, you'll learn how to map a servlet to this URL.
Modify the page
After each step that follows, run the page to make sure the changes are correct.
If necessary, click the browser's Refresh button to refresh the page.
Edit the survey.html page so it displays the image for the Murach logo at the
top of the page. This image is in the images directory of your web application.
After the label and text box that let the user enter an email address, add
another label and text box that let the user enter a date of birth. This data
should be optional, not required.
Turn the Search engine button on as the default button for the group of radio
buttons.
Add a Social Media radio button before the Other radio button.
After the check box, add another check box with a name of emailOK and text
that says, "YES, please send me email announcements." Then, modify both
check boxes so that neither one is checked by default.
When you've got everything working right, close the project.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
