Page 1 of 44
1
WGU C777 OBJECTIVE ASSESSMENT WEB
DEVELOPMENT APPLICATIONS EXAM
LATEST 2024-2025 COMPLETE 250
QUESTIONS AND CORRECT ANSWERS
JUST RELEASED
WGU C777 EXAM A
Which Canvas application programming interface (API) method should a developer use to add the line to the drawn path on a canvas? - ANSWER-stroke()
Which method of the Geolocation application programming interface (API) should a developer use to get periodic updates of a user's coordinates? - ANSWER-watchPosition()
Which statement should a developer add to the dragOver function to allow the image to be dragged and dropped onto the section element? - ANSWER-event.preventDefault();
Which line of code should a developer use to create an interface that can retrieve data in a client browser? - ANSWER-new XMLHttpRequest();
Given the following HTML code:
- / 4
Page 2 of 44
2
- One
- Two
Which jQuery code segment inserts an item at the beginning of the list? - ANSWER- $("ul").prepend("
Which HTML tag provides ways for users to enter information on forms? - ANSWER-
Which HTML input type allows for mailto: address entry? - ANSWER-url
Which form attribute limits the number of characters for an input field? - ANSWER-maxlength
Which element allows a developer to add a caption for a created group of items? - ANSWER-
Which attribute value presents form data to a server for processing? - ANSWER-submit
- / 4
Page 3 of 44
3 Which global attribute should a developer use to bind a label element to an input element? - ANSWER-for
Given the following HTML:
What color would you like to use?
What happens when the page loads? - ANSWER-The select element in the form takes focus.
Which code segment creates input text that has its value checked against a regular expression?
- ANSWER-
- / 4
Page 4 of 44
4 What is a limitation of user input validation? - ANSWER-Validation detects only incorrect formatting and missing information.
Given the following markup:
What does the markup do? - ANSWER-It allows a user to enter a password between 8 and 12 characters long.
Which HTML pattern attribute validates an IPv4 address? - ANSWER-
Given the following code:
- / 4