DEV Community

Play Button Pause Button

Posted on

5min JS - dynamic placeholder text

Placeholder text how you want it to be

This is an older project of mine I just updated and wanted to take the opportunity to finally try out's video function.

What it is addressing

Rather than generating static placeholder text, this little helper generates the placeholder text dynamically, allowing you to:

  • account for differences in dynamic content
  • easily switch between development & "real" content
  • check loading behaviour

YouTube mirror


Top comments (0)