Skip to content

Commit

Permalink
Merge pull request #13 from ReshetS/how-it-works.html
Browse files Browse the repository at this point in the history
How it works.html
  • Loading branch information
ReshetS authored Apr 11, 2024
2 parents 5991973 + 5ddbdc9 commit 9f61cab
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/css/how-it-works.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/* Styles for "How It Works" section */
/* Styles for "How It Works" section */
64 changes: 63 additions & 1 deletion src/partials/how-it-works.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,65 @@
<section class="how-it-works" id="how-it-works">

<div class="container">
<h2 class="visually-hidden">How it works</h2>
<div class="work-image-wrap">
<picture>
<source
srcset="
./img/womcut-desc-1x-min.jpg 1x,
./img/womcut-desc-2x-min.jpg 2x,
./img/womcut-desc-3x-min.jpg 3x
"
media="(min-width: 1280px)"
/>
<source
srcset="
./img/womcut-tab-1x-min.jpg 1x,
./img/womcut-tab-2x-min.jpg 2x,
./img/womcut-tab-3x-min.jpg 3x
"
media="(min-width: 768px)"
/>
<source
srcset="
./img/womcut-mob-1x-min.jpg 1x,
./img/womcut-mob-2x-min.jpg 2x,
./img/womcut-mob-3x-min.jpg 3x
"
media="(max-width: 767px)"
/>
<img
class="work-image-pic"
src="./img/womcut-mob-1x-min.jpg"
alt="Woman with knife"
/>
</picture>
</div>
<div class="work-steps-wrap">
<h3 class="work-steps-subtit">
To order your <span class="steps-subt-accent">vegetable</span> basket,
simply follow these <span class="steps-subt-accent">easy steps</span>
</h3>
<p class="work-steps-text">
Our baskets are assembled with care and delivered straight to your
doorstep, so you can enjoy the taste of fresh fruit without ever leaving
your home.
</p>
<ol class="work-steps-list">
<li class="work-steps-item">
Just choose <span class="steps-list-accent">the vegetable</span> you
want to order by clicking on the checkboxes
<span class="steps-list-accent">next to it.</span>
</li>
<li class="work-steps-item">
Click on <span class="steps-list-accent">the basket</span> and fill
out the form.
</li>
<li class="work-steps-item">
Sit back and relax! Your
<span class="steps-list-accent">fresh vegetables</span> basket will be
delivered.
</li>
</ol>
</div>
</div>
</section>

0 comments on commit 9f61cab

Please sign in to comment.