Share your repls and programming experiences

← Back to all posts
Image Changer!
Whacko
Image changer made with JavaScript!

This image changer uses var variable = document.getElementById("imageURL"); to change images from one to another.

How did I get the data from the form to JavaScript?

Using input.value, it get's the data from the form! Enjoy!

Voters
littlepenguin
AtriDey
gibbsfreenergy
Whacko
Comments
hotnewtop
DynamicSquid

Wait I don't get it what does it do?

gibbsfreenergy

Same here! @DynamicSquid

Whacko

@JosephSanthosh @DynamicSquid You enter an image URL, then press the button and it automatically shows the image using JavaScript.

Whacko
DynamicSquid

@JavaMaster1 so it just displays an image?

gibbsfreenergy

So it doesn't change the image or anything ? @JavaMaster1

Whacko

@JosephSanthosh Soon i will add settings, such as width, height, and visibility.

gibbsfreenergy

nice start. @JavaMaster1

Whacko

@JosephSanthosh Thanks. 😀