Share your repls and programming experiences

← Back to all posts
My First Javascript Project - A quiz
medcho (1085)

Thanks to @Zuhdi28 for his amazing Javascript tutorial. I wouldn't have been able to do this without it.

Commentshotnewtop
[deleted]

But a tip.
If we answer wrong, alert the answer then!
Just a tip

[deleted]

@medcho :)
Hey, did you saw my new Node.js repl?
File generator!

medcho (1085)

@DannyIsCoding
The GIA Official website is cool!

DannyIsCoding (419)

@medcho Thanks! lol (Even though I haven't posted it yes)

medcho (1085)

Can we talk in a separate repl? @DannyIsCoding

blackjkl (58)

This is cool!
but I got 0 out of 5 lol

AncientBison (57)

You dont have a <p> element that has the id="score"

medcho (1085)

What do you mean? I used  document.write("You got ", score, " out of 5") @AncientBison

AncientBison (57)

@medcho A tip that w3 says is never use document.write, It deletes all of your html. Look at this https://www.w3schools.com/js/js_htmldom_html.asp.

medcho (1085)

I didn’t write anything in my html file in the first place @AncientBison

studentAlfredAl (333)

Lol, this is really good :) Keep it up :)

[deleted]

Thx for mention me!
And cool quiz!

medcho (1085)

Thanks and your welcome @Zuhdi28

[deleted]

@medcho np, ty