Skip to content
Sign upLog in
How Well Do You Know Repl.it?
Profile icon
PYer

If you've been active on repl talk for a long period of time, you should be able to ace this quiz in under 300 seconds! If not, I would recommend keeping repl.it opened, and be prepared to do some research! Capitalization does not matter (of course) when answering questions, and any styling feedback is greatly appreciated. New tab can be found at Repl.it Quiz

PS: Sorry for forgetting to change it to a public repl. It works now!

You are viewing a single comment. View All
Profile icon
AmazingMech2418

image
Easy...

Just a tip, don't store the answers in a global variable called "answers" and make all of the functions global...

Profile icon
AmazingMech2418
setInterval(n=>{document.getElementById(`q${curr}inp`).value=answers[curr];submitanswer();},0);
Profile icon
AmazingMech2418

image

Profile icon
PYer

I'm not that good at JS. I prefer python by far, but this would be very difficult.

@AmazingMech2418

Profile icon
AmazingMech2418

@PYer
To make them non-global, just put them in an anonymous function that automatically runs and use addEventListener to allow the buttons to work.

Profile icon
PYer