diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 000000000..13566b81b --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 000000000..eaf8a4500 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,58 @@ + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 000000000..79ee123c2 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/git_toolbox_blame.xml b/.idea/git_toolbox_blame.xml new file mode 100644 index 000000000..7dc124965 --- /dev/null +++ b/.idea/git_toolbox_blame.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/git_toolbox_prj.xml b/.idea/git_toolbox_prj.xml new file mode 100644 index 000000000..02b915b85 --- /dev/null +++ b/.idea/git_toolbox_prj.xml @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/html-css-course.iml b/.idea/html-css-course.iml new file mode 100644 index 000000000..d0876a78d --- /dev/null +++ b/.idea/html-css-course.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 000000000..03d9549ea --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 000000000..105ce2da2 --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 000000000..12f7ff756 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 000000000..c065c8dfb --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 000000000..0a5341504 --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 000000000..35eb1ddfb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 000000000..2a46f2afe --- /dev/null +++ b/.prettierrc @@ -0,0 +1,3 @@ +{ + "endOfLine": "crlf" +} \ No newline at end of file diff --git a/00-challenge/article.css b/00-challenge/article.css new file mode 100644 index 000000000..a737cabd7 --- /dev/null +++ b/00-challenge/article.css @@ -0,0 +1,160 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: sans-serif; + line-height: 1.4; +} + +/* PRODUCT */ +.product { + border: 4px solid black; + width: 825px; + margin: 50px auto; + position: relative; + display: grid; + grid-template-columns: 250px 1fr 1fr; + align-items: center; + column-gap: 40px; +} + +.product-title { + grid-column: 1 / -1; + text-align: center; + font-size: 22px; + text-transform: uppercase; + background-color: #f7f7f7; + padding: 15px; +} + +/* PRODUCT INFORMATION */ +.product-info { + /* (825 - 8 - 250 - 80) / 2 */ + /* width: 243px; */ + /*margin-top: 20px;*/ +} + +.product-price { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 20px; +} + +.price { + font-size: 24px; +} + +.shipping { + font-size: 12px; + text-transform: uppercase; + font-weight: bold; + color: #777; +} + +.sale { + background-color: #ec2f2f; + color: #fff; + font-size: 12px; + text-transform: uppercase; + font-weight: bold; + letter-spacing: 2px; + padding: 7px 15px; + display: inline-block; + position: absolute; + top: -17px; + left: -38px; + + /* width: 40px; + text-align: center; */ +} + +.product-description { + margin-bottom: 10px; +} + +.more-info:link, +.more-info:visited { + color: black; + margin-bottom: 30px; + display: inline-block; +} + +.more-info:hover, +.more-info:active { + text-decoration: none; +} + +.product-colors { + display: flex; + gap: 10px; +} + +.color { + background-color: #000; + height: 22px; + width: 22px; +} + +.color-blue { + background-color: #2f6ee2; +} + +.color-red { + background-color: #ec2f2f; +} + +.color-yellow { + background-color: #f0bf1e; +} + +.color-green { + background-color: #90cc20; +} + +.color-brown { + background-color: #885214; +} + +/* PRODUCT DETAILS */ +.product-details { + /* width: 243px; */ + /*margin-top: 20px;*/ +} + +.details-title { + text-transform: uppercase; + font-size: 16px; + margin-bottom: 15px; +} + +.details-list { + list-style: square; + margin-left: 20px; +} + +.details-list li { + margin-bottom: 10px; +} + +/* BUTTON */ +.add-cart { + grid-column: 1 / -1; + background-color: #000; + border: none; + color: #fff; + font-size: 20px; + text-transform: uppercase; + cursor: pointer; + padding: 15px; + width: 100%; + border-top: 4px solid black; +} + +.add-cart:hover { + color: #000; + background-color: #fff; +} diff --git a/00-challenge/article.html b/00-challenge/article.html new file mode 100644 index 000000000..593d117e0 --- /dev/null +++ b/00-challenge/article.html @@ -0,0 +1,56 @@ + + + + + + + Converse Chuck Taylor All Star Low Top + + + +
+

Converse Chuck Taylor All Star Low Top

+ Chuck Taylor All Star Shoe +
+
+

$65.00

+

Free shipping

+
+

Sale

+ +

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

+ More information → + +
+
+
+
+
+
+
+
+
+ +
+

Product details

+ +
+ +
+ + diff --git a/01-blog/blog.html b/01-blog/blog.html new file mode 100644 index 000000000..3b9b6e328 --- /dev/null +++ b/01-blog/blog.html @@ -0,0 +1,10 @@ + + + + BLOG + + +

BLOG

+ Back to home + + diff --git a/01-blog/content.txt b/01-blog/content.txt new file mode 100644 index 000000000..ae01eb723 --- /dev/null +++ b/01-blog/content.txt @@ -0,0 +1,34 @@ +📘 The Code Magazine + +The Basic Language of the Web: HTML + +Posted by Laura Jones on Monday, June 21st 2027 + +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: + +The opening tag +The closing tag +The actual element +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: + +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! \ No newline at end of file diff --git a/01-blog/css-grid.html b/01-blog/css-grid.html new file mode 100644 index 000000000..4a247921a --- /dev/null +++ b/01-blog/css-grid.html @@ -0,0 +1,133 @@ + + + + + + + CSS Grid + + + +
+
(1) HTML
+
(2) and
+
(3) CSS
+
(4) are
+
(5) amazing
+
(6) languages
+ +
(8) learn
+
+ +
+
(1)
+
(3)
+
(4)
+
(5)
+
(6)
+
(7)
+
+ + diff --git a/01-blog/flexbox.html b/01-blog/flexbox.html new file mode 100644 index 000000000..a5e1e56be --- /dev/null +++ b/01-blog/flexbox.html @@ -0,0 +1,92 @@ + + + + + + + Flexbox + + + +
+
HTML
+
and
+
CSS
+
are
+
amazing
+ + +
+ + diff --git a/01-blog/img/challenges.jpg b/01-blog/img/challenges.jpg new file mode 100644 index 000000000..319f22da5 Binary files /dev/null and b/01-blog/img/challenges.jpg differ diff --git a/01-blog/img/laura-jones.jpg b/01-blog/img/laura-jones.jpg new file mode 100644 index 000000000..7830c94c6 Binary files /dev/null and b/01-blog/img/laura-jones.jpg differ diff --git a/01-blog/img/post-img.jpg b/01-blog/img/post-img.jpg new file mode 100644 index 000000000..df3005e63 Binary files /dev/null and b/01-blog/img/post-img.jpg differ diff --git a/01-blog/img/related-1.jpg b/01-blog/img/related-1.jpg new file mode 100644 index 000000000..376e2e7b3 Binary files /dev/null and b/01-blog/img/related-1.jpg differ diff --git a/01-blog/img/related-2.jpg b/01-blog/img/related-2.jpg new file mode 100644 index 000000000..0e9e7ea18 Binary files /dev/null and b/01-blog/img/related-2.jpg differ diff --git a/01-blog/img/related-3.jpg b/01-blog/img/related-3.jpg new file mode 100644 index 000000000..9c5723b71 Binary files /dev/null and b/01-blog/img/related-3.jpg differ diff --git a/01-blog/index.html b/01-blog/index.html new file mode 100644 index 000000000..2055c4e28 --- /dev/null +++ b/01-blog/index.html @@ -0,0 +1,180 @@ + + + + + + + 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 + +
+ +

+ 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!

+
+ + + + + +
+ + diff --git a/01-blog/style.css b/01-blog/style.css new file mode 100644 index 000000000..05d71355f --- /dev/null +++ b/01-blog/style.css @@ -0,0 +1,390 @@ +* { + /* border-top: 10px solid #1098ad; */ + margin: 0; + padding: 0; + box-sizing: border-box; +} + +/* PAGE SECTIONS */ +body { + color: #444; + font-family: sans-serif; + + border-top: 10px solid #1098ad; + position: relative; +} + +.container { + width: 1200px; + /* margin-left: auto; + margin-right: auto; */ + margin: 0 auto; +} + +.main-header { + background-color: #f7f7f7; + /* padding: 20px; + padding-left: 40px; + padding-right: 40px; */ + padding: 20px 40px; + /*margin-bottom: 60px;*/ + /* height: 80px; */ +} + +nav { + font-size: 18px; + /* text-align: center; */ +} + +article { + /*margin-bottom: 60px;*/ +} + +.post-header { + margin-bottom: 40px; + /* position: relative; */ +} + +aside { + background-color: #f7f7f7; + border-top: 5px solid #1098ad; + border-bottom: 5px solid #1098ad; + /* padding-top: 50px; + padding-bottom: 50px; */ + padding: 50px 40px; +} + +/* SMALLER ELEMENTS */ +h1, +h2, +h3 { + color: #1098ad; +} + +h1 { + font-size: 26px; + text-transform: uppercase; + font-style: italic; +} + +h2 { + font-size: 40px; + margin-bottom: 30px; +} + +h3 { + font-size: 30px; + margin-bottom: 20px; + margin-top: 40px; +} + +h4 { + font-size: 20px; + text-transform: uppercase; + text-align: center; +} + +p { + font-size: 22px; + line-height: 1.5; + margin-bottom: 15px; +} + +ul, +ol { + margin-left: 50px; + margin-bottom: 20px; +} + +li { + font-size: 20px; + margin-bottom: 10px; + /* display: inline; */ +} + +li:last-child { + margin-bottom: 0; +} + +/* footer p { + font-size: 16px; +} */ + +/* article header p { + font-style: italic; +} */ + +#author { + font-style: italic; + font-size: 18px; +} + +#copyright { + font-size: 16px; +} + +.related-author { + font-size: 18px; + font-weight: bold; +} + +/* ul { + list-style: none; +} */ + +.related { + list-style: none; +} + +body { + /* background-color: orangered; */ +} + +/* .first-li { + font-weight: bold; +} */ + +li:first-child { + font-weight: bold; +} + +li:last-child { + font-style: italic; +} + +li:nth-child(even) { + /* color: red; */ +} + +/* Misconception: this won't work! */ +article p:first-child { + color: red; +} + +/* Styling links */ +a:link { + color: #1098ad; + text-decoration: none; +} + +a:visited { + /* color: #777; */ + color: #1098ad; +} + +a:hover { + color: orangered; + font-weight: bold; + text-decoration: underline orangered; +} + +a:active { + background-color: black; + font-style: italic; +} +/* LVHA */ + +.post-img { + width: 100%; + height: auto; +} + +nav a:link { + /* background-color: orangered; + margin: 20px; + padding: 20px; + + display: block; */ + + margin-right: 30px; + display: inline-block; +} + +nav a:link:last-child { + margin-right: 0; +} + +button { + font-size: 22px; + padding: 20px; + cursor: pointer; + + position: absolute; + /* top: 50px; + left: 50px; */ + bottom: 50px; + right: 50px; +} + +h1::first-letter { + font-style: normal; + margin-right: 5px; +} + +h3 + p::first-line { + /* color: red; */ +} + +h2 { + /* background-color: orange; */ + position: relative; +} + +h2::before { + content: "TOP"; + background-color: #ffe70e; + color: #444; + font-size: 16px; + font-weight: bold; + display: inline-block; + padding: 5px 10px; + position: absolute; + top: -10px; + right: -25px; +} + +/* Resolving conflicts */ +/* #copyright { + color: red; +} + +.copyright { + color: blue; +} + +.text { + color: yellow; +} + +footer p { + color: green !important; +} */ + +/* nav a:link, +nav p { + font-size: 18px; +} */ + +/* FLOATS */ +/* +.author-img { + float: left; + margin-bottom: 20px; +} + +.author { + float: left; + margin-top: 10px; + margin-left: 20px; +} + +h1 { + float: left; +} + +nav { + float: right; +} + +.clear { + clear: both; +} + +.clearfix::after { + clear: both; + content: ""; + display: block; +} + +article { + width: 825px; + float: left; +} + +aside { + width: 300px; + float: right; +} + +footer { + clear: both; +} +*/ + +/* FLEXBOX */ +.main-header { + display: flex; + align-items: center; + justify-content: space-between; +} + +.author-box { + display: flex; + align-items: center; + margin-bottom: 15px; +} + +.author { + margin-bottom: 0; + margin-left: 15px; +} + +.related-post { + display: flex; + align-items: center; + gap: 20px; + margin-bottom: 30px; +} + +.related-link:link { + font-size: 17px; + font-weight: bold; + font-style: normal; + margin-bottom: 5px; + display: block; +} + +.related-author { + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + font-style: italic; +} + +/* FLEXBOX LAYOUT */ +/* .row { + display: flex; + align-items: flex-start; + gap: 75px; + margin-bottom: 60px; +} + +article { + flex: 1; + margin-bottom: 0; +} + +aside { + flex: 0 0 300px; +} */ + +/* CSS GRID LAYOUT */ +.container { + display: grid; + grid-template-columns: 1fr 300px; + column-gap: 75px; + row-gap: 60px; + align-items: start; +} + +.main-header { + /*grid-column: 1 / span 2;*/ + grid-column: 1 / -1; +} + +article { +} + +footer { + grid-column: 1 / -1; +} \ No newline at end of file diff --git a/02-design-chair-shop/chair-1.jpg b/02-design-chair-shop/chair-1.jpg new file mode 100644 index 000000000..3100aa168 Binary files /dev/null and b/02-design-chair-shop/chair-1.jpg differ diff --git a/02-design-chair-shop/chair-2.jpg b/02-design-chair-shop/chair-2.jpg new file mode 100644 index 000000000..33c8d854c Binary files /dev/null and b/02-design-chair-shop/chair-2.jpg differ diff --git a/02-design-chair-shop/chair-3.jpg b/02-design-chair-shop/chair-3.jpg new file mode 100644 index 000000000..f57fcf10e Binary files /dev/null and b/02-design-chair-shop/chair-3.jpg differ diff --git a/02-design-chair-shop/customers.jpg b/02-design-chair-shop/customers.jpg new file mode 100644 index 000000000..2d1d4f851 Binary files /dev/null and b/02-design-chair-shop/customers.jpg differ diff --git a/02-design-chair-shop/hero.jpg b/02-design-chair-shop/hero.jpg new file mode 100644 index 000000000..5532819b1 Binary files /dev/null and b/02-design-chair-shop/hero.jpg differ diff --git a/02-design-chair-shop/index.html b/02-design-chair-shop/index.html new file mode 100644 index 000000000..208dbc63d --- /dev/null +++ b/02-design-chair-shop/index.html @@ -0,0 +1,393 @@ + + + + + + + + + + + + Lisbon Chair Shop + + +
+
+
+

We design and build better chairs, for a better life

+

+ In a small shop in the heart of Lisbon, we spend our days + relentlessly perfecting the chair. The result is a perfect blend of + beauty and comfort, that will have a lasting impact on your health. +

+ Shop chairs +
+ Photo +
+ +
+

What makes our chairs special

+
+
+ + + + +

Science meets design

+

+ Lorem, ipsum dolor sit amet consectetur adipisicing elit. Natus + similique adipisci praesentium. +

+
+ +
+ + + + +

+ Maximal comfort +

+

+ Reprehenderit optio placeat quasi excepturi architecto, explicabo + facilis perspiciatis error maxime magnam. +

+
+ +
+ + + + +

+ Ethical and sustainable +

+

+ Deleniti recusandae quidem nesciunt, eos dolorum iure, quaerat + omnis est laudantium voluptatem voluptas! +

+
+
+
+ +
+
+ People sitting on chairs +
+

"We couldn't live without these chairs anymore"

+
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor + repellat at, nesciunt quia cum minima ipsum culpa totam sapiente + recusandae earum debitis doloribus in quasi voluptatibus! +
+

— Mary and Sarah Johnson

+
+
+
+ +
+

Our bestselling chairs

+
+
+ Chair +
+

The Laid Back

+
    +
  • + + + + + + Leisure and relaxing +
  • +
  • + + + + + Comfortable for 4h +
  • +
  • + + + + + Vegan leather +
  • +
  • + + + + + Weighs 16 kg +
  • +
+
+ 250€ + Add to cart +
+
+
+ +
+ Chair +
+

The Worker Bee

+
    +
  • + + + + + Work +
  • +
  • + + + + + Comfortable for 8h +
  • +
  • + + + + + Vegan leather +
  • +
  • + + + + + Weighs 22 kg +
  • +
+
+ 525€ + Add to cart +
+
+
+ +
+ Chair +
+

The Chair 4/2

+
    +
  • + + + + + Leisure and relaxing +
  • +
  • + + + + + Comfortable all day! +
  • +
  • + + + + + Organic cotton +
  • +
  • + + + + + Weighs 80 kg +
  • +
+
+ 1450€ + Add to cart +
+
+
+
+
+ + +
+ + diff --git a/02-design-chair-shop/style.css b/02-design-chair-shop/style.css new file mode 100644 index 000000000..3a98c7ffc --- /dev/null +++ b/02-design-chair-shop/style.css @@ -0,0 +1,218 @@ +/* +SPACING SYSTEM (px) +2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 + +FONT SIZE SYSTEM (px) +10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98 +*/ + +/* +MAIN COLOR: #087f5b +GREY COLOR: #343a40 +*/ + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +/* ------------------------ */ +/* GENERAL STYLES */ +/* ------------------------ */ +body { + font-family: "Inter", sans-serif; + color: #343a40; + border-bottom: 8px solid #087f5b; +} + +.container { + width: 960px; + margin: 0 auto; +} + +header, +section { + margin-bottom: 96px; +} + +h2 { + margin-bottom: 48px; + font-size: 36px; + letter-spacing: -0.5px; +} + +.grid-3-cols { + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 80px; +} + +.btn:link, +.btn:visited { + background-color: #087f5b; + color: #fff; + text-decoration: none; + text-transform: uppercase; + font-weight: 500; + display: inline-block; + /* just need to be larger than the height of the element to give the rounded feel on the edge */ + border-radius: 100px; +} + +.btn:hover, +btn:active { + background-color: #099268; +} + +.btn--big { + font-size: 18px; + padding: 16px 32px; +} + +.btn--small { + font-size: 14px; + padding: 8px 12px; +} + +img { + border-radius: 12px; +} + +/* ------------------------ */ +/* COMPONENT STYLES */ +/* ------------------------ */ + +/* HEADER */ +header { + display: grid; + grid-template-columns: repeat(2, 1fr); + column-gap: 80px; + margin-top: 64px; +} + +.header-text-box { + align-self: center; +} + +h1 { + margin-bottom: 32px; + font-size: 44px; + line-height: 1.1; + letter-spacing: -1px; + + /*text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);*/ +} + +.header-text { + margin-bottom: 24px; + font-size: 18px; + line-height: 1.7; +} + +img { + width: 100%; +} + +/* FEATURES */ +.features-icon { + stroke: #087f5b; + width: 32px; + height: 32px; + margin-bottom: 24px; +} + +.features-title { + margin-bottom: 16px; + font-size: 20px; +} + +.features-text { + font-size: 18px; + line-height: 1.7; +} + +/* TESTIMONIAL */ +.testimonial-section { + background-color: #087f5b; + color: #fff; + padding: 24px; + border-radius: 12px; +} + +.testimonial-box { + grid-column: 2 / -1; + align-self: center; +} + +.testimonial-box h2 { + margin-bottom: 24px; + font-size: 24px; +} + +.testimonial-text { + font-style: italic; + margin-bottom: 24px; + font-size: 18px; + line-height: 1.7; + color: #e6fcf5; +} + +.testimonial-author { + color: #c3fae8; +} + +/* CHAIRS */ +.chair { + box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.07); + border-radius: 12px; +} + +.chair img { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +.chair-box { + padding: 32px; +} + +h3 { + margin-bottom: 24px; + font-size: 20px; +} + +.chair-details { + list-style: none; + margin-bottom: 48px; +} + +.chair-details li { + display: flex; + align-items: center; + gap: 12px; + margin-bottom: 16px; +} + +.chair-details li:last-child { + margin-bottom: 0; +} + +.chair-icon { + stroke: #087f5b; + width: 24px; + height: 24px; +} + +.chair-price { + display: flex; + justify-content: space-between; + align-items: center; + font-size: 20px; +} + +footer { + margin-bottom: 48px; + font-size: 14px; + color: #495057; +} diff --git a/03-components-and-layout-patterns/01-accordion.html b/03-components-and-layout-patterns/01-accordion.html new file mode 100644 index 000000000..dc1d5164d --- /dev/null +++ b/03-components-and-layout-patterns/01-accordion.html @@ -0,0 +1,217 @@ + + + + + + + + Accordion Component + + + + +
+
+

01

+

Where are these chairs assembled?

+ + + +
+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. + Consectetur dicta dignissimos distinctio, esse explicabo nulla + quaerat quidem vitae. Aliquam asperiores dolores dolorum maxime + minima perferendis! +

+
    +
  • Lorem ipsum dolor sit amet, consectetur adipisicing elit.
  • +
  • Accusamus, dicta ea est incidunt maiores molestiae quas!
  • +
  • Animi autem corporis magni mollitia natus odio.
  • +
  • + Ad ea fugiat incidunt itaque perspiciatis quisquam, sapiente? +
  • +
+
+
+ +
+

02

+

How long do I have to return my chair?

+ + + +
+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. + Consectetur dicta dignissimos distinctio, esse explicabo nulla + quaerat quidem vitae. Aliquam asperiores dolores dolorum maxime + minima perferendis! +

+
    +
  • Lorem ipsum dolor sit amet, consectetur adipisicing elit.
  • +
  • Accusamus, dicta ea est incidunt maiores molestiae quas!
  • +
  • Animi autem corporis magni mollitia natus odio.
  • +
  • + Ad ea fugiat incidunt itaque perspiciatis quisquam, sapiente? +
  • +
+
+
+ +
+

03

+

Do you ship to countries outside the EU?

+ + + +
+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. + Consectetur dicta dignissimos distinctio, esse explicabo nulla + quaerat quidem vitae. Aliquam asperiores dolores dolorum maxime + minima perferendis! +

+
    +
  • Lorem ipsum dolor sit amet, consectetur adipisicing elit.
  • +
  • Accusamus, dicta ea est incidunt maiores molestiae quas!
  • +
  • Animi autem corporis magni mollitia natus odio.
  • +
  • + Ad ea fugiat incidunt itaque perspiciatis quisquam, sapiente? +
  • +
+
+
+
+ + diff --git a/03-components-and-layout-patterns/02-carousel.html b/03-components-and-layout-patterns/02-carousel.html new file mode 100644 index 000000000..460ddba7d --- /dev/null +++ b/03-components-and-layout-patterns/02-carousel.html @@ -0,0 +1,193 @@ + + + + + + + + + Carousel Component + + + + + + + diff --git a/03-components-and-layout-patterns/03-table.html b/03-components-and-layout-patterns/03-table.html new file mode 100644 index 000000000..9f4195d19 --- /dev/null +++ b/03-components-and-layout-patterns/03-table.html @@ -0,0 +1,110 @@ + + + + + + + + + Accordion Component + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ChairThe Laid BackThe Worker BeeThe Chair 4/2
Width80 cm60 cm220 cm
Height100 cm110 cm90 cm
Depth70 cm65 cm80 cm
Weight16 kg22 kg80 kg
+ + diff --git a/03-components-and-layout-patterns/component.html b/03-components-and-layout-patterns/component.html new file mode 100644 index 000000000..3d9255eb8 --- /dev/null +++ b/03-components-and-layout-patterns/component.html @@ -0,0 +1,38 @@ + + + + + + + + + Accordion Component + + + + + diff --git a/03-components-and-layout-patterns/hero.jpg b/03-components-and-layout-patterns/hero.jpg new file mode 100644 index 000000000..26f1847c8 Binary files /dev/null and b/03-components-and-layout-patterns/hero.jpg differ diff --git a/03-components-and-layout-patterns/maria.jpg b/03-components-and-layout-patterns/maria.jpg new file mode 100644 index 000000000..33fe230b9 Binary files /dev/null and b/03-components-and-layout-patterns/maria.jpg differ diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..394e37d8a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,27 @@ +{ + "name": "html-css-course", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "prettier": "^3.3.3" + } + }, + "node_modules/prettier": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 000000000..1dafaf197 --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "prettier": "^3.3.3" + } +}