Introduction To Web Development Coursera | Week 4

2–4 minutes

read

WEEK 4 Quiz module

Advertisements

ANSWERS ARE MARKED WITH (T) SIGN.

1. Question 1 When considering the visual design of our website, which of these approaches was recommended?

Adding as much information as possible to our pages.

Using shocking colors to get attention.

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. (T)

2. Question 2 When considering the visual design of our website, which of these approaches was recommended?

Sites that critique designs of other sites are mean.

Sites that critique designs of other sites can be useful. (T)

Repeating background images always look good.

Irregular animated events make visitors feel welcome.

3. Question 3 What is true of approaches to CSS code? (Select all that apply.)

All of these are true

External is the best option (T)

Internal or local is the best option

Inline is the best option

Inline is the worst option (T)

Advertisements

4. Question 4 The CSS code p.medium {color:green;font-size:150%;} can be described as: (Select all that apply.)

Containing two name-value pairs. (T)

Shows the medium class that is required in Chrome.

All of these apply

Creating a larger than normal green font. (T)

5. Question 5 When referring to a reference to an external CSS file we can say

The HREF is not required because files are found automatically.

The HREF contains the name of the external CSS file. (T)

External CSS files are the most difficult to maintain.

Using HREF is a syntax error

6. Question 6 What is true of name-value pairs in CSS? (Select all that apply.)

Name and value are separated by a colon (T)

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 (T)

All of these are true

7. Question 7 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 (T)

8. Question 8 CSS comments are best described by: (Select all that apply.)

The /* */ can be used for multi-line comments (T)

CSS uses the same // symbol for comments that we learned in JavaScript.

CSS comments are inefficient and may pose a security risk

The /* */ can be used for single line comments (T)

9. Question 9 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 with as many styles as possible before testing.

Get an external CSS file working with just one style to start. (T)

10. Question 10 What can be said about using color in CSS?

Both background-color and color are necessary (T)

Background-color is an older approach not used in modern browsers

DIV tags can’t use colors of any kind

Background-color is preferrable to color

11. Question 11 What can be said about using color in CSS?

RGB allows greater control over the exact color (T)

We should prefer color by name

We should always use RGB

HEX notation for color is easiest to understand

None of these are true

12. Question 12 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 (T)

We can use float right and clear up or down.

We can use float: up

Advertisements

2 responses to “Introduction To Web Development Coursera | Week 4”

  1. I’m curious to find out what blog system you are working with? I’m experiencing some small security problems with my latest website and I’d like to find something more secure. Do you have any recommendations?

    Like

    1. In terms of? Please help in elaborating your concern.

      Like

Leave a comment