Introduction To Web Development
week 4 Quiz Answer
Q1) When considering the visual design of our website, which of these approaches was recommended?
- Using shocking colors to get attention.
- Adding as much information as possible to our pages.
- Using more techniques because we want to include every skill we’ve learned.
- Consider how the site will appear to users and seek feedback from friends
Q2) When considering the visual design of our website, which of these approaches was recommended?
Q3) What is true of approaches to CSS code? (Select all that apply.)
- Sites that critique designs of other sites are mean.
- Sites that critique designs of other sites can be useful
- Repeating background images always look good.
- Irregular animated events make visitors feel welcome.
- External is the best option
- Internal or local is the best option
- Inline is the best option
- Inline is the worst option
- Advertisements
- All of these are true
Q4) The CSS code p.medium {color:green;font-size:150%;} can be described as: (Select all that apply.)
- Containing two name-value pairs
- Creating a larger than normal green font
- Shows the medium class that is required in Chrome.
- All of these apply
- Using HREF is a syntax error
- The HREF contains the name of the external CSS file
- External CSS files are the most difficult to maintain.
- The HREF is not required because files are found automatically.
Q6) What is true of name-value pairs in CSS? (Select all that apply.)
- Name and value are separated by a colon
- Name and value are separated by a semicolon
- We are limited for three or fewer name-value pairs per style.
- Pairs are separated by semicolons
- All of these are true
Q7) When referring to CSS selectors we can say
- Para selects all paragraph tags
- The dot selects elements by IDs
- There is no way to select all paragraph tags with CSS
- The pound sign # selects elements by ID
Q8) CSS comments are best described by: (Select all that apply.)
- The /* */ can be used for multi-line comments
- CSS comments are inefficient and may pose a security risk
- The /* */ can be used for single line comments
- CSS uses the same // symbol for comments that we learned in JavaScript.
Q9) Which strategy was recommended to get your CSS working?
- Make lots of typos so you can fix them.
- Use inline styles whenever possible
- Get an external CSS file working with just one style to start
- Get an external CSS file with as many styles as possible before testing.
Q10) What can be said about using color in CSS?
- Both background-color and color are necessary
- DIV tags can’t use colors of any kind
- Background-color is preferable to color
- Background-color is an older approach not used in modern browsers
Q11) What can be said about using color in CSS?
- We should prefer color by name
- We should always use RGB
- RGB allows greater control over the exact color
- HEX notation for color is easiest to understand
- None of these are true
Q12) What can we say about using CSS to control page layout?
- We can use float:down and clear: down
- We can use float: left and clear: left
- We can use float right and clear up or down.
- We can use float: up
---------------------------------------------------------------------------------------------------------------------------------------------
Introduction To Web Development
---------------------------------------------------------------------------------------------------------------------------------------------
1 Comments
Nice Article Thanks for share this.
ReplyDelete