No it's not quite correct. It should be: Attend the class. Do not leave the class before the bell rings (the ever is not needed).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
AnonymousIt should be: Attend the class.