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 solution #4009

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

diachkinainna
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 work! 🎉 Your code meets most of the task requirements and constraints, and the overall structure is well-organized. The only minor issue is ensuring that the $side-calendar-day variable is correctly defined or imported to avoid any potential compilation errors. Keep up the good work, and consider this small adjustment for future improvements. Well done! 😊

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

Comment on lines +13 to +14
width: $side-calendar-day;
height: $side-calendar-day;

Choose a reason for hiding this comment

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

The variable $side-calendar-day is used here, but it's not defined within this file. Ensure that it is defined elsewhere in your SCSS files or imported correctly to avoid compilation errors.


@each $week-day, $index in $week-days {
.calendar--start-day-#{$week-day} :first-child {
margin-left: $index * ($side-calendar-day + 1);

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 uses $side-calendar-day, which is undefined in this file. Make sure this variable is defined or imported to ensure the calculation works correctly.

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