Skip to content
Open
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
244 changes: 244 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,400;0,700;1,600&family=Roboto:ital,wght@0,400;0,700;1,700&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Young+Serif&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="main.css" />
</head>
<body>
<section class="hero">
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

<header class="header">
<div class="container">
<h1 class="logo">
<img src="./images/logo.svg" alt="Logo" width="160" />
</h1>
<nav class="navigation">
<ul class="menu">
<li><a href="#the-team">The Team</a></li>
<li><a href="#pricing">Pricing</a></li>
<li><a href="#features">Features</a></li>
</ul>
</nav>
</div>
</header>

<main class="header">
<div class="container">
<article class>
<h2 class="heading">Beautiful Free Nova <br />template<br /></h2>
<p class="heading__desrciption">
A top-notch premium quality<br />
template for your next web<br />
project.
</p>
<button class="cta-button">Download FREE!</button>
</article>
<article class="hero-image">
<img src="./images/screen.png" alt="Screen preview" width="600px" />
</article>
</div>
</main>
</section>
<section class="features">
<div class="container">
<h2 class="section-title">Features</h2>
<div class="features-list">
<article class="feature-item">
<span class="circle">
<img
class="circle_icon"
src="./images/responsive.svg"
alt="Responsive"
/>
</span>
<h3>Fully Responsive</h3>
<p>
Looks amazing on any device: smartphone, tablet, laptop, and
desktop.
</p>
</article>
<article class="feature-item">
<span class="circle">
<img
class="circle-icon"
src="./images/customizable.svg"
alt="Customizable"
/>
</span>

<h3>Customizable</h3>
<p>
Change the colors, pictures, or any sections to suit your needs.
</p>
</article>
<article class="feature-item">
<span class="circle">
<img class="circle_icon" src="./images/design.svg" alt="Design" />
</span>

<h3>Slick and Beautiful Design</h3>
<p>Trendy and fresh design, fits any website.</p>
</article>
</div>
</div>
</section>

<aside class="partners">
<div class="container">
<img src="./images/logos.png" alt="Partner Logos" />
</div>
</aside>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


<section class="about">
<div class="container">
<figure class="about-image">
<img src="./images/imac.png" alt="iMac" />
</figure>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

<article class="about-description">
<h2 class="about__heading">SIMPLE AND BEAUTIFUL</h2>
<p>
Use Nova theme for your next web project. It is<br />
completely customizable so you can change any of<br />
the sections to fit your needs. Nova Theme is free for<br />
any kind of use, personal and commercial. Have fun<br />
and good luck!
</p>
</article>
</div>
</section>

<section class="pricing">
<div class="container">
<h2 class="section-title">Choose Your Pricing Plan</h2>
<p class="pricing__description">
Pick any of our super affordable pricing plans.
</p>
<div class="pricing-options">
<article class="pricing-item">
<h3 class="pricing__heading">BASIC</h3>
<p><span class="pricing__cost">$15 </span><br />per month</p>
<ul class="pricing__details">
<li>Up to 7 Projects</li>
<li>2 Additional Developers</li>
</ul>
<button class="cta-button">Get Started</button>
</article>
<article class="pricing-item--details">
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zwróć uwagę, że dla tego elementu zmieniłaś klasę, a dla przycisku definiowaliśmy zależność tj.

.pricing-item .cta-button { ... }

Dlatego teraz on nie zachowuje się jak pozostałe.
PS1. Klasa pricing-item--details nie zawiera też position: relative, która jest niezbędna do pozycjonowania absolutnego przycisku.
PS2. Padding też może być problematyczny - tutaj nadałaś 50px, możę wystarczy ustawić dla każdej ceny szerokość na 25%?
PS3. Poczytaj o metodologi BEM do nadawania nazw klasom: https://devmentor.pl/b/metodologia-bem-w-css-i-sass

<h3 class="pricing__heading">AGENCY</h3>
<p>
<span class="pricing__cost">$55 </span><br />
per month
</p>
<ul class="pricing__details">
<li>Up to 25 Projects</li>
<li>2 Additional Developers</li>
<li>Unlimited Support</li>
</ul>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

<button class="cta-button">Get Started</button>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dodałbym jeszce jakiś odstęp od dolnej krawędzi i przyciskiem :)

</article>
<article class="pricing-item">
<h3 class="pricing__heading">PRO</h3>
<p>
<span class="pricing__cost">$75 </span><br />
per month
</p>
<ul class="pricing__details">
<li>Up to 25 Projects</li>
<li>2 Additional Developers</li>
<li>Unlimited Support</li>
<li>1.5GB Disk Space</li>
</ul>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

<button class="cta-button">Get Started</button>
</article>
</div>
</div>
</section>

<section class="team">
<div class="container">
<h2 class="section-title">The Team</h2>
<div class="team-members">
<article class="team-member">
<img src="./images/cto.png" alt="CTO" />
<h3><span class="team__heading">CTO</span> <br />Johnny B. Good</h3>
<p class="team__description">
The brains behind the whole operation.
</p>
<div class="team__socials">
<img
src="./images/team-twitter.svg"
alt="Twitter"
class="social-icon"
/>
<img
src="./images/team-facebook.svg"
alt="Facebook"
class="social-icon"
/>
</div>
</article>
<article class="team-member">
<img src="./images/ceo.png" alt="CEO" />
<h3>
<span class="team__heading">CEO</span><br />
Roll Over Beethoven
</h3>
<p class="team__description">The one that puts it all together.</p>
<div class="team__socials">
<img
src="./images/team-twitter.svg"
alt="Twitter"
class="social-icon"
/>

<img
src="./images/team-facebook.svg"
alt="Facebook"
class="social-icon"
/>
</div>
</article>
<article class="team-member">
<img src="./images/cfo.png" alt="CFO" />
<h3><span class="team__heading">CFO</span> <br />Chuck Berry</h3>
<p class="team__description">
The guy with his hand on the wallet.
</p>
<div class="team__socials">
<img
src="./images/team-twitter.svg"
alt="Twitter"
class="social-icon"
/>
<img
src="./images/team-facebook.svg"
alt="Facebook"
class="social-icon"
/>
</div>
</article>
</div>
</div>
</section>

<footer class="footer">
<div class="container">
<p class="footer__description">
A free template by
<img
src="./images/webscope.svg"
alt="Webscope Logo"
class="footer-logo"
/>
</p>
</div>
</footer>
</body>
</html>
Loading