created test html markup, able to load an img by resetting img attr from an inputted url