Skip to content

Commit f36af46

Browse files
committed
Completed answers.md
1 parent 069aa4d commit f36af46

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Answers.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
1. If you had to describe semantic HTML to the next cohort of students, what would you say?
2+
Semantic HTML is HTML with meaning. For example <div> ... </div> you dont know what that div contains.If I where to say <nav> ... </nav> you know what that contains. It is a good example of semantic HTML.
23

3-
2. Describe some differences between ```display: block;``` and ```display: inline;```.
4+
2. Describe some differences between `display: block;` and `display: inline;`.
5+
elements with `Display: block` property applied will use the full width. Elements with `display: inline;` will only take the amount of space required for the content also not affected by height property unlike block elements.
46

5-
3. What are the 4 areas of the box model?
7+
3. What are the 4 areas of the box model? The 4 areas of the box model are margin, border, padding, and content. Margin is the space around the element. border is the border around the element between margin and padding. padding is the space inside the element around the content. Content is the innermost area of the element.
68

7-
4. While using flexbox, what axis are you using when you use the property: ```align-items: center```?
9+
4. While using flexbox, what axis are you using when you use the property: `align-items: center`? The property align-items aligns on the cross axis
810

9-
5. What is the git command to commit staged changes as well as write a message?
11+
5. What is the git command to commit staged changes as well as write a message? git commit -m "This is your commit message"

0 commit comments

Comments
 (0)