- | P a g e
WGU D276 OA EXAM NEWEST 2024 / WGU D276 WEB
DEVEOPMENT FOUNDATIONS NEWEST 2024
ACTUAL EXAM TEST BANK 280 QUESTIONS AND
CORRECT DETAILED ANSWERS (VERIFIED
ANSWERS) |ALREADY GRADED A+
Of the following, select the valid ways that we can specify color.
- ANSWER- Hexadecimal color
HSL color value RGB color value RGBA color value
Which CSS layout mode provides an efficient way to lay out elements in a container so the elements behave predictably when the container is resized or viewed on different screen sizes? - ANSWER- flexible box or flexbox
Which CSS shorthand property can be used to specify flex- grow, flex-shrink, and flex-basis together. - ANSWER- flex
True or false? Positive offset-x and offset-y make the shadow appear to the right and below the text, but negative values make the shadow appear to the left and above the text. - ANSWER- true 1 / 4
- | P a g e
True or false? The CSS property appearance is used to control a widget appearance based on the operating system theme. Setting appearance to none hides the widget. - ANSWER- true
Which CSS selector selects only checkboxes that are checked? -
ANSWER- input[type=checkbox]:checked
What do we call a set of extensions to CSS that allow properties to use variables, arithmetic, and functions? - ANSWER- SassScript
True or false? Phone numbers and addresses are typically of equal importance to desktop and mobile website users. - ANSWER- false
Which media query matches a 320px wide viewport whose width is larger than the viewport's height? - ANSWER- @media screen and (min-width:320px) and (orientation:landscape){...}
What is the rules view? - ANSWER- a devtools view where you should be able to see the CSS properties and values applied to an HTML element
- / 4
- | P a g e
What are the three (3) components of the debugging process? - ANSWER- find it, fix it, identify it
What is a difference between HTML and the DOM? - ANSWER- when the DOM is manipulated using devtools, the HTML source code does not change
How many heading element tags are there? - ANSWER- 6
True or false? A boolean attribute is false when present and true when absent. - ANSWER- false
Which of the following is the definition of a CSS declaration BLOCK? - ANSWER- One or more declarations separated by semicolons (;)
True or false: An inline style uses curly braces ({}). -
ANSWER- false
What is the proper syntax to use a CSS variable called --section-
color? - ANSWER- color: var(--section-color);
- / 4
- | P a g e
Which CSS layout mode divides a web page into a rectangular grid in which to position page elements? - ANSWER- grid layout
What is an element that has the CSS property display set to grid to create a block-level container or inline-grid to create an inline container? - ANSWER- grid container
Which CSS property controls the speed of an animation between keyframes? - ANSWER- animation-timing-function
What CSS selector selects only text inputs? - ANSWER- input[type=text]
True or false? JavaScript does not run as quickly on a mobile web browser. - ANSWER- true
Which of the following is a device category that a media query
applies to? (ex: all, print, and screen) - ANSWER- media type
Is there a media type that specifically targets mobile devices? - ANSWER- no
- / 4