I dont understand why to use display:none; ?? We could have simply delete the test we want.
As @Agus suggested, for example, the menu in my code is setted like "display:none" and when you click on the top-right menu, he change his property in "display:block", and you can see it. This is one of the advantage to use "display: none"... you can create many "Toggle Effects" with your HTML elements. https://code.sololearn.com/WudXK2O6iHeQ/?ref=app
if you want to change the display later, it will be better to keep that. (to maintain long and dynamic webpage)
of course you can @pavan. it will make your code shorter and better.
dear agus, but I could have deleted the text I don't wanna display instead using value none! plz explain, m new to the world of coding.
blackjack on c
self parameter in python class
How to read this?