-3
I’m new to the world of development, and I started with the Front-End. I’ve been looking to specialize in HTML, CSS and especially Javascript, but over time I’ve been realizing that with the advancement of these languages, and specifically CSS in its 3rd generation, it already does, alone, make several visual effects that were previously only possible with Javascript (a slider or any other kind of animation). In such a way, I still came across few situations where Javascript is really necessary, such as the opening of a modal or a form validation, for example. On what occasions is Javascript really necessary, and not just optional ? The language runs the risk of actually being replaced by CSS, or there are still a large number of cases where only JS can perform a task (whether a visual effect or not).
Javascript is for much more (but much :p) than working visual effects
– CesarMiguel
Like what, exactly ? That’s my question...
– anuseranother
Just take a little vertical look at the documentation to verify it. Data manipulation, action handling, so on
– CesarMiguel
I understand what you have in mind in question. But the answers are numerous and basically CSS and Javascript fulfill different functions and cannot replace each other. An example of something you can’t do with CSS alone: (link).
– Sergio
@Sergio, thank you for the answer, I thank you for putting the question in hold, because really it is a question that can have as a response several opinions, but I was unaware of this rule of the forum. Thank you !
– anuseranother