Can a website with JavaScript consider as a static website? Or static website can only consist of pure HTML without JavaScript?
A static site can use javascript. If you use bootstrap for the front-end it will come with js libraries that enhance the UX and look'n'fell for instance. A dynamic site is a site with a server side language (php, python etc.) You could therefore have a dynamic site without javascript ;)