+ 2
[object Object] error occurring when running code.
I don't understand why this error is happening, and I would like some help with it. I've tried removing bits of the code to understand why this is happening, but it hasn't worked. https://code.sololearn.com/WtBveMm3QqDV/#html
11 odpowiedzi
+ 2
Gabriel I have no idea...
Type it in notepad, save it as a .html and open it with chrome if you want to check the output I guess.
https://www.sololearn.com/post/610586/?ref=app
+ 4
Hi Gabriel
What were you trying to do?
From what I have seen, the code is working fine!
If there is any specific issue you have, try pointing it out and we'll be happy to help!
+ 1
Whenever I run the code, all I get in the output box is "[object Object]." Could it be an issue with my browser? I checked it on my phone, and it worked fine.
+ 1
It just fine now..Gabriel
Where you getting that output? Check again
No chances of that also because you don't have js code.!
+ 1
Gabriel not sure what to say, works in both Code Playground and in my browser. What browser are you using?
https://www.sololearn.com/post/610570/?ref=app
+ 1
Gabriel I'm using brave which is using the same rendering engine as chrome so I don't see why it doesn't work. Lemme download chrome and see if it's chrome
+ 1
I really appreciate the help. Thank you for the alternative. I'll continue investigating I guess.
0
I'm using Google Chrome as a browser and DuckDuckGo as a search engine on my computer.
0
Alright, thank you.
0
That is the output of js code, may be you removed as you said it.. Now you don't hava any javascript code.. Add deleted code if you need more about it.. That may help..