Skip to content

add task solution#1916

Open
Luk2asz wants to merge 2 commits into
mate-academy:masterfrom
Luk2asz:develop
Open

add task solution#1916
Luk2asz wants to merge 2 commits into
mate-academy:masterfrom
Luk2asz:develop

Conversation

@Luk2asz
Copy link
Copy Markdown

@Luk2asz Luk2asz commented Jun 14, 2023

Copy link
Copy Markdown

@darokrk darokrk left a comment

Choose a reason for hiding this comment

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

Looks good 💪🏽 need small improvements in code

Comment thread src/index.html Outdated
<body>
<header class="header">
<a class="header__logo" href="">
<a class="header__logo" href="home">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The href value for the header__logo link should start with a '/' to indicate the root directory (e.g. '/home')

Comment thread src/index.html Outdated
<ul class="nav__list">
<li class="nav__item nav__item--is-active">
<a href="" class="nav__link">Apple</a>
<a href="Apple" class="nav__link">Apple</a>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

href attribute values should be started with lowercase e.g. apple

change this for the rest links also

Comment thread src/styles/_catalog.scss
flex-wrap: wrap;

display: grid;
gap: 48px;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

you can add here also justify-content: center to center all cards

Comment thread src/styles/_catalog.scss Outdated
}
}

@media (min-width: 488px) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this all @media styling should be placed in .catalog class line 6, please move them up and then you can remove .catalog class from inside, it will automatically points to this class :)

Suggested change
@media (min-width: 488px) {
@media (min-width: 488px) {
grid-template-columns: repeat(2, 200px);
}

@Luk2asz Luk2asz requested a review from darokrk June 15, 2023 08:52
Copy link
Copy Markdown

@DorotaLeniecDev DorotaLeniecDev left a comment

Choose a reason for hiding this comment

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

Looking good, check my suggestion about links href

Comment thread src/index.html
<body>
<header class="header">
<a class="header__logo" href="">
<a class="header__logo" href="/home">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

For this purpose I would rather use links with hashtags, as navigation links in most cases will point to the specific sections on the page

Suggested change
<a class="header__logo" href="/home">
<a class="header__logo" href="#home">

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.

3 participants