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 #4603

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

Conversation

GabrielNunes-383
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.

Thank you for your hard work on this project! 😊 While you've made a great start, there are a few critical issues that need to be addressed to meet the core requirements of the task.

  1. HTML Structure: The search bars need to have the correct data-qa attributes as specified in the task. This is crucial for meeting the task requirements.

  2. CSS Styling: The font-weight and layout requirements for the search bars need to be adjusted to match the task specifications.

  3. General Requirements: Ensure that the images from src/images are utilized as required, and consider adding semantic tags for better SEO and accessibility.

  4. Form Structure: Make sure the input elements are correctly placed within a form tag with the appropriate attributes.

Addressing these points will significantly improve your solution and bring it in line with the task requirements. Keep up the great work, and don't hesitate to reach out if you need further guidance! 🌟

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

🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review button in the Reviewers tab.

src/index.html Outdated
/>

<br>

Choose a reason for hiding this comment

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

The <br> tag should be self-closing like <br /> to maintain consistency with the XHTML style used in the rest of the document.

Comment on lines +35 to +36
top: 71px;
left: 48px;

Choose a reason for hiding this comment

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

The 'top' and 'left' properties are used here, but they have no effect unless the element is positioned (e.g., relative, absolute, fixed). Consider removing these properties or setting a position for the element.

Comment on lines +46 to +47
top: 403px;
left: 48px;

Choose a reason for hiding this comment

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

Similar to the previous comment, the 'top' and 'left' properties will not affect the element unless it has a specified position. Consider removing these properties or setting a position for the element.

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.

Review Summary

Great effort on your submission! 🎉 While there are some critical issues that need attention, the decision to approve is made to help you move forward with your learning journey. Here are the key areas to focus on:

  1. HTML Structure:

    • The data-qa attributes need correction. Ensure the big search form has data-qa="big" and the input within it has data-qa="keypress". Avoid combining them into data-qa="big keypress".
  2. CSS Styling:

    • The default font-weight should be 300, but it's currently set to 400. Also, check the font-weight for .input_item-2:focus, which is set to 900, to ensure it aligns with the task requirements.
  3. Form Structure:

    • Input elements should be enclosed within a form tag to meet the task requirements.
  4. General Requirements:

    • Verify that images from src/images are used correctly. The CSS references a background image from images/Icon.png, so ensure this path is accurate and the image is from src/images.

Addressing these issues will enhance your code's functionality and compliance with the task requirements. Keep up the good work, and remember to learn from these insights to avoid similar issues in the future. Happy coding! 🚀

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

src/style.css Outdated

.input_item-2:focus {
background: linear-gradient(180deg, #FFF 0%, #F6F6F7 100%);
font-weight: 900;

Choose a reason for hiding this comment

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

The font-weight for .input_item-2:focus is set to 900, which may not align with the task requirements. Ensure that the font-weight matches the specifications provided in the task description.

class="input input_item-1"
/>
</form>
<br />

Choose a reason for hiding this comment

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

A tag
é para quebra de linha geralmente para textos.

Neste Caso eu sugiro adicionar uma

.

<div class="container">
     <form .... />
     <form .... />
</div>

.container {
    display: flex;
    flex-direction: colum;
    gap: 20px;
}

font-weight: 300;
font-style: normal;
}

Choose a reason for hiding this comment

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

missing:

* {
  box-sizing: border-box;
}

border-radius: 3px;
border: 1px solid #E1E7ED;
font-size: 16px;
position: relative;

Choose a reason for hiding this comment

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

width: 100%



.input {
background-image: url(./images/Icon.png);

Choose a reason for hiding this comment

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

Em vez de usar o fundo para adicionar o ícone, poderia ser melhor usar uma imagem e ajustar sua posição em relação ao form.

Choose a reason for hiding this comment

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

<form
      class="form"
      data-qa="big"
>
      <img/>
      <input/>
</form>

}

.input_item-2 {
width: 427px;

Choose a reason for hiding this comment

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

width: 100%

}

.input_item-1 {
width: 900px;

Choose a reason for hiding this comment

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

width: 100%

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