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

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

add task solution #4580

wants to merge 2 commits into from

Conversation

azhadko98
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.


Thank you for your hard work on this task! 😊 Your code is mostly compliant with the requirements, but there's a critical issue with the HTML form tags being self-closed, which is not valid in HTML5. Please correct this by removing the self-closing slash and ensuring each form tag has a proper closing tag. Once this is addressed, your code will be in great shape! Keep up the great work! 🚀

✨ 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
Comment on lines 20 to 23
<form
action="#"
data-qa="big"
>

Choose a reason for hiding this comment

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

The form tag is incorrectly self-closed. In HTML5, form elements should not be self-closing. Please remove the '/' at the end of the form tag and ensure it has a proper closing tag.

src/index.html Outdated
Comment on lines 34 to 37
<form
action="#"
data-qa="small"
>

Choose a reason for hiding this comment

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

Similar to the previous form, the form tag is incorrectly self-closed. Remove the '/' at the end of the form tag and ensure it has a proper closing tag.

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 your submission! 🎉 Your code meets most of the task requirements, and I'm approving your pull request to help you move forward with your learning journey. However, there are a few areas for improvement:

  1. HTML Structure: Ensure that the <form> tags are not self-closed in HTML5. They should be written as <form> and closed with </form> to avoid unexpected behavior in some browsers.

  2. CSS Styling: It's recommended to use class selectors instead of tag names for styling, except for html and body. Also, consider adding a fallback font in your CSS in case the primary font fails to load.

  3. Attributes and File Structure: Correct the data-qa attribute for the small search form input to data-qa="small". Verify the existence of the src/images directory and ensure images are correctly placed and referenced.

  4. Font Weight: Double-check that the font-weight for Avenir-Book matches the actual weight of the font file to ensure proper rendering.

Addressing these issues will enhance the functionality and maintainability of your code. Keep up the good work and continue learning from these experiences! 🚀

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

Comment on lines +20 to +22
<form
action="#"
data-qa="big">

Choose a reason for hiding this comment

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

In HTML5, the <form> tag should not be self-closed. It should be written as <form> and closed with </form>.

Comment on lines +33 to +35
<form
action="#"
data-qa="small">

Choose a reason for hiding this comment

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

In HTML5, the <form> tag should not be self-closed. It should be written as <form> and closed with </form>.

@font-face {
font-family: Avenir;
src: url('fonts/Avenir-Book.ttf');
font-weight: 300;

Choose a reason for hiding this comment

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

The font-weight is set to 300 for Avenir-Book. Ensure that this matches the actual weight of the font file. If the font file is not of weight 300, it might not render as expected.

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