Finding H1 error for time dependent non linear pde

You Need to follow the guidelines for a minimal working example for anyone to help you. See Read before posting: How do I get my question answered?