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:
committed by
Manish Giri
parent
893ec22365
commit
d838193375
@ -14,7 +14,7 @@ jQuery adds a global variable with all of the libraries methods attached. The na
|
||||
|
||||
## 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
|
||||
$(document).ready(function(){
|
||||
|
Reference in New Issue
Block a user