WGU C777 – PA EXAM QUESTIONS AND
CORRECT ANSWERS
.A developer has an image that needs to remain in the same place when the
page is scrolled.
Which CSS positioning scheme should this developer use? - ANSWER-Fixed
.A developer needs two pixels of space on the left side of content relative to the
border.
Which CSS property should this developer use? - ANSWER-padding-left: 2px;
.A user's information defaults onto a form.
Which event triggers if the user keys in a new value in the First Name field? -
ANSWER-change
.A web designer creates the following animation by using CSS3:
#texteffect {
position: relative;
animation-name: scroll;
,2|Page
animation-duration: 5s;
animation-timing-function: linear;
animation-play-state: running;
}
@keyframes scroll {
from {left: 0px;}
to {left: 200px;}
}
How does the content of the element move when the page loads? - ANSWER-
From left to right one time
.A web designer reviews the following CSS3 code:
#brand {
font-weight: bold;
}
Which paragraph element will it select? - ANSWER-<p id="brand">Web
Design</p>
.A web developer needs to play an audio file endlessly.
The developer writes the following HTML code:
, 3|Page
<audio>
<source src = "media/audio.ogg" type="audio/ogg" />
</audio>
Which attribute should this developer use? - ANSWER-loop
.A web page has a section that contains an <aside> element. The element is
always 10 pixels from the right and 50 pixels from the top of the browser.
Which type of layout positioning does the <aside> element use? - ANSWER-
Fixed
.A web page includes the following CSS code:
@keyframes anim_01 {
0% {left: 0px; top: 0px;}
50% {left: 200px; top: 0px;}
100% {left: 600px; top: 0px;}
}
#animation {
position:relative;
animation-name: anim_01;
animation-duration: 4s;