-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
base: master
Are you sure you want to change the base?
add task solution #4979
Conversation
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 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:
-
Data Attributes: Ensure that the
data-qa
attributes are correctly implemented as specified in the task. Currently, they do not match the requirements. -
Navigation Link Color: Verify that the nav links have the correct color
#060b35
as specified. -
Grid Layout for Cards: Ensure that the SCSS uses a grid layout with the specified breakpoints for the cards.
-
Hover Effects: Implement the specified smooth hover effects with the correct changes in size and color.
-
Variables for Repeated Sizes and Colors: Make sure all repeated sizes and special colors are defined as variables in the
variables.scss
file. -
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.
src/styles/variables.scss
Outdated
$star-color: #ccc; | ||
$card-height: 408px; | ||
$star-color: rgba(255, 222, 106, 1); |
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.
There is a duplicate declaration of the $star-color
variable. Consider removing one of these declarations to avoid confusion and ensure consistent styling.
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.
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" |
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 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" |
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 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" |
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 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" |
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 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" |
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 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" |
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 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" |
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 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.
&:hover { | ||
border: 1px solid $card-buy-color; | ||
background-color: rgba(243, 243, 243, 1); | ||
color: $card-buy-color; | ||
} |
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 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; |
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 hover color for nav links is correctly set to #060b35
. Ensure that this matches the task requirements.
&__cards { | ||
display: flex; | ||
gap: 2rem; | ||
justify-content: center; | ||
flex-wrap: wrap; | ||
} |
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 card layout uses flexbox, but ensure that it meets the task requirements for a grid layout with specified breakpoints.
❗️ Copy this
Checklist
to thePull Request
description after links, and put- [x]
before each point after you checked it.:hover
are smooth