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

testing try #4965

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

Conversation

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

Your code is generally well-structured and you've done a great job with indentation and naming conventions! However, there are a few areas that need attention. Please avoid using the body tag for styling and consider using a CSS preprocessor to avoid repeating code. Keep up the good work and remember, every feedback is a step forward in your learning journey! 😊

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

src/style.css Outdated
@@ -1 +1,47 @@
/* add styles here */
body {
margin: 0;

Choose a reason for hiding this comment

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

Using the body tag to apply styles is against the checklist. It's better to use a class to apply styles. (CSS Checklist: Don't use tag names for styling except html and body)

src/style.css Outdated
Comment on lines 19 to 47
.stars--1:nth-child(1) {
background-image: url('./images/star-active.svg');
background-repeat: no-repeat;
background-position: center;
}

.stars--2:nth-child(2) {
background-image: url('./images/star-active.svg');
background-repeat: no-repeat;
background-position: center;
}

.stars--3:nth-child(3) {
background-image: url('./images/star-active.svg');
background-repeat: no-repeat;
background-position: center;
}

.stars--4:nth-child(4) {
background-image: url('./images/star-active.svg');
background-repeat: no-repeat;
background-position: center;
}

.stars--5:nth-child(5) {
background-image: url('./images/star-active.svg');
background-repeat: no-repeat;
background-position: center;
}

Choose a reason for hiding this comment

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

There is a lot of repeated code here. To avoid this, you can use a CSS preprocessor like SASS or LESS, which supports variables and mixins. This will help you to keep your code DRY (Don't Repeat Yourself).

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 structuring the HTML file! While there are some suggestions for improving readability, these are minor and don't affect the functionality. Keep up the good work and consider the feedback for future improvements! 😊

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

Comment on lines +22 to +23
</div>

Choose a reason for hiding this comment

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

Consider adding an empty line here to separate sibling blocks and improve readability.

Comment on lines +30 to +31
</div>

Choose a reason for hiding this comment

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

Consider adding an empty line here to separate sibling blocks and improve readability.

Comment on lines +38 to +39
</div>

Choose a reason for hiding this comment

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

Consider adding an empty line here to separate sibling blocks and improve readability.

Comment on lines +46 to +47
</div>

Choose a reason for hiding this comment

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

Consider adding an empty line here to separate sibling blocks and improve readability.

Comment on lines +54 to +55
</div>

Choose a reason for hiding this comment

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

Consider adding an empty line here to separate sibling blocks and improve readability.

src/style.css Outdated
background-position: center;
width: 16px;
height: 16px;
padding: 1px;

Choose a reason for hiding this comment

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

Consider using only top or bottom margin/padding to avoid potential margin collapse. The checklist suggests being consistent with your margins.

Copy link

@Zibi95 Zibi95 left a comment

Choose a reason for hiding this comment

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

Hi, the test did not pass, and both the demo link and the test link are not working.

Copy link

@Zibi95 Zibi95 left a comment

Choose a reason for hiding this comment

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

The code looks good, but I still can't see the demo. Your links are not working.

Copy link

@Zibi95 Zibi95 left a comment

Choose a reason for hiding this comment

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

Hey. I guess you haven't run npm run deploy after recent changes.

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.

3 participants