WGU C777 Questions and Answers
Already Graded A
What is the purpose of using the CSS3 h3 ~ p selector? ✔✔To select all elements that are
preceded by an element
Fixed Positioning ✔✔does not move when scrolled.
Rela
...
WGU C777 Questions and Answers
Already Graded A
What is the purpose of using the CSS3 h3 ~ p selector? ✔✔To select all
elements that are
preceded by an
element
Fixed Positioning ✔✔does not move when scrolled.
Relative Positioning ✔✔appear relative to other elements on the page.
absolute positioning ✔✔float above the document and can be positioned as needed.
background-clip ✔✔Specifies the painting area of the background
background-origin ✔✔Positions the background-image relative to an element's border, padding,
or content
background-size ✔✔Specifies the size of the background images
border-image ✔✔Creates a border that uses an image instead of a line
border-radius ✔✔defines the shape or curve of a border around an element
box-shadow ✔✔applies shadows to edges of elements to create visual depth
opacity ✔✔specifies transparency for an HTML element
Resize ✔✔Defines whether an element can be resized by the user and how it can be resized
text-overflow ✔✔cuts off, or clips, text that extends beyond its container
text-shadow ✔✔applies shadows to edges of text characters to create visual depth
Which statement regarding external CSS style sheets is true? ✔✔The external CSS file to which
you link contains only CSS style rules, no HTML.
This code is an example of: ✔✔an inline CSS
style attribute.
Static Positioning ✔✔stay within the normal document flow when a user renders the page in a
browser.
The CSS3 @font-face rule requires you to specify which two properties? ✔✔font-family and src
How can you specify transparency for an element? ✔✔With the CSS3 opacity property
CSS3 added support for multiple background images. Which declaration uses the correct syntax
for applying two background images to the same element? ✔✔background-image:
url("images/logo.png"), url("images/pattern.png");
Ezra wants to use an image to completely cover the background in a Web page. He wants to fill
the entire background while maintaining the aspect ratio of the image. Which value should he
assign to the CSS3 background-size property? ✔✔cover
Which value of the CSS3 box-shadow property specifies the shadow's size, but is optional?
✔✔spread
v-shadow value (y-offset) ✔✔specifies the vertical shadow position
creates an inward shadow instead of an outward shadow ✔✔inset value
Values for the CSS3 box-sizing property ✔✔content-box and border-box
To allow users to change the size of elements on a Web page, such as a
element, you can
add which CSS3 property? ✔✔resize
Which CSS3 animation property requires you to change the default value, otherwise no animation
will occur? ✔✔The animation-duration property
Which CSS3 property is used to bind a selector to the animation defined in an @keyframes rule?
✔✔animation-name
CSS3 allows you to create rounded navigation menus without the use of: ✔✔JavaScript or images.
In programming, developers use what two other terms to refer to the attributes and behaviors
assigned to objects? ✔✔Properties and methods
JavaScript is a scripting language. Scripting languages: ✔✔interpret and automate a list of tasks
that would otherwise be executed one-at-a-time by a person.
What is advantageous about the fact that JavaScript is not compiled to any specific hardware
platform or operating system? ✔✔JavaScript code can be developed quickly.
Which CSS3 property can be used to apply a delay effect when an element changes from one style
to another, such as when a user hovers over an element? ✔✔transition
JavaScript makes extensive use of objects. What is the term for the various attributes that can be
assigned to an object? ✔✔Properties
In JavaScript, what is a property? ✔✔A descriptive characteristic of an object that the developer
specifies when creating the object
To what does the term "inline scripting" refer when you want to use JavaScript to add dynamic
interactivity to your Web pages? ✔✔Embedding scripting instructions directly into certain HTML
tags
Method ✔✔the actions that an object can be made to perform, such as a calculation, an onscreen
movement or the writing of text in a window.
Which example is a valid variable name in JavaScript? ✔✔_firstName or $firstName
The document.write() method ✔✔Which JavaScript method should you use if you want to specify
a message string to appear on your Web page as it loads?
JavaScript has some basic rules for naming variables. For example, the first character of the
variable name must be: ✔✔a letter, the underscore ( _ ) character or the dollar sign ( $ ).
In JavaScript, what is a value? ✔✔A specific quality that belongs to the property of an object
In JavaScript, what function does the prompt() method perform? ✔✔It creates a pop-up box with
a text field and requests the user to input information into the field.
Why is it essential to include operators in your script? ✔✔To instruct the program how to store or
manipulate a value in an expression
Consider the following code:
var userName = "Titan";
What component of JavaScript is "Tit
[Show More]
Last updated: 4 years ago
Preview 1 out of 9 pages