Not sure if General is the right forum, but I’ll give it a shot!
In step 54 of the “Learn typography by building a Nutrition Label” the code:
<p><span><span class="example">Example</span>Example</span> <span class="example">Example</span></p>
works just fine to submit for solution, but the code
<p><span><span class="example">Example</span>Example</span><span class="example">Example</span></p>
does not.
The only difference is the space added in the nested first line of the <p>
, between the first 2 <span>
elements and the last.
The only difference between passable and not is that space. The only tip I get when trying to submit the secdond code is that “Your code should have exactly 3 span elements”.
Is that how <span>
elements work or is it some error in the tutorial?
Have removed the actual code from the example code I’m posting for spoiler reasons. If I’m in the wrong about any formatting or code question formalia please correct me, this is my first post here