0

Why does the code show error for ".text content" / ".innerHTML" / ".innerText" on my code

https://code.sololearn.com/WNstA4VOTpha/?ref=app

24th May 2023, 2:04 PM
Nandini Prajapati
Nandini Prajapati - avatar
6 Respostas
+ 3
@Ipang, the page is not blank, but it is too large for the viewport. Line 6 of html (initial-scale) is cause of the oversized mobile page. It seems to have no effect when viewing on the website.
24th May 2023, 6:44 PM
ODLNT
ODLNT - avatar
+ 5
Nice one! but for a reason I don't know, it only shows a blank page on my part. Though no error messages were shown in console. Is this the ailing code? (Edit) The page was not blank, but it was oversized due to misconfiguration of viewport meta settings.
24th May 2023, 2:31 PM
Ipang
+ 3
Viewing your code via Sololearn website. Inside of nextBtn event handler, checkAnswer is called twice. This is causing the typeError message.
24th May 2023, 3:46 PM
ODLNT
ODLNT - avatar
+ 3
Sorry ODLNT I wasn't looking at that meta carefully. Please also remind the OP about that misconfigurated meta 👍
24th May 2023, 9:44 PM
Ipang
+ 1
The quiz restarts, as indicated by the timer starting, but for some reason, the question and options are not displayed.
26th May 2023, 2:21 PM
ODLNT
ODLNT - avatar
0
Why does the quiz not start after pressing the "play again".
26th May 2023, 9:56 AM
Nandini Prajapati
Nandini Prajapati - avatar