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

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

add task solution #3549

wants to merge 1 commit into from

Conversation

Aweiro
Copy link

@Aweiro Aweiro commented Dec 18, 2024

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 with CSS animations! 🎉 The overall structure and styling are well done. Just a small note: make sure to define the $hands variable correctly as a list or map for your @each loop to work as intended. Keep up the good work and happy coding! 😊

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

Comment on lines +49 to +53
@each $hand, $i in $hands {
&__#{$hand}-hand {
animation-duration: #{$i};
}
}

Choose a reason for hiding this comment

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

The @each loop references $hands and $i, but these variables are not defined in the provided code. Ensure that $hands is defined as a map or list elsewhere in your SCSS files, or define it here if it's missing.

@@ -0,0 +1,3 @@
$sec: 10s;
$min: 10min;
$hands: 'seconds' $sec, 'minutes' $min;

Choose a reason for hiding this comment

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

The $hands variable is intended to be a list or map for use in an @each loop, but the syntax is incorrect. You should define it as a list or map. For example, use a list: ('seconds' $sec, 'minutes' $min) or a map: ('seconds': $sec, 'minutes': $min).

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