0
How can i improve my javascript language ?😭😭😭
I was completed Javascript ago month, but i am seems my javascript improvement very slowly. I was created a project , under the javascript, i use display none and display block for hide element/box etc. My Wrost Code like : https://code.sololearn.com/W9G81rSh7h0x/?ref=app Anybody have best idea for improvement Javascript code ?
3 odpowiedzi
+ 2
There is nothing wrong with display:none; other than it been stressful and imperative.
Most of the time, I find myself using front-end frameworks like Svelte, Vue, React, Alpine. These frameworks make it super easy to program dynamic UIs with declarative templates.
If you are not a fan of using libraries/frameworks, you can try Web Components and HTML <template>.
https://developer.mozilla.org/en-US/docs/Web/Web_Components
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
0
Do you want me to suggest ways to improve that code or to improve your JavaScript knowledge in general?
0
Ore in Advance..
Mean
How can we write my best way for code,,