Skip to content

Latest commit

 

History

History
112 lines (77 loc) · 2.73 KB

README.md

File metadata and controls

112 lines (77 loc) · 2.73 KB

Week 01

Instructions

  1. Fork this repo
  2. Clone your fork
  3. Fill in your answers by writing in the appropriate area, or placing an 'x' in the square brackets (for multiple-choice questions).
  4. Add/Commit/Push your changes to Github.
  5. Open a pull request.

HTML

Question #1

What does it mean for an HTML tag to be "semantic"? Give an example of a short snippet of HTML written using semantic tags and non-semantic tags.

Your answer here.

Question #2

What is the purpose of the alt attribute? e.g:

<img src='https://jesse.sh/img/me.jpg' alt='Jesse Shawl'/>
Your answer here.

Question #3

What is the purpose of the <head></head> tag in HTML?

Your answer here.

CSS

Question #4

In the spaces below, write the CSS property that best matches the given description.

The choices are border, outline, padding, and margin. You will leave two spaces blank.

Your Answer:

___: Defines the distance between an element's border and adjacent elements' borders.
___: Inserts a "wall" around an element.
___: Defines the distance between an element's content and its border.
___: Defines the width of an element.
___: Overlays a "wall" on top of an element.
___: Defines the distance between the center of an element and the center of the adjacent element.

Question #5

What does the following selector do? ul.dropdown > li?

Select 1:

[] Selects all li's which are directly inside a ul of class dropdown (children)
[] Selects all li's which are anywhere inside a ul of class dropdown (any descendant)
[] Selects all ul's of class dropdown, as well as the children elements that are li's
[] Selects all ul's of class dropdown, only if their children are exclusively li's

Question #6

Identify the three places CSS can go, and rank them in terms of specificity:

1.
2.
3.

Git

Question #7

Which of the following represents a correct workflow for submitting a PR on a non-master branch? (ignore the lack of commit messages)

Select 1:

[] fork on github; git clone <fork_url>; git checkout -b <charlie_solution>; git add <files>; git commit; git push; create pull request
[] fork on github; git clone <ga_dc_url>; git checkout -b <charlie_solution>; git add <files>; git commit; git push; create pull request
[] git clone <ga_dc_url>; git branch <charlie_solution>; git add <files>; git commit; git push; create pull request
[] fork on github; git clone <fork_url>; git checkout -b <charlie_solution>; git add <files>; git commit; git pull; create pull request

Question 8

What is the difference between a fork and a clone?

Your answer here.

Question 9

How is git pull related to git fetch?

Your answer here.