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

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

Conversation

RomanHasiuk
Copy link

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.

It looks like there are a few critical issues that need to be addressed before we can proceed. The typos in the class name and font-family could lead to styling issues, and the incorrect href attribute pointing to a SCSS file might cause the styles not to load properly. Please fix these issues, and you'll be all set! 😊

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

<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<title>Product cards</title>
<link
rel="stylesheet"
href="./styles/index.scss"

Choose a reason for hiding this comment

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

The href attribute is pointing to a SCSS file. Typically, browsers do not understand SCSS directly. Ensure that this file is being compiled to CSS and link to the CSS file instead.

src/index.html Outdated
</div>

<div class="card__price-container">
<div class="card__price-lebel">Price:</div>

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 class name 'card__price-lebel'. It should be 'card__price-label'.

$main-color: #00acdc;

.page {
font-family: Roboto, Aria, sans-serif;

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 font-family declaration. It should be 'Arial' instead of 'Aria'.

margin-bottom: 16px;
}

&__price-lebel {

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 class name. It should be '&__price-label' instead of '&__price-lebel'.

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 the pull request! 🎉 There are a couple of minor issues to address: ensure the &:last-child selector is correctly placed, and update the href attribute to point to a CSS file. Keep up the good work!

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

<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<title>Product cards</title>
<link
rel="stylesheet"
href="./styles/index.scss"

Choose a reason for hiding this comment

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

The href attribute in the <link> tag should point to a CSS file, not an SCSS file. Ensure that the path is correct and points to a compiled CSS file.

Comment on lines 117 to 119
&:last-child {
margin-right: 0;
}

Choose a reason for hiding this comment

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

The &:last-child selector is incorrectly placed inside the .stars block. It should be inside the .stars__star block to correctly target the last star element.

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