Corrected markdown and code sample formatting (#23374)
Corrected markdown and code sample formatting (#23374)

* Corrected markdown and code sample formatting

Added code highlighting to `<p>`, to prevent it being interpreted as a new paragraph.
Also made indentation in the code sample consistent.

* Fixed typo and formatting

raisedadead/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,raisedadead/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,jonathanihm/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,jonathanihm/freeCodeCamp,FreeCodeCamp/FreeCodeCamp