Hello I don't know why innerHTML is not working ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hello I don't know why innerHTML is not working ?

Please give me some hints ! https://code.sololearn.com/W023i9iv2OjM/?ref=app

1st Oct 2022, 11:42 AM
Ibrahim Lahlou
Ibrahim Lahlou - avatar
5 Answers
+ 3
Hello. Your code is not complete.please complete then ask your question.
1st Oct 2022, 11:50 AM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar
+ 2
Infact , it works outside sololearn but I didn't know if there's something missing to let that work here I just want to Switch columns place right and left
1st Oct 2022, 12:03 PM
Ibrahim Lahlou
Ibrahim Lahlou - avatar
+ 2
Hello again. Your code doesn't have any body, so we won't see anything. On the other hand, your js code missed a curly brace for function. Now please make sure this code and main code are same.
1st Oct 2022, 12:08 PM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar
+ 2
Ok , I will see , thanks for answering 🙏
1st Oct 2022, 12:14 PM
Ibrahim Lahlou
Ibrahim Lahlou - avatar
+ 1
And please tell me what you wanna do.
1st Oct 2022, 11:52 AM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar