0
Html mein image ek ke uper ek image kese lagaye
Like bulb image hai on and off ki dono image ko html coding link kese kare jisse wo output click karne per on off ho
2 Answers
+ 2
Maybe you try adding your code as per this guide and someone can help you:
https://sololearn.com/compiler-playground/Wek0V1MyIR2r/?ref=app
https://sololearn.com/compiler-playground/W0uW3Wks8UBk/?ref=app
0
Nitya Gunjan
तुम्हें इसके लिए 2 इमेज की ज़रूरत है। एक है बल्ब ऑन का, दूसरा है बल्ब ऑफ का। फिर तुम JavaScript का "onclick" इवेंट लिसनर इस्तेमाल करके इमेज का URL बदलो (अगर अभी ऑन वाला URL इस्तेमाल हो रहा है, तो उसे बदलो ऑफ वाले URL पर, और अगर ऑफ वाला URL हो, तो उसे बदलो ऑन वाले URL पर)।
और अगली बार कृपया अंग्रेज़ी में पोस्ट करने की कोशिश करें। इस तरह, हम समझ सकेंगे कि आप क्या कह रहे हैं।