+ 3
Firebase issue on Codepen?
I ported my simple chat group from SL to codepen but it doesn't seem to be working fine on codepen. It's connecting to firebase but isn't getting all the messages. Any suggestions as to what might be the problem? Codepen code: https://codepen.io/nderitu/pen/jxbxJv SL code: https://code.sololearn.com/WFaECBnd7Ep2/?ref=app
8 odpowiedzi
+ 4
If you check the browser console in CodePen you will have a good reference of what is happening.
Apparently you have a problem with CORS support. Even so, check this link, I have the impression that this could help you:
https://github.com/zalmoxisus/redux-devtools-extension/issues/123
https://github.com/18F/federalist/issues/1589
+ 3
@Xan try it now
+ 3
@Xan I will though the same code is working well on Sololearn.
+ 3
will do. Thanks for the help
+ 2
Try running your JavaScript code through JSHint.com. It can sometimes pick up obvious errors in code.
Also run your HTML through this: https://validator.w3.org/
+ 1
Your Codepen URL gives a 404.
+ 1
True. Maybe different platforms handle warnings differently though?
It's a long shot, but might be worth a quick look.
Aside from that, could you write some thorough tests to check the messages?
+ 1
Nick Nderitu quick question how did you add your freecode camp account