Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVELOP #4383

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

DEVELOP #4383

wants to merge 4 commits into from

Conversation

Yatsomo
Copy link

@Yatsomo Yatsomo commented Jul 18, 2024

@Yatsomo
Copy link
Author

Yatsomo commented Jul 19, 2024

The checks pass in VSC but fail on GitHub? How so?

Copy link

@natalia-klonowska natalia-klonowska left a comment

Choose a reason for hiding this comment

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

typed text should have different font-weight
image

src/style.css Show resolved Hide resolved
color: #3d4e61;
}

.searchbar__big {

Choose a reason for hiding this comment

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

try to use modifier instead


.searchbar__small {
height: 42px;
background-position: 12px 14px;

Choose a reason for hiding this comment

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

it should be 13px 15px

Copy link
Author

Choose a reason for hiding this comment

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

When its like that the test comes back negative. Should I still change it?

Copy link

Choose a reason for hiding this comment

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

If it fails test then don't change it.

src/style.css Outdated Show resolved Hide resolved
Copy link

@Zibi95 Zibi95 left a comment

Choose a reason for hiding this comment

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

Good job.

data-qa="big"
>
<input
class="searchbar__input searchbar__big"
Copy link

Choose a reason for hiding this comment

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

Its great case to use modifier class name like this searchbar__input searchbar__input--big

<input
class="searchbar__input searchbar__big"
type="text"
name="searchbar__bar searchbar__big"
Copy link

Choose a reason for hiding this comment

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

This is weird value for name property. It is primarily used in form elements to identify input fields when they are submitted to a server.

}

.searchbar {
margin: 20px 0;
Copy link

Choose a reason for hiding this comment

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

In this task its okay. But remember that if you want to configure the external geometry or positioning of a block, use separate classes or mix-ins to separate external properties (positioning, margins) from internal properties (padding). This approach helps avoid conflicts between element styles.


.searchbar__small {
height: 42px;
background-position: 12px 14px;
Copy link

Choose a reason for hiding this comment

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

If it fails test then don't change it.

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