+ 4
chorter code
I think my code can be written much shorter. https://sololearn.com/compiler-playground/WN92EnWHz1b8/?ref=app
3 Réponses
+ 2
you can nest the head and body of the nail and move it as a single unit.
The css values could be modified through javascript.
here are the code refactors:
https://sololearn.com/compiler-playground/W9KNrn6qMBSu/?ref=app
https://sololearn.com/compiler-playground/Wpd0TI6KZwQy/?ref=app
+ 7
Bob_Li! You are an expert! Thank you very much for help!
+ 2
PASHA 🇷🇺
here is a native vanilla js version without using jQuery. if you used a unique, non-keyword id, it can be accessed by js even without assigning to variables.
https://sololearn.com/compiler-playground/W02tpyH83R9N/?ref=app