jQuery toggleClass Method

Read the tutorial on YogiHosting »

1. Toggle Red Class

Hello, How are you?

2. Toggle Red using function

Paragraph 1

Paragraph 2

Paragraph 3

Paragraph 4

Paragraph 5

3. ToggleClass using switch

Paragraph 1

Paragraph 2