JQuery Agregar y eliminar clases



Hola. no sé que estoy haciendo mal, pero no tengo modo de terminar el ejercicio. A ver si alguien puede ayudarme.



this is an object.


Thanks, bun I haven´t got to solve it.

I have introduce this:



I currently have solve it with this code:


I am going to continue it.

Thank you.


So you discovered the other mistake, the dot. When the method is directly aimed at a class attribute, the dot is not part of the name.