Skip to content

strona#174

Open
Dariadaria01 wants to merge 5 commits intodevmentor-pl:masterfrom
Dariadaria01:master
Open

strona#174
Dariadaria01 wants to merge 5 commits intodevmentor-pl:masterfrom
Dariadaria01:master

Conversation

@Dariadaria01
Copy link
Collaborator

Nie wiem jak zmienić kod aby środkowy przycisk z ceną po dodaniu obramowania nie zmieniał swojej pozycji oraz jak zmienić tło na początku strony by było jak na przykładowej stronie.

Copy link
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Dario,

Strona prezentuje się bardzo dobrze! 👍
Zostawiłem parę uwag oraz odpowiedziałem na Twoje pytania :)

index.html Outdated
<link rel="stylesheet" href="main.css" />
</head>
<body>
<header class="header">
Copy link
Owner

Choose a reason for hiding this comment

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

Aby mieć jeden gradient wystarczy znaczniki header oraz main wrzucić do jednego znacznika np. section i do niego przerzucić gradient a z tych 2 go usunać.

index.html Outdated
</div>
</section>

<section class="partners">
Copy link
Owner

Choose a reason for hiding this comment

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

Osobiście dałbym aside jako coś dodatkowego (reklama).

index.html Outdated

<section class="about">
<div class="container">
<article class="about-image">
Copy link
Owner

Choose a reason for hiding this comment

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

Raczej znacznika article nie dawałbym dla samego obrazka - może lepiej użyć figure?

index.html Outdated
Comment on lines 126 to 129
<p class="pricing__details">
Up to 7 Projects<br />
2 Additional Developers
</p>
Copy link
Owner

Choose a reason for hiding this comment

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

Mamy tutaj listę cech więc pewnie bym dał ul > li

</p>
<button class="cta-button">Get Started</button>
</article>
<article class="pricing-item--details">
Copy link
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

Copy link
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Dario,

Super, o to chodziło! :)

</article>
</div>
</main>
<section class="hero">
Copy link
Owner

Choose a reason for hiding this comment

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

👍

<img src="./images/logos.png" alt="Partner Logos" />
</div>
</section>
</aside>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

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

Choose a reason for hiding this comment

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

👍

<li>Up to 25 Projects</li>
<li>2 Additional Developers</li>
<li>Unlimited Support</li>
</ul>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

<li>2 Additional Developers</li>
<li>Unlimited Support</li>
</ul>
<button class="cta-button">Get Started</button>
Copy link
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 :)

<li>2 Additional Developers</li>
<li>Unlimited Support</li>
<li>1.5GB Disk Space</li>
</ul>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants