-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
base: master
Are you sure you want to change the base?
add task solution #3496
Conversation
There was a problem hiding this 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! ✨
width: $watch-size; | ||
height: $watch-size; |
There was a problem hiding this comment.
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.
width: $minute-w; | ||
height: $minute-h; |
There was a problem hiding this comment.
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.
@include watch-animation( | ||
$duration * 60, | ||
(0.5 * $minute-w) $minute-h, | ||
steps(60, end) | ||
); |
There was a problem hiding this comment.
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.
width: $sec-w; | ||
height: $sec-h; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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.
width: $center-size; | ||
height: $center-size; |
There was a problem hiding this comment.
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.
There was a problem hiding this 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! ✨
@import './utils/variables'; | ||
@import './utils/mixins'; |
There was a problem hiding this comment.
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.
DEMO LINK
Keyframes implemented using from/to + transform with rotate property
Stopwatch is centered and has correct arrows size
All
Typical Mistakes
fromBEM
lesson theory are checked.Code follows all the Code Style Rules ❗️