Posts by Wesley Gessner • 23 points
1 post
-
2
votes1
answer96
viewsQ: Javascript - Dynamically HTML elements
Is creating HTML elements dynamically by JAVASCRIPT a bad practice? For example: var img = document.createElement('img') img.setAttribute('id', 'foto')…