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

add task solution #4549

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

Conversation

chelsea7smile
Copy link

  • DEMO LINK
  • TEST REPORT LINK
  • Icon implemented using background-image CSS property
  • Inputs are written inside of 'form' tag with correctly passed attributes
  • All Typical Mistakes from BEM lesson theory are checked.
  • Code follows all the Code Style Rules ❗️

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Great job on implementing the custom fonts and using BEM naming conventions! 🎉 While there are some minor improvements suggested regarding the use of fallback fonts and class naming, they don't impact the core functionality. Keep up the good work and consider these suggestions for future enhancements! 😊

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

src/index.html Outdated
Comment on lines 20 to 24
<form
class="form form_big"
action="search"
data-qa="big"
>

Choose a reason for hiding this comment

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

The class name 'form_big__input' suggests a BEM naming convention, but it should be 'form__input form__input--big' to correctly represent the block and modifier structure.

src/index.html Outdated
Comment on lines 33 to 37
<form
class="form form_small"
action="search"
data-qa="small"
>

Choose a reason for hiding this comment

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

The class name 'form_small__input' suggests a BEM naming convention, but it should be 'form__input form__input--small' to correctly represent the block and modifier structure.

src/style.css Outdated
@@ -1 +1,94 @@
/* add styles here */
@font-face {
font-family: Avenir, Arial, sans-serif;

Choose a reason for hiding this comment

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

The font-family property should not include multiple fonts separated by commas within the @font-face rule. Instead, specify only the custom font name, like Avenir, and use fallback fonts in the font-family property of other CSS selectors.

src/style.css Outdated
}

@font-face {
font-family: Avenir-Heavy, Arial, sans-serif;

Choose a reason for hiding this comment

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

Similar to line 2, the font-family property should only specify the custom font name Avenir-Heavy without fallback fonts. Fallbacks should be used in other CSS selectors.

align-items: center;
width: 100%;
margin-top: 20px;
font-family: Avenir-Book, Arial, sans-serif;

Choose a reason for hiding this comment

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

The font-family property should use the custom font name defined in the @font-face rule without fallback fonts. Use Avenir instead of Avenir-Book.

box-shadow: 0 2px 8px 0 rgba(61, 78, 97, 0.2);
background: linear-gradient(0deg, #f6f6f7, #fff);
text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
font-family: Avenir-Heavy, Arial, sans-serif;

Choose a reason for hiding this comment

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

The font-family property should use the custom font name defined in the @font-face rule without fallback fonts. Use Avenir-Heavy instead of Avenir-Heavy, Arial, sans-serif.

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