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

Develop #4023

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

Develop #4023

wants to merge 2 commits into from

Conversation

Roksolana14
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • Changing 'month-lengh' and 'start-day' modifier in the code element
    reflects in changing calendar layout

  • Each day has no modifiers, only class (eg. calendar__day)

  • All Typical Mistakes from BEM lesson theory are checked.

  • Code follows all the [Code Style Rules ❗️]

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 your submission! 🎉 The code is well-structured, and you've effectively used SCSS and BEM methodologies. The calendar is functional and meets the task requirements. While there's a minor issue with the margin-left calculation, it doesn't impact the overall functionality. Keep up the good work, and consider refining the calculation for even better accuracy in future projects. 😊

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

Comment on lines +46 to +47
.calendar--start-day-#{$day} :first-child {
margin-left: $calendar-day * $i + $i;

Choose a reason for hiding this comment

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

The calculation for margin-left might be incorrect. The expression $calendar-day * $i + $i should likely be $calendar-day * $i + $col-gap * $i to account for the gap between columns. Ensure that the gap is considered in the calculation.

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