Showoff Saturday (December 16, 2017)

Showoff Saturday (December 16, 2017)

Did you find or create something cool this week in javascript?

Show us here!

Submitted December 16, 2017 at 06:50PM by AutoModerator
via reddit


How can I simulate a typing effect using Javascript?

How can I simulate a typing effect using Javascript?

I just learnt the bare basics of Javascript yesterday so I'm really sorry if I end up asking bad questions.

I was hoping to simulate typing on my web project(for school), something along the lines of the game Emily Is Away, where you can type but the characters that appear are pre-determined. What I first thought of was using the onkeypress event to get each character to pop up one by one, though I figured that that would result in rather unwieldy code if I were to code each letter individually. Is there a better/easier solution?

Submitted December 16, 2017 at 04:58PM by TheTiredBadger
via reddit