1 min read

Build a Typewriter effect component

Build a Typewriter effect component

Given a sentence, display it with half a second delay between each character.
Start showing nothing and then display characters one by one until the full sentence is displayed. No style is required.

To get started, clone the starter repo: https://github.com/reactpractice-dev/typewriter-effect
It comes with a TypewriterEffect component that already contains a form where the user can enter a sentence - so you just need to add the typewriter effect logic.

Good luck!

When you're ready to check your work, check out the official solution.

0:00
/