1- let text = 'We Love to Play';
2- let arr = text.split('');
3
4h1(role='image' aria-label=text)
5 - arr.forEach(letter => {
6 span.letter #{letter}
7 - });
1<h1 role="image" aria-label="We Love to Play">
2 <span class="letter">W</span>
3 <span class="letter">e</span>
4 <span class="letter"> </span>
5 <span class="letter">L</span>
6 <span class="letter">o</span>
7 <span class="letter">v</span>
8 <span class="letter">e</span>
9 <span class="letter"> </span>
10 <span class="letter">t</span>
11 <span class="letter">o</span>
12 <span class="letter"> </span>
13 <span class="letter">P</span>
14 <span class="letter">l</span>
15 <span class="letter">a</span>
16 <span class="letter">y</span>
17</h1>