I have some code I modified and they have inline scripts in HTML.
For an example, in my documents there are few buttons like this.
<button class="btn-primary" onclick="selectAll()">All Students</button>
How to avoid this inline styling in the best way possible?
Additional Info : I'm using query files. Any input would be appreciated.