@Enmanuel-Otero-Montano
Posted
Hello DarkDev56!
Great job, I like it 😍. About innerHTML, I would like to know why you say that it is not a good practice.
Cheers!
@dotfivesix
Posted
@Enmanuel-Otero-Montano Thanks for appreciating my project. In innerHtml, syntax wasn't highlighted (maybe I had to install some VSC extension), editing was hard. Second thing is, .innerHtml has security issues especially if data to be put in, is from the user (e.g user inputs malicious script, we take that and put in .innerHtml without sanitizing) but in this project, since data was authentic, I said I had no issue with .innerHtml, when working with vanillaJS, it's a good option in my opinion but not when you have a framework/library to work with.