0
Why does my JS code on codebits run on my laptop but displays typeError on my phone?
6 Antworten
+ 2
On JS pane, DOM access method have to be executed from onload callback.
https://code.sololearn.com/Wm3l7Y00C7Lg/?ref=app
Next time, please don't post any code link from tag section.
+ 1
Hi Calvin and Ipang, I have made the rectification.. Thank you. I believe the code is now visible..
+ 1
It's the color attribute of `.right-col p` which defined `color: #FFFAFA;` for the paragraph containing "Click here to listen". Change the color value to something more visible on the background colour.
+ 1
Ooh yeah.. Okay thanks Ipang
+ 1
Thanks Calvin and Ipang, my code now works.
0
Calvin... With the onload function, the 'click here to listen' disappears..