Share your repls and programming experiences

← Back to all posts
My First Javascript Project - A quiz
h
VulcanWM (2756)

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

Comments
hotnewtop
[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!

VulcanWM (2756)

@DannyIsCoding
The GIA Official website is cool!

DannyIsCoding (698)

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

VulcanWM (2756)

Can we talk in a separate repl? @DannyIsCoding

[deleted]

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

AncientBison (68)

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

VulcanWM (2756)

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

AncientBison (68)

@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.

VulcanWM (2756)

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

studentAlfredAl (446)

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

[deleted]

Thx for mention me!
And cool quiz!

VulcanWM (2756)

Thanks and your welcome @Zuhdi28

[deleted]

@medcho np, ty