-
Notifications
You must be signed in to change notification settings - Fork 4k
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 solution #4541
base: master
Are you sure you want to change the base?
add solution #4541
Conversation
Fridrif27
commented
Oct 16, 2024
- DEMO LINK
- TEST REPORT LINK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're doing a fantastic job! 🎉 However, there are a few changes that need to be made in your CSS file. Remember to be consistent with your margins to avoid potential margin collapse and reconsider changing the font weight on focus. Keep up the good work! 👍
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
padding: 0; | ||
margin: 20px 0; | ||
|
||
font-family: Avenir, Arial, Helvetica, sans-serif; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on using a fallback font family! This ensures that if the Avenir font doesn't load for some reason, the browser will use Arial, Helvetica, or a generic sans-serif font instead.
There was a problem hiding this 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 fallback fonts! While there are a few minor improvements suggested, they don't impact the core functionality of your code. Keep up the good work and consider the feedback for future enhancements! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
> | ||
<input | ||
data-qa="keypress" | ||
type="text" | ||
placeholder="Try “Los Angeles“" | ||
class="form__input form__input--primary" | ||
/> | ||
</form> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be an empty line between the two form elements to improve readability, as they are multiline sibling blocks.
<input | ||
data-qa="keypress" | ||
type="text" | ||
placeholder="Try “Los Angeles“" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The placeholder text contains a space within the quotes. Ensure that links or anchor tags do not contain spaces, as per the checklist.
|
||
.form__input { | ||
box-sizing: border-box; | ||
display: flex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using tag names for styling. Instead of using 'display: flex;' directly on '.form__input', consider using a class to apply this style.
padding: 0; | ||
margin-top: 20px; | ||
|
||
font-family: Avenir, Arial, Helvetica, sans-serif; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's good practice to provide fallback fonts in case the primary font fails to load. You've done this correctly by including Arial, Helvetica, and sans-serif as fallbacks.