From 54f62c70e9ffdaeebade1f3bdc0283d7381bea46 Mon Sep 17 00:00:00 2001 From: ImAlpha Date: Fri, 2 Jun 2023 02:43:31 -0700 Subject: [PATCH] completed margin and padding exercises --- Markdown/TheOdinProjectNotes.md | 7 ++++++- margin-and-padding/css-exercises | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) create mode 160000 margin-and-padding/css-exercises diff --git a/Markdown/TheOdinProjectNotes.md b/Markdown/TheOdinProjectNotes.md index 6e0016a..396b7ec 100644 --- a/Markdown/TheOdinProjectNotes.md +++ b/Markdown/TheOdinProjectNotes.md @@ -830,4 +830,9 @@ p { - Inline block elements behave like inline elements, but with block-style padding and margin - Can be useful, but nowadays people use **flexbox** more often #### Divs and Spans -- Block-level element, separates parts of the page for organization purposes. \ No newline at end of file +- Block-level element, separates parts of the page for organization purposes. +- This is also known as a "container" element +- `Span` is an inline-level element by default, but it can be used to group text content and inline HTML elements for styling and should only be used when no other semantic HTML element is appropriate. +#### Ending exercises +- W3 schools [block-level elements in HTML with descriptions](https://www.w3schools.com/html/html_blocks.asp) +- \ No newline at end of file diff --git a/margin-and-padding/css-exercises b/margin-and-padding/css-exercises new file mode 160000 index 0000000..07e096d --- /dev/null +++ b/margin-and-padding/css-exercises @@ -0,0 +1 @@ +Subproject commit 07e096da6ca4a659dc8ac1b5c6e67bf27b4cb139