why isn't the src for this img changing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why isn't the src for this img changing?

I made a button linked to a loop using an array to change the src for the picture, although it's not changing the src for some reason. When I just tried making lewd.src equal to one link in quotes in the javascript i got the error "Cannot set property 'src' of null" and I couldn't figure out why that was either. Help a player out btw the images are NSFW just to lyk [Link removed due to violation of Content Creation Guidelines]

7th Jan 2019, 11:31 AM
Lee Yumm
Lee Yumm - avatar
3 Answers
+ 8
Adding note saying "the images are NSFW" does not relieve you from the violation of the forum rules, you can change the image links to something more appropriate or I will be happy to file a report about this. In case you didn't know (or care at all) there are underage on this community. I know you don't/wouldn't care, but you really should read a bit some of these: https://www.sololearn.com/Discuss/1316935/?ref=app https://www.sololearn.com/Discuss/593497/?ref=app https://www.sololearn.com/Discuss/596094/?ref=app
7th Jan 2019, 12:14 PM
Ipang
+ 7
Lee Yumm hi your code has inappropriate content. So your code and even your account can be deleted. Please change that inappropriate content.
7th Jan 2019, 1:01 PM
Seniru
Seniru - avatar
+ 6
Lee Yumm, please, remove links to NSFW content. NEVER share a code with NSFW content on SL (then you have to not make it public too).
7th Jan 2019, 1:00 PM
KrOW
KrOW - avatar