I hava a project, but I’ve got a problem recently. I want to create tag element using javascript. I did entered codes as shown in this devTool
code to append img
however, when I add an element directly to HTML file, I works as expected, and as you can see that the both element has the same link but different.
the same alphabets but not the same, one is link and the other one is string
I know I am dumb, Programer is not my major study… I really appreciate people who get me out of the problem..
The point is “I just need to add and image from javascript” because,the Element that I wanna create doesn’t belong to HTML, it is additional element…