-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
base: master
Are you sure you want to change the base?
add task solution #4603
Conversation
GabrielNunes-383
commented
Nov 17, 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.
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.
-
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. -
CSS Styling: The
font-weight
and layout requirements for the search bars need to be adjusted to match the task specifications. -
General Requirements: Ensure that the images from
src/images
are utilized as required, and consider adding semantic tags for better SEO and accessibility. -
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> |
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 <br>
tag should be self-closing like <br />
to maintain consistency with the XHTML style used in the rest of the document.
top: 71px; | ||
left: 48px; |
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 '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.
top: 403px; | ||
left: 48px; |
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.
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.
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.
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:
-
HTML Structure:
- The
data-qa
attributes need correction. Ensure the big search form hasdata-qa="big"
and the input within it hasdata-qa="keypress"
. Avoid combining them intodata-qa="big keypress"
.
- The
-
CSS Styling:
- The default
font-weight
should be 300, but it's currently set to 400. Also, check thefont-weight
for.input_item-2:focus
, which is set to 900, to ensure it aligns with the task requirements.
- The default
-
Form Structure:
- Input elements should be enclosed within a
form
tag to meet the task requirements.
- Input elements should be enclosed within a
-
General Requirements:
- Verify that images from
src/images
are used correctly. The CSS references a background image fromimages/Icon.png
, so ensure this path is accurate and the image is fromsrc/images
.
- Verify that images from
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; |
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 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 /> |
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.
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; | ||
} | ||
|
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.
missing:
* {
box-sizing: border-box;
}
border-radius: 3px; | ||
border: 1px solid #E1E7ED; | ||
font-size: 16px; | ||
position: relative; |
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.
width: 100%
|
||
|
||
.input { | ||
background-image: url(./images/Icon.png); |
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.
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.
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.
<form
class="form"
data-qa="big"
>
<img/>
<input/>
</form>
} | ||
|
||
.input_item-2 { | ||
width: 427px; |
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.
width: 100%
} | ||
|
||
.input_item-1 { | ||
width: 900px; |
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.
width: 100%