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

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

add task solution #4979

wants to merge 3 commits into from

Conversation

Katy4S
Copy link

@Katy4S Katy4S commented Jan 6, 2025

❗️ Copy this Checklist to the Pull Request description after links, and put - [x] before each point after you checked it.

  • [x ] All components follow BEM and use SCSS
  • [x ] Repeated sizes and special colors are put to variables
  • [ x] Grid is used for the columns
  • [ x] Cards are shown in 1, 2, 3, or 4 columns based on screen resolution
  • [x ] All changes on :hover are smooth
  • [x ] 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 project! 😊 While you've done a great job with the structure and styling, there are a few critical issues that need to be addressed to meet the task requirements:

  1. Data Attributes: Ensure that the data-qa attributes are correctly implemented as specified in the task. Currently, they do not match the requirements.

  2. Navigation Link Color: Verify that the nav links have the correct color #060b35 as specified.

  3. Grid Layout for Cards: Ensure that the SCSS uses a grid layout with the specified breakpoints for the cards.

  4. Hover Effects: Implement the specified smooth hover effects with the correct changes in size and color.

  5. Variables for Repeated Sizes and Colors: Make sure all repeated sizes and special colors are defined as variables in the variables.scss file.

  6. Duplicate Variable Declaration: Remove the duplicate $star-color variable declaration to avoid confusion.

Please address these issues to ensure your code meets the core requirements. Keep up the great work, and feel free to reach out if you need any help! 🚀

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

Comment on lines 7 to 9
$star-color: #ccc;
$card-height: 408px;
$star-color: rgba(255, 222, 106, 1);

Choose a reason for hiding this comment

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

There is a duplicate declaration of the $star-color variable. Consider removing one of these declarations to avoid confusion and ensure consistent styling.

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 effort on your submission! 🎉 While your code has several issues that need attention, such as incorrect data-qa attributes, navigation link color, and hover effects, the decision to approve is made to help you progress in your learning journey. Please review the comments carefully to improve your code. Addressing these critical issues will enhance the functionality and meet the task requirements. 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! ✨

src/index.html Outdated
<a
href="#"
class="nav__link"
data-qa="hover"

Choose a reason for hiding this comment

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

The data-qa attribute here is set to 'hover', which might not be correct according to the task requirements. Please ensure that the data-qa attributes are correctly implemented as specified in the task.

src/index.html Outdated
<a
href="#"
class="card__buy"
data-qa="hover"

Choose a reason for hiding this comment

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

The data-qa attribute here is set to 'hover', which might not be correct according to the task requirements. Please ensure that the data-qa attributes are correctly implemented as specified in the task.

src/index.html Outdated
<a
href="#"
class="card__buy"
data-qa="hover"

Choose a reason for hiding this comment

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

The data-qa attribute here is set to 'hover', which might not be correct according to the task requirements. Please ensure that the data-qa attributes are correctly implemented as specified in the task.

src/index.html Outdated
<a
href="#"
class="card__buy"
data-qa="hover"

Choose a reason for hiding this comment

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

The data-qa attribute here is set to 'hover', which might not be correct according to the task requirements. Please ensure that the data-qa attributes are correctly implemented as specified in the task.

src/index.html Outdated
<a
href="#"
class="card__buy"
data-qa="hover"

Choose a reason for hiding this comment

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

The data-qa attribute here is set to 'hover', which might not be correct according to the task requirements. Please ensure that the data-qa attributes are correctly implemented as specified in the task.

src/index.html Outdated
<a
href="#"
class="card__buy"
data-qa="hover"

Choose a reason for hiding this comment

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

The data-qa attribute here is set to 'hover', which might not be correct according to the task requirements. Please ensure that the data-qa attributes are correctly implemented as specified in the task.

src/index.html Outdated
<a
href="#"
class="card__buy"
data-qa="hover"

Choose a reason for hiding this comment

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

The data-qa attribute here is set to 'hover', which might not be correct according to the task requirements. Please ensure that the data-qa attributes are correctly implemented as specified in the task.

Comment on lines +117 to +121
&:hover {
border: 1px solid $card-buy-color;
background-color: rgba(243, 243, 243, 1);
color: $card-buy-color;
}

Choose a reason for hiding this comment

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

The hover effect is implemented, but ensure that it includes smooth transitions as specified in the task. Consider adding a transition property for a smoother effect.

}

.nav__link:hover {
color: #060b35;

Choose a reason for hiding this comment

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

The hover color for nav links is correctly set to #060b35. Ensure that this matches the task requirements.

Comment on lines +86 to +91
&__cards {
display: flex;
gap: 2rem;
justify-content: center;
flex-wrap: wrap;
}

Choose a reason for hiding this comment

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

The card layout uses flexbox, but ensure that it meets the task requirements for a grid layout with specified breakpoints.

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