Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
JannikHv5046yWell, you use javascript when you want something to be done that cannot be done in plain HTML/CSS. If you don't know how, Google :)
-
It can be this simple:
HTML for the structure.
CSS for the looks and feel.
JS for the effects, events. -
IMO PHP is one of the easiest languages out there to “get started” with.
Just suppress all warnings and Concat any commands you like.. 🤕
However, IMO this makes it way harder to become a qualified / good PHP dev..
Same for JS. Even common frameworks are one huge hack, you need to be very disciplined to learn best practices and not use one of the many the shortcuts (hacks) out there. -
jeeper59666yHow is as easy as getElelmentByID, or querySelextorAll. Then making the changes to the objects those return.
When is whenever something needs to change on a user generated event.
Related Rants
So JavaScript/ES6 is kicking my ass. I'm not used to front end development as much. Idk when to use javascript and how. I dont know when I need to manipulate the DOM and how I do it. It's a new concept and I'm hoping PHP isnt gonna have as big of a learning curve..
rant
struggles
webdev
web development
js
javascript
es6