0

How Can I append Elements to Sololearns JS Engine

I made this JS Code using Classes and Inheritance And Other stuff Spent a good bit of time on it But Solo learn is preventing it from working The "getElementById" is null Thiss is reallly tuff Need Help https://code.sololearn.com/WZ3uSn91FGRl/?ref=app

26th Feb 2020, 9:58 AM
Rodrigo Sanchez
Rodrigo Sanchez - avatar
2 ответов
+ 1
you had a jquery error in line 259. but I see that you fixed it
26th Feb 2020, 10:56 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
Justtt Fixed It Before I was using document.getElementById ("id").innerHTML = value However that produces a null error here but not in usual browsers While going through the JQuery Course However I noticed I can do $("#id").html (value) Which works like a charm
26th Feb 2020, 11:00 AM
Rodrigo Sanchez
Rodrigo Sanchez - avatar