Why is Step 3 (selecting the <main> HTML element) separate from Step 6 (Output results to the <main> element)?
I remember learning to display the value of a string on a page in a previous video where only one step was used to achieve what Step 3 and Step 6 are doing.
I wrote the following code in my solution (and received no error messages):
Text to display
Is there a reason that it is separated into two steps in the video solution?