Important preliminary points If you are creating an extension that can be used by all, make sure that it is…