Calling all JS programmers! Here's a challenge for you, check out this demo: https://codepen.io/gschier/pen/jkivt
I'm looking to tweak 'The pen is simple.' to be 'The pen issimple.' by removing the extra space after 'is'.
I've explored different options without success. My expertise lies in CSS and HTML, not so much in JS.
While this request may seem odd with this example, I want to initiate a sentence with an alphabet letter. For instance:
<h1>A
<span
class="txt-rotate"
data-period="2000"
data-rotate='[ " great day.", "pple.", "wesome.", " shinny diamond."]'></span>
The current output from the JS results in "A great day.", "A pple.", "A wesome.", "A shinny diamond." Can you help me get rid of the additional space? Thank you.