Hi I'm developing a simple app in Node JS using express and EJS for all the templates/views of the project. I'm putting some simple scripts (relateds basically with interaction: show hide things for example) on the .ejs file directly...and I don't know if to do so will be a bad practice. Where I'm supposed to put this kind of snippets? I mean they are quite simple and there not really related with the main functionality of the app.
via programador_mierder
No comments:
Post a Comment