is it stated in the contract that either party has to give notice period?
Personal opinion:
asking a salesman to do a website is fair if both party agrees.
however, if he fires you because you can not do a website well, then he might have an issue.
check your job description on your contract clearly.