-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Develop #4982
base: master
Are you sure you want to change the base?
Develop #4982
Conversation
RYAB0Y
commented
Nov 15, 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! There are a few critical issues that need to be addressed before we can approve the pull request:
-
HTML Tag Error: The
<tittle>
tag is misspelled. It should be<title>
. This is important because it affects how the browser interprets the HTML document. -
Misspelled Class Name: The class name 'rewiew' is misspelled and should be corrected to 'review'. This is crucial for ensuring that the styles are applied correctly.
-
Undefined SCSS Variables: Several SCSS variables such as
$defaultWidth
,$boldTextColor
,$thinTextColor
,$buttonColor
,$cardWidth
,$imacPhotoWidth
,$imacPhotoHeight
, and$imacPhotoTopMargin
need to be defined to avoid compilation errors. -
Import Path Consistency: Ensure that the import path for './imac_photo' is correct and consistent with other paths to prevent import errors.
Please address these issues to ensure the functionality and maintainability of the code. Once these are resolved, we can proceed with the approval. 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
<tittle class="productNameFont"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</tittle> |
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 typo in the HTML tag name 'tittle'. It should be 'title'. This will cause the tag to not be recognized correctly by the browser.
<p class="productCodeFont">Product code: 195434</p> | ||
</div> | ||
|
||
<div class="rewiew"> |
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 class name 'rewiew' is misspelled. It should be 'review'. This could lead to styling issues if the CSS is expecting the correct spelling.
width: $defaultWidth; | ||
height: $buttonHeight; | ||
background-color: $buttonColor; |
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.
Ensure that the variables $defaultWidth, $buttonHeight, and $buttonColor are defined in your SCSS files. If they are not defined, it will cause a compilation error.
|
||
.buy:hover { | ||
background-color: #fff; | ||
color: $buttonColor; |
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.
Ensure that the variable $buttonColor is defined. If it is not defined, it will cause a compilation error.
@@ -0,0 +1,6 @@ | |||
.card { | |||
display: flex; | |||
width: $cardWidth; |
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.
Ensure that the variable $cardWidth is defined in your SCSS files. If it is not defined, it will cause a compilation error.
font-size: 16px; | ||
font-weight: 700; | ||
line-height: 18px; | ||
color: $boldTextColor; |
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.
Ensure that the variable $boldTextColor is defined in your SCSS files. If it is not defined, it will cause a compilation error.
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: $defaultWidth; |
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.
Ensure that the variable $defaultWidth is defined in your SCSS files. If it is not defined, it will cause a compilation error.
@@ -0,0 +1,16 @@ | |||
.rewiew { |
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 class name 'rewiew' is misspelled. It should be 'review'. This could lead to styling issues if the HTML is expecting the correct spelling.
color: $boldTextColor; | ||
width: $defaultWidth; |
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.
Ensure that the variables $boldTextColor and $defaultWidth are defined in your SCSS files. If they are not defined, it will cause a compilation error.
width: $starsSize; | ||
height: $starsSize; | ||
margin-right: $marginStars; |
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.
Ensure that the variables $starsSize and $marginStars are defined in your SCSS files. If they are not defined, it will cause a compilation error.
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 submission! 🚀 While your code has been approved to help you move forward with your learning, there are several important issues that need to be addressed to improve the functionality and maintainability of your code:
-
HTML Tag Error: The
<title>
tag is misused within the body of your HTML document. It should be placed in the<head>
section. Consider using<h1>
or<h2>
for headings within the body. -
Misspelled Class Name: The class name 'rewiew' is misspelled and should be corrected to 'review' to ensure styles are applied correctly.
-
Undefined SCSS Variables: Ensure that all SCSS variables such as
$defaultWidth
,$boldTextColor
,$thinTextColor
,$buttonColor
,$cardWidth
,$imacPhotoWidth
,$imacPhotoHeight
,$imacPhotoTopMargin
,$starsSize
, and$marginStars
are defined in your SCSS files to avoid compilation errors. -
Import Path Consistency: The import path for
'imac_photo'
is missing the./
prefix. Correct this to ensure consistency and prevent import errors.
Please review these comments carefully and make the necessary corrections. Addressing these issues will not only help you avoid similar problems in the future but also enhance your coding skills. 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
<title class="productNameFont"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
</title> |
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 <title>
tag is used incorrectly here. It should be used within the <head>
section to define the document's title, not within the body. Consider using a different tag, such as <h1>
or <h2>
, for the product name.
<p class="productCodeFont">Product code: 195434</p> | ||
</div> | ||
|
||
<div class="rewiew"> |
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 class name 'rewiew' is misspelled. It should be 'review' to ensure that the styles are applied correctly.
.buy { | ||
display: flex; | ||
box-sizing: border-box; | ||
width: $defaultWidth; |
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 variable $defaultWidth
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.
display: flex; | ||
box-sizing: border-box; | ||
width: $defaultWidth; | ||
height: $buttonHeight; |
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 variable $buttonHeight
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.
box-sizing: border-box; | ||
width: $defaultWidth; | ||
height: $buttonHeight; | ||
background-color: $buttonColor; |
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 variable $buttonColor
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.
font-size: 10px; | ||
font-weight: 400; | ||
line-height: 14px; | ||
color: $boldTextColor; |
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 variable $boldTextColor
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.
font-weight: 400; | ||
line-height: 14px; | ||
color: $boldTextColor; | ||
width: $defaultWidth; |
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 variable $defaultWidth
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.
&__star { | ||
background: url('../images/star.svg') no-repeat; | ||
background-position: center; | ||
width: $starsSize; |
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 variable $starsSize
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.
background: url('../images/star.svg') no-repeat; | ||
background-position: center; | ||
width: $starsSize; | ||
height: $starsSize; |
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 variable $starsSize
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.
background-position: center; | ||
width: $starsSize; | ||
height: $starsSize; | ||
margin-right: $marginStars; |
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 variable $marginStars
is used but not defined. Ensure it is defined in your SCSS files to avoid compilation errors.