Problem with example description (#30439)

"When a user clicks on a button, all \<p> elements will be hidden:" - here the "\<p>" is taken as html tag due to which text is moving to next line. The intention of author is to say that all paragraph (\<p>) tags will be hidden. The "\<p>" itself is not showing as it's considered an HTML tag. I have added an escape character in front.
This commit is contained in:
Shruti Grover
2018-11-03 22:50:26 -04:00
committed by Manish Giri
parent 893ec22365
commit d838193375

View File

@ -14,7 +14,7 @@ jQuery adds a global variable with all of the libraries methods attached. The na
## Example ## Example
When a user clicks on a button, all <p> elements will be hidden: When a user clicks on a button, all \<p> elements will be hidden:
```javascript ```javascript
$(document).ready(function(){ $(document).ready(function(){