Hello staff. I have an issue with the same exercise.
I have actually completed it without problems after seeing this code, but i was wandering why the code i wrote before didn't work.
Basically what i was trying to do was to use html(), text() or empty() on the "#comment" to delete it, but it just didn't work. Why is this, and why does the val() code work?
I've completed the exercise, I'm asking to understand the problem and for future reference. Thank for your help.