1/19
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
responsive design?
The ability to resize to the screen size
Which type of content should use an <aside>?
News Feed
embedding CSS
Goes in Header
Fixed
Locks element to the viewport; stays in place during scroll.
static
default, no positioning.
relative
offset from static, can anchor
absolute
floats freely, but needs a positioned parent to anchor to like relative
#brand {
font-weight: bold;
}
Which paragraph element will it select?
//<p id="brand">Web Design</p>
Which background-size property value scales the background image to the greatest height and width that fits within the specified content area?
contain
Which code segment contains a logical expression?
var discount = (total > 250) ? true : false;
variable name format for JavaScript
//let name;
//let _privateData;
//let $price;Which data type contains properties and methods?
Object
What must follow the name of a function in a JavaScript function declaration?
Parenthesis |
change var name = "student"; to uppercase
name = name.toUpperCase();
add the line to the drawn path on a canvas?
stroke
Which element allows a developer to add a caption for a created group of items?
Legend
bind a label element to an input element
for
regular expression
//<input type="text" name="name" pattern="[a-zA-Z]"> =PATTERN
Which unit of measurement should a developer use when designing mobile websites to ensure that content fits multiple screen sizes?
Percentage point of px
What is used in code to specify the width of an image in responsive web design?
Percentage