Code Solutions | Guaranteed Success 2025/2026
What should a developer use to test sites for cross-browser compatibility?
Correct answer: Emulator
What is a goal of responsive web design?
Correct answer: Dynamic element adjustments
Which property allows the element to appear to float above the document and can be
positioned as needed? It is completely removed from the rest of the page flow.
Correct answer: position: absolute
What selector is used to select every element whose attribute ends with a given value?
Correct answer: element[attribute$=value]
What selector is used to select every element whose attribute starts with a given value?
Correct answer: element[attribute^=value]
What are the two required properties for @font-face?
Correct answer: font-family and src
Which 2D transform method rotates the element clockwise by 90 degrees? (A negative
value rotates the element counter-clockwise)
Correct answer: rotate(90)
You need to specify where to send user input on a <button> when the form is submitted.
Which button attribute will accomplish this task? (overrides the <form> element's action
attribute)
Correct answer: formaction
, What is a benefit of first creating a mobile website, then a mobile app?
Correct answer: Mobile websites are easier to develop
What CSS3 transition properly changes an element from one style to another style
when an image is selected?
Correct answer: transition: width 3s, height 3s, transform 3s;
What type or category of CSS3 techniques do properties such as box-sizing, nav-down,
and resize fall under?
Correct answer: CSS3 user interfaces
What are some properties of the CSS3 User Interface?
Correct answer: cursor, appearance, aspect-ratio, box-sizing
What property defines the location to which the background-position property should be
relative?
Correct answer: background-origin
What property determines whether the background extends into the border or not?
Correct answer: background-clip
What happens if you don't specify the duration of the transition property in CSS3
transitions?
Correct answer: No transition will occur
What naming rule stipulates that a function name must begin with a letter or underscore
character?
Correct answer: letter or underscore character