diff --git a/starter/02-HTML-Fundamentals/blog.html b/starter/02-HTML-Fundamentals/blog.html new file mode 100644 index 000000000..165b5dd01 --- /dev/null +++ b/starter/02-HTML-Fundamentals/blog.html @@ -0,0 +1,14 @@ + + + + + + + Document + + +

Blog

+ + Home + + diff --git a/starter/02-HTML-Fundamentals/component.html b/starter/02-HTML-Fundamentals/component.html new file mode 100644 index 000000000..88978d75b --- /dev/null +++ b/starter/02-HTML-Fundamentals/component.html @@ -0,0 +1,30 @@ + + + + + + + Challenge #2 + +

Converse Chuck Taylor All Star Low Top

+ + Sneaker shoes +

$65.00

+

Free shipping

+

Ready to dress up or down, these classic canvas are an everyday wardrobe staple

+ + More information → + +

Product details

+ + + + + + + diff --git a/starter/02-HTML-Fundamentals/content.txt b/starter/02-HTML-Fundamentals/content.txt index ae01eb723..791d0756d 100644 --- a/starter/02-HTML-Fundamentals/content.txt +++ b/starter/02-HTML-Fundamentals/content.txt @@ -19,7 +19,7 @@ In HTML, each element is made up of 3 parts: The opening tag The closing tag The actual element -You can learn more at the MDN Web Docs. +hy JavaScript Why should you learn HTML? diff --git a/starter/02-HTML-Fundamentals/challenges.jpg b/starter/02-HTML-Fundamentals/img/challenges.jpg similarity index 100% rename from starter/02-HTML-Fundamentals/challenges.jpg rename to starter/02-HTML-Fundamentals/img/challenges.jpg diff --git a/starter/02-HTML-Fundamentals/laura-jones.jpg b/starter/02-HTML-Fundamentals/img/laura-jones.jpg similarity index 100% rename from starter/02-HTML-Fundamentals/laura-jones.jpg rename to starter/02-HTML-Fundamentals/img/laura-jones.jpg diff --git a/starter/02-HTML-Fundamentals/post-img.jpg b/starter/02-HTML-Fundamentals/img/post-img.jpg similarity index 100% rename from starter/02-HTML-Fundamentals/post-img.jpg rename to starter/02-HTML-Fundamentals/img/post-img.jpg diff --git a/starter/02-HTML-Fundamentals/related-1.jpg b/starter/02-HTML-Fundamentals/img/related-1.jpg similarity index 100% rename from starter/02-HTML-Fundamentals/related-1.jpg rename to starter/02-HTML-Fundamentals/img/related-1.jpg diff --git a/starter/02-HTML-Fundamentals/related-2.jpg b/starter/02-HTML-Fundamentals/img/related-2.jpg similarity index 100% rename from starter/02-HTML-Fundamentals/related-2.jpg rename to starter/02-HTML-Fundamentals/img/related-2.jpg diff --git a/starter/02-HTML-Fundamentals/related-3.jpg b/starter/02-HTML-Fundamentals/img/related-3.jpg similarity index 100% rename from starter/02-HTML-Fundamentals/related-3.jpg rename to starter/02-HTML-Fundamentals/img/related-3.jpg diff --git a/starter/02-HTML-Fundamentals/index.html b/starter/02-HTML-Fundamentals/index.html new file mode 100644 index 000000000..d1aebbc90 --- /dev/null +++ b/starter/02-HTML-Fundamentals/index.html @@ -0,0 +1,147 @@ + + + + + The Basic Language of the Web: HTML + + + + + +
+

πŸ“˜ The Code Magazine

+ + +
+ +
+
+

The Basic Language of the Web: HTML

+ + Picture of the author: laura Jones +

Posted by Jones on Monday, June 21st 2027

+ + + + + HTML code on the screen +
+ + + + + +

+ All modern websites and web applications are built using three + fundamental technologies: HTML, CSS and JavaScript. These are the + languages of the web. +

+

+ In this post, let's focus on HTML. We will learn what HTML is all about, + and why you too should learn it. +

+

What is HTML?

+

+ HTML stands for Hyper Text + Markup Language. It's a markup + language that web developers use to structure and describe the content + of a webpage (not a programming language). +

+ +

+ HTML consists of elements that describe different types of content: + paragraphs, links, headings, images, video, etc. Web browsers understand + HTML and render HTML code as websites. +

+ +

In HTML, each element is made up of 3 parts:

+ +
    +
  1. The opening tag
  2. +
  3. The closing tag
  4. +
  5. The actual element
  6. +
+ +

+ You can learn more at the + MDN Web Docs. +

+ +

Why should you learn HTML?

+

+ There are countless reasons for learning the fundamental language of the + web. Here are 5 of them: +

+ + + +

Hopefully you learned something new here. See you next time!

+
+ + + + + + diff --git a/starter/03-CSS-Fundamentals/component.html b/starter/03-CSS-Fundamentals/component.html new file mode 100644 index 000000000..88978d75b --- /dev/null +++ b/starter/03-CSS-Fundamentals/component.html @@ -0,0 +1,30 @@ + + + + + + + Challenge #2 + +

Converse Chuck Taylor All Star Low Top

+ + Sneaker shoes +

$65.00

+

Free shipping

+

Ready to dress up or down, these classic canvas are an everyday wardrobe staple

+ + More information → + +

Product details

+ + + + + + + diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html index df8a623a8..a83120456 100644 --- a/starter/03-CSS-Fundamentals/index.html +++ b/starter/03-CSS-Fundamentals/index.html @@ -2,6 +2,7 @@ + The Basic Language of the Web: HTML @@ -14,133 +15,143 @@

The Basic Language of the Web: HTML

The Basic Language of the Web: HTML
The Basic Language of the Web: HTML
--> - -
-

πŸ“˜ The Code Magazine

- - -
- -
-
-

The Basic Language of the Web: HTML

- - Headshot of Laura Jones - -

Posted by Laura Jones on Monday, June 21st 2027

- - HTML code on a screen +
+
+

πŸ“˜ The Code Magazine

+ +
-

- All modern websites and web applications are built using three - fundamental - technologies: HTML, CSS and JavaScript. These are the languages of the - web. -

- -

- In this post, let's focus on HTML. We will learn what HTML is all about, - and why you too should learn it. -

- -

What is HTML?

-

- HTML stands for HyperText - Markup Language. It's a markup - language that web developers use to structure and describe the content - of a webpage (not a programming language). -

-

- HTML consists of elements that describe different types of content: - paragraphs, links, headings, images, video, etc. Web browsers understand - HTML and render HTML code as websites. -

-

In HTML, each element is made up of 3 parts:

- -
    -
  1. The opening tag
  2. -
  3. The closing tag
  4. -
  5. The actual element
  6. -
- -

- You can learn more at - MDN Web Docs. -

- -

Why should you learn HTML?

- -

- There are countless reasons for learning the fundamental language of the - web. Here are 5 of them: -

- -
    -
  • To be able to use the fundamental web dev language
  • -
  • - To hand-craft beautiful websites instead of relying on tools like - Worpress or Wix -
  • -
  • To build web applications
  • -
  • To impress friends
  • -
  • To have fun πŸ˜ƒ
  • -
- -

Hopefully you learned something new here. See you next time!

-
- - - - + + +

+ All modern websites and web applications are built using three + fundamental + technologies: HTML, CSS and JavaScript. These are the languages of the + web. +

+ +

+ In this post, let's focus on HTML. We will learn what HTML is all + about, and why you too should learn it. +

+ +

What is HTML?

+

+ HTML stands for HyperText + Markup Language. It's a markup + language that web developers use to structure and describe the content + of a webpage (not a programming language). +

+

+ HTML consists of elements that describe different types of content: + paragraphs, links, headings, images, video, etc. Web browsers + understand HTML and render HTML code as websites. +

+

In HTML, each element is made up of 3 parts:

+ +
    +
  1. The opening tag
  2. +
  3. The closing tag
  4. +
  5. The actual element
  6. +
+ +

+ You can learn more at + MDN Web Docs. +

+ +

Why should you learn HTML?

+ +

+ There are countless reasons for learning the fundamental language of + the web. Here are 5 of them: +

+ + + +

Hopefully you learned something new here. See you next time!

+ + + + + + - + \ No newline at end of file diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css new file mode 100644 index 000000000..fb2eef168 --- /dev/null +++ b/starter/03-CSS-Fundamentals/style.css @@ -0,0 +1,226 @@ +* { + /* border-top: 10px solid #1098ad; */ + margin: 0; + padding: 0; +} + +body { + /* position: relative; */ + color: #444; + font-family: sans-serif; + + border-top: 10px solid #1098ad; +} + +nav { + font-size: 18px; +} + +article { + margin-bottom: 60px; +} + +h1, +h2, +h3, +h4, +p, +li { + font-family: sans-serif; + color: #444; +} + +h1, +h2, +h3 { + color: #1098ad; +} +h1 { + font-size: 27px; + text-transform: uppercase; + font-style: italic; +} + +h2 { + font-size: 30px; + margin-bottom: 30px; + position: relative; +} + +h3 { + font-size: 30px; + margin-bottom: 30px; + margin-top: 40px; +} + +h4 { + font-size: 20px; + text-transform: uppercase; + text-align: center; +} + +p { + font-size: 22px; + line-height: 1.5; + margin-bottom: 15px; +} + +li { + font-size: 20px; + margin-bottom: 10px; +} + +li:last-child { + margin-bottom: 0; +} + +/* footer p { + font-size: 14px; +} */ + +aside { + background-color: #f7f7f7; + border-top: 5px solid #1098ad; + border-bottom: 5px solid #1098ad; + + padding: 50px 0; + width: 500px; +} + +.container { + position: relative; + width: 700px; + /* margin-left: auto; + margin-right: auto; */ + margin: 0 auto; +} + +.main-header { + background-color: #f7f7f7; + padding: 20px; + padding-left: 40px; + padding-right: 40px; + margin-bottom: 60px; +} + +.post-header { + margin-bottom: 15px; +} + +ul, +ol { + margin-left: 50px; + margin-bottom: 30px; +} + +#author { + font-style: italic; + font-size: 14px; +} + +#copyright { + font-size: 14px; +} + +.related-authors { + font-size: 14px; + font-weight: bold; +} + +.author-list { + list-style: none; +} + +/* pseudo-classes using : */ +li:first-child { + font-weight: bold; +} + +li:last-child { + font-style: italic; +} + +li:nth-child(2) { + /* color: red; */ +} + +/* first-child dont work well when we put in many elements in the class */ + +/* Misconception: it wont work */ +article p:first-child { + color: red; +} + +a:link { + color: #1098ad; + text-decoration: none; +} + +a:visited { + color: #1098ad; +} + +a:hover { + color: orangered; + font-weight: bold; + text-decoration: underline wavy orangered; +} + +a:active { + background-color: black; + font-style: italic; +} + +nav { + font-size: 18px; + text-align: center; +} + +.post-pic { + width: 100%; + height: auto; +} + +nav a:link { + padding-right: 30px; +} + +.like-btn { + position: absolute; + + font-size: 20px; + padding: 20px; + margin: 10px; + cursor: pointer; + + /* top: 0; + left: 0; */ + bottom: 0; + right: 0; +} + +h1::first-letter { + font-style: normal; + margin-right: 5px; +} + +p::first-line { + /* color: red; */ +} + +h3 + p::first-line { + /* color: red; */ +} + +h2::after { + content: "TOP"; + background-color: #ffe70e; + font-size: 16px; + font-weight: bold; + display: inline; + padding: 5px 10px; + + position: absolute; + top: -15px; + right: -25px; +} diff --git a/starter/04-CSS-Layouts/css-grid.html b/starter/04-CSS-Layouts/css-grid.html index e2daa6d42..58658f0fe 100644 --- a/starter/04-CSS-Layouts/css-grid.html +++ b/starter/04-CSS-Layouts/css-grid.html @@ -40,6 +40,14 @@ margin: 40px; /* CSS GRID */ + display: grid; + grid-template-columns: repeat(4, 1fr); + + grid-template-rows: 1fr 1fr; + + /*gap: 30px;*/ + column-gap: 10px; + row-gap: 40px; } .container--2 { @@ -47,12 +55,29 @@ font-family: sans-serif; background-color: black; font-size: 40px; - margin: 100px; + margin: 40px; - width: 1000px; + width: 700px; height: 600px; /* CSS GRID */ + display: grid; + grid-template-columns: 125px 200px 125px; + grid-template-rows: 250px, 100px; + gap: 50px; + /*Aligning tracks inside container: + distribute empty space; */ + justify-content: center; + + align-content: center; + + align-items: center; + justify-items: center; + } + + .el--8 { + grid-column: 2 / 3; + grid-column: 4 / 5; } diff --git a/starter/04-CSS-Layouts/flexbox.html b/starter/04-CSS-Layouts/flexbox.html index 496ef372a..0385ac8fc 100644 --- a/starter/04-CSS-Layouts/flexbox.html +++ b/starter/04-CSS-Layouts/flexbox.html @@ -40,8 +40,29 @@ margin: 40px; /* FLEXBOX */ + display: flex; + align-items: center; + justify-content: flex-start; + } + + .el { + /* + DEFAULTS; + flex-grow= 0; + flex-shrink= 1; + flex-basis = auto; + */ + flex-basis: 100px; + /*flex-grow: 1;*/ + } + + .el--1 { + align-self: flex-start; + flex-grow: 1; } + +
diff --git a/starter/04-CSS-Layouts/index.html b/starter/04-CSS-Layouts/index.html index 15ecbeb77..79d18d127 100644 --- a/starter/04-CSS-Layouts/index.html +++ b/starter/04-CSS-Layouts/index.html @@ -18,18 +18,22 @@
The Basic Language of the Web: HTML
-->
-
+

πŸ“˜ The Code Magazine

+ +
+ +

The Basic Language of the Web: HTML

@@ -39,9 +43,10 @@

The Basic Language of the Web: HTML

alt="Headshot of Laura Jones" height="50" width="50" + class="author-img" /> -

+

Posted by Laura Jones on Monday, June 21st 2027

@@ -155,7 +160,7 @@

Related posts

- +