0

Code error in SoloLearn course? [Closed]

In the "Your first interactive website" lesson in the course "Tech For Everyone"... there is one of those *tap to try!* thingys Ok so i run it and i get an error... what's the problem? Code : <img id="robot" src="https://blob.sololearn.com/courses/robot-c.jpg"> <button onclick="robot.src='https://blob.sololearn.com/courses/robot-l.jpg'">Left</button> Error : Uncaught TypeError : Cannot set property 'src' of undefined Line : 2 So is it the course's fault or is it somehow an error from my device??? Idk someone explain.

26th Jan 2023, 8:53 PM
Dronto
Dronto - avatar
5 Answers
0
Dronto You can ask to sololearn by mailto: info@sololearn.com problem details with screen shot or video record will help more clearly to understand the problem easily. Devs can tell you whether is it device problem or any bug .. Is there any settings changes need, from their or your side? Devs can help you as much as they can and quickly.. But we are not. So try to mail details. hope it helps...
27th Jan 2023, 12:27 PM
Jayakrishna šŸ‡®šŸ‡³
+ 1
<img id="robot" src="https://blob.sololearn.com/courses/robot-c.jpg"> <button onclick="robot.src='https://blob.sololearn.com/courses/robot-l.jpg'">Left</button> Is this the code? It is working fine, in course, and in playground, you can recheck....
26th Jan 2023, 9:07 PM
Jayakrishna šŸ‡®šŸ‡³
0
Clear the document and retype it, don't copy and paste. Sometimes when you copy and paste you also copy a over different (unicode) characters. That appear hidding in your document. Thus causing errors in your code.
26th Jan 2023, 10:26 PM
Chris Coder
Chris Coder - avatar
0
Jayakrishna šŸ‡®šŸ‡³ Well, if it works with you then it clearly is some type of problem with my device somehow? Idk... i use my phone while im in sololearn Chris Coder That didn't work... I wish i could show you in a screenshot or video of my problem because now i probabaly look like i'm trolling... but thanks for trying to help! ----------------- You know what... no need to respond with more suggestions because it looks like the problem can't be solved for me. Thanks to anyone who took their time to try and solve my problem!
27th Jan 2023, 12:05 PM
Dronto
Dronto - avatar
0
Jayakrishna šŸ‡®šŸ‡³ Ok that answer does deserve the "best answer" checkmark... i emailed them and it's been 1 day... hope they respond!
28th Jan 2023, 4:36 PM
Dronto
Dronto - avatar