- Fork this repo
- Clone your fork
- Fill in your answers by writing in the appropriate area, or placing an 'x' in the square brackets (for multiple-choice questions).
- Add/Commit/Push your changes to Github.
- Open a pull request.
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.
What is the purpose of the alt
attribute? e.g:
<img src='https://jesse.sh/img/me.jpg' alt='Jesse Shawl'/>
Your answer here.
What is the purpose of the <head></head>
tag in HTML?
Your answer here.
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.
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
Identify the three places CSS can go, and rank them in terms of specificity:
1.
2.
3.
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
What is the difference between a fork and a clone?
Your answer here.
How is git pull
related to git fetch
?
Your answer here.