Question: Given the following CSS and HTML codes below, how could you apply the success class to the feedback div?
- `$('.feedback').hasClass('.success');`
- `$.css('.feedback', '.success')`;
- `$('.feedback').addClass('success');`
- `$('.feedback').css('.success');`
Answer: The correct answer of the above question is Option C:`$('.feedback').addClass('success');`