chorter code | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 4

chorter code

I think my code can be written much shorter. https://sololearn.com/compiler-playground/WN92EnWHz1b8/?ref=app

22nd Feb 2024, 6:22 PM
PASHA ūüá∑ūüáļ
PASHA  ūüá∑ūüáļ - avatar
3 Respuestas
+ 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
22nd Feb 2024, 11:34 PM
Bob_Li
Bob_Li - avatar
+ 7
Bob_Li! You are an expert! Thank you very much for help!
23rd Feb 2024, 5:45 AM
PASHA ūüá∑ūüáļ
PASHA  ūüá∑ūüáļ - avatar
+ 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
23rd Feb 2024, 12:48 PM
Bob_Li
Bob_Li - avatar