I have an input element, a span, and a div with a background image property.
<span>Go</span><input id="ImageUrl"/>
<div id="Image"></div>
I’m trying to create a script where if a user pastes/types a link into the input field, then clicks the Go button, the background image property for the div changes to that url.
In < head> :
In < body> :
If you have problems please let me know 🙂