as I’m rather new to WebDev, I currently try to finish the Responsive WebDesign course of freeCodeCamp.
When looking at the code of the product landing page sample [https://codepen.io/freeCodeCamp/pen/RKRbwL],
I became curious about the following area of code:
As observable, the h2 element is redefined within the ID.
However, whenever I try to copy this code into a different pen or start to reimplement this redefinition,
the code does not work i.e. no changes to the h2-element are applied.
Do you know what’s the reason for this issue?
Thanks in advance!