-
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 #4907
base: master
Are you sure you want to change the base?
add #4907
Conversation
Valbel93
commented
Dec 7, 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.
Sorry, the pull request review was unsuccessful for the following reasons:
Warning
There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]
Additional info:
Ignored files list:
readme.md
src/index.html
src/styles/index.scss
If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.
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.
Sorry, the pull request review was unsuccessful for the following reasons:
Warning
There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]
Additional info:
Ignored files list:
readme.md
src/index.html
src/styles/header.scss
src/styles/index.scss
src/styles/main.scss
src/styles/stars.scss
If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.
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.
Sorry, the pull request review was unsuccessful for the following reasons:
Warning
There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]
Additional info:
Ignored files list:
readme.md
src/index.html
src/styles/header.scss
src/styles/index.scss
src/styles/main.scss
src/styles/stars.scss
If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.
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.
Sorry, the pull request review was unsuccessful for the following reasons:
Warning
There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]
Additional info:
Ignored files list:
readme.md
src/index.html
src/styles/header.scss
src/styles/index.scss
src/styles/main.scss
src/styles/stars.scss
If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.
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 work! Almost done!
src/index.html
Outdated
<h2 class="card__title"> | ||
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | ||
<p class="card__code">Product code: 195434</p> | ||
</h2> |
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.
<h2 class="card__title"> | |
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | |
<p class="card__code">Product code: 195434</p> | |
</h2> | |
<h2 class="card__title"> | |
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A) | |
</h2> | |
<p class="card__code">Product code: 195434</p> |
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.
Element p
is not allowed as child of element h2
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.
src/index.html
Outdated
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__star"></div> | ||
<div class="stars__reviews">Reviews: 5</div> |
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.
You need to use the semantic tag for text, fix it everywhere
<div class="stars__reviews">Reviews: 5</div> | |
<p class="stars__reviews">Reviews: 5</p> |
src/index.html
Outdated
</div> | ||
<div |
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.
Add the blank line between the cards
</div> | |
<div | |
</div> | |
<div |
src/styles/main.scss
Outdated
&:hover { | ||
transform: scale(1.5); | ||
} |
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.
src/styles/main.scss
Outdated
border-radius: 5px; | ||
border: 1px solid #00acdc; | ||
color: #fff; | ||
background-color: #00acdc; |
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.
Create a variable for repeated colors and use it everywhere
src/styles/header.scss
Outdated
:root { | ||
--font-family: Roboto, sans-serif; | ||
--color: #00acdc; | ||
--main-accent: #060b35; | ||
--secondary: #616070; | ||
--white: #fff; | ||
--blue-accent: #00acdc; | ||
--gray-elements: #f3f3f3; | ||
--yellow-stars: #ffde6a; | ||
} |
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.
use sass vars
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.
підкажіть будь ласка, що саме тут не так????
прописано все за для виконання в коді в подальшому, в чому помилка? Ми берем данні з Figma, там окрім цього, іншої інформації немає, все бралось звідти, по шаблону, що саме не так???
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.
src/styles/main.scss
Outdated
.card { | ||
border: 1px solid var(--gray-elements); | ||
border-radius: 5px; | ||
width: 198px; | ||
height: 406px; | ||
background-color: var(--white); | ||
justify-content: center; | ||
transition-duration: 300ms; | ||
|
||
&:hover { | ||
transform: scale(1.2); | ||
} | ||
} | ||
|
||
.card__img { | ||
width: 160px; | ||
height: 134px; | ||
margin: 32px 19px 36px; | ||
} | ||
|
||
.card__title { | ||
font-weight: 500; | ||
font-size: 12px; |
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.
same here
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 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 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.
src/index.html
Outdated
Price: | ||
<div class="card__price-value">$2,199</div> |
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.
You need to use semantic tag for text, you can use tag p
here, fix it everywhere
src/styles/header.scss
Outdated
:root { | ||
--font-family: Roboto, sans-serif; | ||
--color: #00acdc; | ||
--main-accent: #060b35; | ||
--secondary: #616070; | ||
--white: #fff; | ||
--blue-accent: #00acdc; | ||
--gray-elements: #f3f3f3; | ||
--yellow-stars: #ffde6a; | ||
} |
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.
src/styles/header.scss
Outdated
margin: 0; | ||
} | ||
|
||
header { |
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.
Use class selector
header { | |
.header { |
src/styles/header.scss
Outdated
} | ||
|
||
.is-active { | ||
color: #00acdc; |
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.
Use a variable for this 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.