Most NFTs have an associated media file, like a static JPEG, animated GIF, or MP4 video. These files are usually served from a decentralized file hosting network like IPFS. Most of the time, creators only need to display an image or video without any interactivity—it will just load in the browser window like any other media.
An interactive NFT is a bit different. The user interacts with it like a website, game, or app. Instead of just one media file being hosted on IPFS, the file structure for an interactive NFT media may contains multiple layers and resources: HTML assets, stylesheets, scripts (e.g., JavaScript) that make up the interactive media itself.