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

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

add task solution #3496

wants to merge 1 commit into from

Conversation

kovaltar
Copy link

  • DEMO LINK

  • Keyframes implemented using from/to + transform with rotate property

  • Stopwatch is centered and has correct arrows size

  • 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 implementing the stopwatch functionality! 🎉 Your code meets the task requirements and constraints effectively. The animations and design are well-executed, and you've utilized CSS features like variables and mixins efficiently. Just ensure that all variables and mixins are correctly defined to avoid any potential compilation issues. Keep up the excellent work! 😊

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

Comment on lines +18 to +19
width: $watch-size;
height: $watch-size;

Choose a reason for hiding this comment

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

The variables $watch-size, $minute-w, and $minute-h are used here. Ensure these variables are defined in the imported files or within this file to avoid compilation errors.

Comment on lines +25 to +26
width: $minute-w;
height: $minute-h;

Choose a reason for hiding this comment

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

The variables $minute-w and $minute-h are used here. Ensure these variables are defined in the imported files or within this file to avoid compilation errors.

Comment on lines +32 to +36
@include watch-animation(
$duration * 60,
(0.5 * $minute-w) $minute-h,
steps(60, end)
);

Choose a reason for hiding this comment

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

The mixin watch-animation is used here. Ensure this mixin is defined in the imported files or within this file to avoid compilation errors.

Comment on lines +48 to +49
width: $sec-w;
height: $sec-h;

Choose a reason for hiding this comment

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

The variables $sec-w and $sec-h are used here. Ensure these variables are defined in the imported files or within this file to avoid compilation errors.

top: #{0.5 * $watch-size - $sec-h};
left: #{0.5 * ($watch-size - $sec-w)};

@include watch-animation($default-duration, (0.5 * $sec-w) $sec-h, linear);

Choose a reason for hiding this comment

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

The mixin watch-animation is used here. Ensure this mixin is defined in the imported files or within this file to avoid compilation errors.

Comment on lines +67 to +68
width: $center-size;
height: $center-size;

Choose a reason for hiding this comment

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

The variable $center-size is used here. Ensure this variable is defined in the imported files or within this file to avoid compilation errors.

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! 🎉 Your code meets the task requirements and constraints effectively, and you've implemented CSS animations, sizing, and styling as specified. Just make sure that the files ./utils/variables and ./utils/mixins exist and contain the necessary definitions to ensure smooth SCSS compilation. Keep up the excellent work! 😊

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

Comment on lines +1 to +2
@import './utils/variables';
@import './utils/mixins';

Choose a reason for hiding this comment

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

Ensure that the files './utils/variables' and './utils/mixins' exist and contain the necessary variable and mixin definitions used in this SCSS file. Without these definitions, the SCSS compilation will fail.

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