Just wanted to know if this is the best way to code this, or if there are alternate ways! The test was simply to rewrite the statement for const myString. (First time posting, so also trying to figure out the best way to display the code here from my CodePen account.)
<p class="codepen" data-height="300" data-default-tab="js,result" data-slug-hash="wvpwWdX" data-user="squirrelsparks" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
See the Pen
Untitled by squirrelsparks (@squirrelsparks)
on CodePen.