Skip to content

zadanie domowe bez zadania 5#152

Open
dagmara-opalka wants to merge 4 commits into
devmentor-pl:masterfrom
dagmara-opalka:master
Open

zadanie domowe bez zadania 5#152
dagmara-opalka wants to merge 4 commits into
devmentor-pl:masterfrom
dagmara-opalka:master

Conversation

@dagmara-opalka
Copy link
Copy Markdown

zadanie domowe bez zadania 5

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.

Dagmaro,

Skomentowałem parę rzeczy :)
Wszystko jaśnię na spotkaniu!

Comment thread 01/style.css
border-bottom-color: transparent;
} No newline at end of file
shape-outside: polygon(0 0, 0 100%, 100% 0);
margin-right: 20px;
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
.b {
grid-column: 2 / 3;
grid-row: 2 / 3;
}
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 03/index.html
Comment on lines +17 to +20
<source srcset="small.jpg" media="(max-width: 599px)">
<source srcset="medium.jpg" media="(min-width: 600px)">
<source srcset="large.jpg" media="(min-width: 1200px)">
<img src="default.jpg" alt="Sample Image">
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 mi tych obrazków na GitHubie ;P

Comment thread 03/styles/global.css
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.

Ten plik nie jest podpięty pod plik HTML :P

Comment thread 03/index.html Outdated
<header class="p">P</header>
<side class="v">V</side>

<body>
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 mamy 2x body - myślę, że przez pomyłkę zostawiłaś niepotrzebnie to co jest powyżej wraz z body.

Comment thread 03/styles/global.css
Comment on lines +32 to +42
.p {
grid-row: 1 / 2;
}

.t {
grid-row: 2 / 3;
}

.v {
grid-row: 3 / 4;
}
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.

Przypuszczam, że starałaś się tutaj rozwiązać problem z 2x body - pamiętaj, że grid-row określa ile wierszy ma zajmować ten element. W naszym przypadku w zasadzie ma sie dostosować do wolnej przestrzeni więc auto lub po prostu nic nie pisać.

Comment thread 04/index.html
<a href="#">kontakt</a>
</li>
<li><a href="#">SETTINGS</a></li>
<li><a href="#">CONTACT</a></li>
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 04/styles/styles.css
Comment on lines +21 to +30
.menu li {
position: relative;
}

.menu a {
display: block;
padding: 15px 20px;
text-decoration: none;
color: #000;
}
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.

Zdecydowanie łatwiej jest stylować po klasach. Pamiętaj, ze ten zapis tj. .menu a oznacza, że wszystkie elementy a (linki wew. .menu) będą miały te cechy.

Comment thread 04/index.html
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>devmentor.pl - HTML & CSS: RWD - #04</title>
<title>Responsive Menu</title>
<link rel="stylesheet" href="styles.css">
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 adres do pliku jest nieprawidłowy - powinno być styles/styles.css

Comment thread 04/index.html

<nav>
<ul>
<div class="menu-toggle" id="menu-toggle">&#9776;</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.

Na jakiej zasadzie chcesz zrobić przełączanie? :focus, :checked ?

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.

Dagmaro,

Zostawiłem jeszcze parę drobnych uwag, ale poza tym jest ok! 👍

Comment thread 05/index.html
text text text text textext text text text text
text text text text text </p>

</article>
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.

Za elementem article powinnaś zamknąć section, aby było zgodnie z "projektem". Każdy "wiersz" ma swoje zielone obramowanie.

Comment thread 05/index.html Outdated
Comment on lines +66 to +67
<article class="blue footer">
<h1 class="yellow footer">logo</h1>
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 zamknięcia dla article. Ten element powinien dodatkowo posiadać section, o klasie green, aby mieć swoją zieloną ramkę.

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 teraz jeden zielony jest zagnieżdżony w drugim:

Screenshot 2024-07-19 at 06 12 12

Comment thread 05/css/desktop.css

.menu .items li:last-child {
margin-right: 0;
} No newline at end of file
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 05/css/mobile.css
.yellow.footer {
width: 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.

👍

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