Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR #363

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

PR #363

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions Answers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
If you saw this HTML: <div class="box box1 box2 box3"></div> which class has the most specificity weight?
- box one has the most weight since it is the parent.
Describe the difference between display: block; and display: inline;.
- A block takes up the width available in a new line whereas an inline element only takes up as much space as it needs.
While using flexbox, what axis are you using when you use the property: align-items: center?
- the cross-axis
What is the difference between fixed layout, adaptive layout, fluid layout, and responsive layout?
- fixed: uses fixed widths and does not change
- adaptive: used fixed widths and media queries to change the page layout
- fluid: sizes of elements are in percentages and they change as the page changes, in the same proportion to eachother
- responsive: layout changes to fit different screens. For example, a webpage on a desktop browser may look different from a tablet or smartphone webpage.
Why do we need to use the CSS property max-width on the outter most container in a responsive website?
- We need to use max-width because we want to contain the elments within a page. Not doing so can result in horizontal scroll bars.
Loading