+ 3
This leaves some good lessons, which I recommend you keep:
1. Always document your code. Everyone forgets the reasoning behind code written a while ago. Documenting protects you from that, and also allows others to understand and help.
2. Think first logic, then code. This makes the difference between improving the code and getting lost in it. With the logic clear in your mind, you can mantain it and also explain it to whoever can contribute.
3. Make communication clear and straight. We can't read each other minds, so we have to tell each other what we think.
That said, I can't understand your last questions.
+ 1
Your move function takes one argument, but is called with zero arguments.
What was this object "mouse" supposed to be?
+ 1
Your Mom I refer to the code.
The function asks for an argument. What should it contain?
+ 1
But it's your code... What did you intend with the argument?
0
Sorry, I'm struggling a lot to understand your question. What I got is the parts about the cursor stopping and growing. I ran the code a couple times but neither happened. I'll try on a computer to see if I can reproduce.
Let's break the problem in parts, starting by the first.
1. What is the relationship between the scale property, keyframes and the animation?
2. In which system did you see the stopping problem? Was it in Code Playground?
0
Your Mom I probably got everything wrong about the problem. I tested in a computer too, in Firefox, and didn't see the problem. Even pasted the code in HTML, CSS and JS, and everything passed. Let's try to set it straight:
1. Pls describe problem 1, in a concise way, without elements not related.
2. Pls describe the system where you saw the problem occur.
0
System would be wherever you run the app in. For example, I ran in an Android phone and in Firefox, in a Linux notebook. Maybe versions and so on until we spot a relevant difference.
Anyway, I really won't be able to help you. I can't reproduce the problem neither understand what triggers it.
0
Google Chrome? What's the version you're running? What's your operating system?
0
Oops, forgot! Will get to my computer later on, then test.
0
I tested in Chrome, and didn't see the cursor growing. I just saw it being filled up in white, as "#cursor:active" selector specifies.
I also noticed the cursor wasn't spinning, neither in Chrome, neither in Firefox. I never used the @keyframes rule, but I read about it here:
https://www.w3schools.com/cssref/css3_pr_animation-keyframes.asp
I noticed the CSS blocks for ID "cursor" lacked the "animation" property. I included it as "animation: spin 4s infinite;", and the spinning worked (in a weird way, as @keyframes do).
With this "animation" property, do any of the problems get solved?
0
Cool! The code is not loading since yesterday. As soon as the app gets better mood, I'll check it out.
0
Unfortunately, I can't load it...
0
No. I'm looking at the link in the question description.