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 solution #4541

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

add solution #4541

wants to merge 2 commits into from

Conversation

Fridrif27
Copy link

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.

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! ✨

src/style.css Outdated Show resolved Hide resolved
padding: 0;
margin: 20px 0;

font-family: Avenir, Arial, Helvetica, sans-serif;

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.

src/style.css Outdated Show resolved Hide resolved
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 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! ✨

Comment on lines +23 to +30
>
<input
data-qa="keypress"
type="text"
placeholder="Try “Los Angeles“"
class="form__input form__input--primary"
/>
</form>

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“"

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;

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;

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.

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