I dont think its in the course but you have to use 3d vector (sorry if your link explains this Xayma because i didnt check it out :p)
Didnt try the first part but i think you use:
grad = fx(x,y)i + fy(x,y)j + fz(x,y)k
For the second part, use the tangent's equation and you'll get the...