Skip to content

assignment no. 1, 2 ,3 4 ,5 done! #149

Open
Sebpie0203 wants to merge 5 commits into
devmentor-pl:masterfrom
Sebpie0203:master
Open

assignment no. 1, 2 ,3 4 ,5 done! #149
Sebpie0203 wants to merge 5 commits into
devmentor-pl:masterfrom
Sebpie0203:master

Conversation

@Sebpie0203
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
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.

Sebastianie,

Zadanka są ok 👍
Zostawiłem parę drobnych uwag :)

Comment thread 01/style.css
border-right-color: transparent;
border-bottom-color: transparent;
shape-outside: polygon(0 0, -5px 300px, 600px -300px);
}
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.

👍

Comment thread 02/styles/global.css

.a {
border-color: #ffffba
height: 50%;
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.

Raczje 50vh :)

Comment thread 02/styles/global.css
height: 50%;
border-color: #baffc9;
}
@media (max-width: 601px) {
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.

Raczej odwrotnie - jak przekroczy czyli jak ma min-width: 601 to wtedy mają być 2 kolumny :)

Comment thread 03/index.html
<p class="text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim deserunt praesentium id hic cupiditate nihil tempora asperiores voluptates, itaque, delectus rem vitae, corporis placeat ea magni maxime consequuntur voluptas. Provident error perspiciatis dolore quibusdam recusandae dignissimos itaque maxime inventore? Blanditiis accusamus culpa hic adipisci, iste cumque! Assumenda, odit distinctio aspernatur hic possimus culpa eius nemo ipsum eveniet cumque iusto odio, molestiae commodi nesciunt nobis doloribus magni. Tempora odio ducimus perferendis, dolorum est beatae quisquam incidunt omnis aliquid nobis veniam, obcaecati soluta, debitis fugiat quis quod? Corporis, nostrum eligendi. Neque pariatur minus est necessitatibus suscipit sapiente. Quasi officiis ducimus hic est. Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolore, harum. Sed animi, deleniti officiis nobis vitae rem inventore. Enim et eveniet adipisci ad temporibus similique dignissimos, voluptatum ut vitae? Nihil labore numquam recusandae vel vero nam nesciunt dicta veniam error pariatur consectetur soluta necessitatibus ad sequi quam vitae, cupiditate id aliquam modi ducimus! Itaque debitis dolorum odio sapiente eaque molestiae neque sunt, ea a! Asperiores error eligendi eveniet eius numquam harum illum hic, cumque molestias quis, doloribus amet sit officia officiis quam, quibusdam reiciendis distinctio. Fugit, tempora. Tenetur, ipsum amet itaque esse porro et libero tempora doloribus maxime voluptatem vel? </p>
</main>
<header class="p">
<picture class="img"></picture>
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.

Brakuje różnych rozmiarów - należało użyć source + img: https://www.w3schools.com/tags/tag_picture.asp

Comment thread 04/index.html
<li class="nav__list--item menu__display">
<a href="#items">oferta<span class="arrow-right">▶</span></a>

<ul class="nav__under">
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.

Na wersji mobilne zagnieżdżenie powinno pokazać się poniżej. Inaczej przy małych ekranach kolejny poziom menu może być przesłonięty, a nawet w skrajnym przypadku niewidoczne:

Screenshot 2024-04-19 at 06 13 44

Comment thread 04/index.html
<a href="#home">Start</a>
</li>

<li class="nav__list--item menu__display">
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.

Pamiętaj, że w BEM Modyfikator występuje (nav__list--item) razem z Elementem (nav__list) tj. <li class="nav__list nav__list--item menu__display">

Tutaj znajdziesz więcej informacji: https://devmentor.pl/b/metodologia-bem-w-css-i-sass

Comment thread 04/style.css
.nav__under {
width: 250px;
top: 6%;
left: 140px;
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.

Lepiej posiłkować się % lub odliczać od prawej krawędzi tj. right - wtedy zmiana rozmiaru elementu rodzica, nie powinna zmuszać nasz do zmiany tej wartości :)

Comment thread 04/style.css
Comment on lines +128 to +129
top: 0px;
left: 0%;
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.

Jeśli mamy 0 to nie musimy pisać jednostki bo 0 to 0 w każdej użytej jednostce ;)

Comment thread 05/index.html
<body>
<header class="header">
<nav class="header__nav wrapper">
<div class="header__nav--logo"></div>
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.

Tutaj zdecydowanie nie powinny występować Modyfikatory, a raczej Elementy z BEM. Modyfikator to specjalny przypadek wyglądu dla Elementu - dlatego on sam nie występuje. Przykład: Mamy elementy oferty i jeden z nich jest oznaczony jako wybrany. Wtedy ten wybrany może mieć Modyfikator, który styluje ten "wybór".

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