WGU C777 WEB DEVELOPMENT APPLICATIONS | WESTERN GOVERNORS
UNIVERSITY | ACADEMIC YEAR 2026/2027 | COMPREHENSIVE FINAL EXAMINATION |
100 VERIFIED QUESTIONS AND CORRECT ANSWER RATIONALES
1. History.replacestate(state object, title, url) - ANSWERS-History API that replaces the
current history URL with a different one, instead of adding a new one
2. History.length - ANSWERS-History API to retrieve number of entries for the current
window
3. History.state - ANSWERS-History API that returns the state object at the top of the
history stack
4. Window.onpopstate - ANSWERS-An event handler that is called when the history
changes for a document in the browser window
5. Text() - ANSWERS-jquery method that sets or returns the text content of selected
elements
6. Html() - ANSWERS-jquery method that sets or returns the content of selected
elements (including HTML markup)
7. Val() - ANSWERS-jquery method that sets or returns the values of form fields
8. Attr() - ANSWERS-jquery method used to get and set attribute values. The method all
can set multiple attributes simultaneously.
9. Append() - ANSWERS-jquery method to insert content at the end of the selected
elements
10. Prepend() - ANSWERS-jquery method to insert content at the beginning of the
selected elements
11. After() - ANSWERS-jquery method to insert content after the selected elements
12. Before() - ANSWERS-jquery method to insert content before the selected elements
13. Remove() - ANSWERS-jquery method to remove and element and its children
14. Empty() - ANSWERS-jquery method to remove the children of an element, but not the
element itself
15. Text - ANSWERS-If the type of an input element is omitted, the browser infers it to be
this
16. Text - ANSWERS-If the type of an input is not supported by a browser, the browser will
default to this type
, 17. Color - ANSWERS-HTML5 input type allowing the user to pick a color
18. Date - ANSWERS-HTML5 input type allowing the user to enter a date (without time
zone) using a drop-down date-picker calendar
19. Datetime - ANSWERS-HTML5 input type allowing the user to choose a date and time
with a GMT time zone
20. Datetime-local - ANSWERS-HTML5 input type allowing the user to choose a date and
time with a local time zone
21. Email - ANSWERS-HTML5 input type allowing the user to enter one or more e-mail
addresses
22. Month - ANSWERS-HTML5 input type allowing the user to choose a date using the
month and year (without time zone)
23. Number - ANSWERS-HTML5 input type allowing the user to enter rational integers or
float values
24. Range - ANSWERS-HTML5 input type the user to enter numbers using a slider control
25. Search - ANSWERS-HTML5 input type allowing the user to enter text for a search
query
26. Tel - ANSWERS-HTML5 input type allowing the user to enter a phone number
27. Time - ANSWERS-HTML5 input type allowing the user to enter a time (without time
zone)
28. Url - ANSWERS-HTML5 input type allowing the user to enter a URL
29. Week - ANSWERS-HTML5 input type allowing the user to choose a date using the
week and year (without time zone)
30. Min and max - ANSWERS-HTML5 attributes that can be used on input elements (like
date, month, number, etc.) To define the limits of a range
31. Datalist - ANSWERS-HTML5 input element that specifies a list of pre-defined choices
for an input element, displayed as a dropdown that narrows down as the user types
32. Keygen - ANSWERS-HTML5 input element that creates a key-pair generator field in the
form
33. Output - ANSWERS-HTML5 input element that displays the result when a calculation
is performed
UNIVERSITY | ACADEMIC YEAR 2026/2027 | COMPREHENSIVE FINAL EXAMINATION |
100 VERIFIED QUESTIONS AND CORRECT ANSWER RATIONALES
1. History.replacestate(state object, title, url) - ANSWERS-History API that replaces the
current history URL with a different one, instead of adding a new one
2. History.length - ANSWERS-History API to retrieve number of entries for the current
window
3. History.state - ANSWERS-History API that returns the state object at the top of the
history stack
4. Window.onpopstate - ANSWERS-An event handler that is called when the history
changes for a document in the browser window
5. Text() - ANSWERS-jquery method that sets or returns the text content of selected
elements
6. Html() - ANSWERS-jquery method that sets or returns the content of selected
elements (including HTML markup)
7. Val() - ANSWERS-jquery method that sets or returns the values of form fields
8. Attr() - ANSWERS-jquery method used to get and set attribute values. The method all
can set multiple attributes simultaneously.
9. Append() - ANSWERS-jquery method to insert content at the end of the selected
elements
10. Prepend() - ANSWERS-jquery method to insert content at the beginning of the
selected elements
11. After() - ANSWERS-jquery method to insert content after the selected elements
12. Before() - ANSWERS-jquery method to insert content before the selected elements
13. Remove() - ANSWERS-jquery method to remove and element and its children
14. Empty() - ANSWERS-jquery method to remove the children of an element, but not the
element itself
15. Text - ANSWERS-If the type of an input element is omitted, the browser infers it to be
this
16. Text - ANSWERS-If the type of an input is not supported by a browser, the browser will
default to this type
, 17. Color - ANSWERS-HTML5 input type allowing the user to pick a color
18. Date - ANSWERS-HTML5 input type allowing the user to enter a date (without time
zone) using a drop-down date-picker calendar
19. Datetime - ANSWERS-HTML5 input type allowing the user to choose a date and time
with a GMT time zone
20. Datetime-local - ANSWERS-HTML5 input type allowing the user to choose a date and
time with a local time zone
21. Email - ANSWERS-HTML5 input type allowing the user to enter one or more e-mail
addresses
22. Month - ANSWERS-HTML5 input type allowing the user to choose a date using the
month and year (without time zone)
23. Number - ANSWERS-HTML5 input type allowing the user to enter rational integers or
float values
24. Range - ANSWERS-HTML5 input type the user to enter numbers using a slider control
25. Search - ANSWERS-HTML5 input type allowing the user to enter text for a search
query
26. Tel - ANSWERS-HTML5 input type allowing the user to enter a phone number
27. Time - ANSWERS-HTML5 input type allowing the user to enter a time (without time
zone)
28. Url - ANSWERS-HTML5 input type allowing the user to enter a URL
29. Week - ANSWERS-HTML5 input type allowing the user to choose a date using the
week and year (without time zone)
30. Min and max - ANSWERS-HTML5 attributes that can be used on input elements (like
date, month, number, etc.) To define the limits of a range
31. Datalist - ANSWERS-HTML5 input element that specifies a list of pre-defined choices
for an input element, displayed as a dropdown that narrows down as the user types
32. Keygen - ANSWERS-HTML5 input element that creates a key-pair generator field in the
form
33. Output - ANSWERS-HTML5 input element that displays the result when a calculation
is performed