Skip to content
Pass Any WGU OA Exam Now & Pay After You Pass. Contact Us!
  1. Home
  2. WGU Exams
  3. WGU C777
  4. Set 2
WGU C777 · Web Development Applications

WGU C777 Practice Questions – Set 2

50 multiple-choice questions with answers and detailed explanations. Untimed — choose an answer to check it instantly.

Question 1 of 50

When using JavaScript, which method would be most appropriate for displaying a message box that does not require user input and only needs acknowledgment?

Question 2 of 50

What CSS3 property allows developers to define the distance of an element’s shadow from the element horizontally?

Question 3 of 50

Which HTML5 input attribute is used to set a limit on the maximum number of characters a user can enter?

Question 4 of 50

A developer needs to make the background image of a webpage extend only within the padding area of the element. Which background-clip value should they use?

Question 5 of 50

Which attribute should be added to the <audio> element to ensure it loops continuously?

Question 6 of 50

What is the primary purpose of the @media rule in CSS?

Question 7 of 50

If a developer wants to add multiple styles for an element that only show on hover, which CSS pseudo-class should they use?

Question 8 of 50

Which JavaScript object can be used to set up a pop-up confirmation box for the user to accept or cancel an action?

Question 9 of 50

When a developer uses the CSS display: none property, what effect does it have on the specified element?

Question 10 of 50

Which CSS property is used to change the way an element reacts to the z-index and stack order?

Question 11 of 50

In JavaScript, what will the following statement return? typeof "Hello"

Question 12 of 50

Which CSS3 property is used to add a configurable shadow to an element’s box?

Question 13 of 50

To display a context menu or tooltip only when an element is right-clicked, which HTML event attribute should be used?

Question 14 of 50

Which CSS property would you use to add space around an element’s border?

Question 15 of 50

What is the purpose of the z-index property in CSS?

Question 16 of 50

Which HTML5 element should be used to define a section containing an advertisement that is separate from the main content?

Question 17 of 50

A developer is using CSS to position an element at the bottom of its container, and they want it to stay there when the page is scrolled. Which position value should they use?

Question 18 of 50

In JavaScript, which object represents the structure of a webpage, allowing elements to be accessed and manipulated?

Question 19 of 50

Which attribute of the <input> element in HTML5 allows users to select a range of numbers using a slider control?

Question 20 of 50

Which JavaScript function returns the length of a string?

Question 21 of 50

Which HTML5 element is used to enclose interactive controls like forms or buttons at the top of a web page?

Question 22 of 50

If a developer wants to play a video from the beginning as soon as the webpage loads, which attribute should be included in the <video> tag?

Question 23 of 50

Which CSS property is used to ensure text that overflows its container is visually managed with ellipses or other effects?

Question 24 of 50

When specifying a custom font using the CSS @font-face rule, which properties are required?

Question 25 of 50

Which HTML5 input attribute would be used to provide a pattern for validating a US phone number format?

Question 26 of 50

Which CSS3 selector targets the last occurrence of an element within its parent container?

Question 27 of 50

What is the purpose of the defer attribute in the <script> tag?

Question 28 of 50

In CSS, how can a developer center an element horizontally within a container?

Question 29 of 50

Which HTML5 element is used to display the results of a calculation?

Question 30 of 50

Which CSS property sets the background of an element to only cover the content, excluding padding and border?

Question 31 of 50

In JavaScript, which method is used to retrieve a periodic update about the user's current geographic location?

Question 32 of 50

What CSS property specifies whether an element should be hidden or visible, without affecting the layout of the page?

Question 33 of 50

Which HTML5 type allows users to select a value using a calendar picker?

Question 34 of 50

What is the purpose of the CSS overflow property?

Question 35 of 50

In HTML5, which attribute should be used to define a default value for an element?

Question 36 of 50

Which JavaScript event occurs when a user removes the input focus from a form field?

Question 37 of 50

What is the purpose of the CSS font-family property?

Question 38 of 50

Which HTML5 input type allows users to select a number by typing or by using up and down arrows?

Question 39 of 50

To make an image draggable in HTML5, which attribute should be set to "true"?

Question 40 of 50

Which CSS property would you use to specify that an element's content should not exceed the boundaries of the element's box?

Question 41 of 50

In JavaScript, which operator checks for both value and type equality between two expressions?

Question 42 of 50

Which CSS3 property allows text to break and wrap within a container without adding a hyphen?

Question 43 of 50

Which HTML5 API is used for controlling and modifying a web page's browsing history?

Question 44 of 50

When using the <form> element, which HTML5 attribute specifies the server endpoint where form data should be sent?

Question 45 of 50

In HTML5, which attribute is used to disable input validation for a form before submission?

Question 46 of 50

A developer wants to use a CSS class to apply floating behavior to an image. Which property would be most useful?

Question 47 of 50

Which CSS3 @rule is used to define custom fonts for a website?

Question 48 of 50

What type of variable in JavaScript holds a value of either true or false?

Question 49 of 50

In CSS3, which property allows an element to appear visible or invisible based on the user’s viewpoint in 3D space?

Question 50 of 50

Which JavaScript event occurs when the user modifies the value in a form field?

Set 2 complete

You scored 0%

0 correct out of 0 answered (50 questions in this set).

Next: Set 3

Struggling with WGU C777?

If this exam is giving you a hard time, let us be your helping hand. Contact us, and we'll provide the assistance you need to pass and move forward.

Chat Now