Message from JavaScript discussions

November 2020

— Bad practice man!


Because everyone else use jquery and they must be sure that when they open one of my projects they can edit it easely

— determin1st good help

— How do I put 2 of those functions in 1 file

— And only call the right one in each page

— I've got this project, single entry point where scripts included

— May include one big js file or multiple, doesn't matter

— I get that but I get an error

— Because it cant find the login form on the register page

— If I put all functions in 1 file

— And i also use php!!

— Can't call php a bad practice