Why this code is not working properly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why this code is not working properly?

I want to increase opacity of the image when I change the input range bar. https://code.sololearn.com/WfJ14RAI8iYc/?ref=app

21st Apr 2021, 2:21 PM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
8 Answers
+ 1
Try this code. If still not working. Let me know https://code.sololearn.com/Wsx7F08G2903/?ref=app
21st Apr 2021, 4:14 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
Change "oninput" to "onchange"
21st Apr 2021, 2:44 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
🇮🇳Vivek🇮🇳 but it's not works.
21st Apr 2021, 2:47 PM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
0
Mohan 333 do you have small image? It takes long time to load
21st Apr 2021, 3:07 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
🇮🇳Vivek🇮🇳 small images means size of the image ?
21st Apr 2021, 3:31 PM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
0
🇮🇳Vivek🇮🇳 Now I changed my code to change opacity of div. But It all so not work. Why? How to solve it?
21st Apr 2021, 3:33 PM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
21st Apr 2021, 4:13 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
🇮🇳Vivek🇮🇳 wow it works. Thank you friend!
21st Apr 2021, 4:16 PM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar