You now have a .html file which looks something like this.

<!DOCTYPE html>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width minimum-scale=1.0 maximum-scale=1.0 user-scalable=no" />
        <title>My webpage</title>
        <link href="path/to/my-styles.css" rel="stylesheet" />
        <link href="path/to/mmenu.css" rel="stylesheet" />
        <div id="my-page">
            <div id="my-header">
                <a href="#my-menu">Open the menu</a>
                <nav id="my-menu">
                        <li class="active"><a href="/">Home</a></li>
                        <li><span>About us</span>
                                <li><a href="/about/history/">History</a></li>
                                <li><a href="/about/team/">The team</a></li>
                                <li><a href="/about/address/">Our address</a></li>
                        <li><a href="/contact/">Contact</a></li>
            <div id="my-content">
                <h1>The title</h1>
                <p>Some content</p>

        <script src="path/to/mmenu.js"></script>
            Mmenu.configs.classNames.selected = "active";
   = "#my-page";

                "DOMContentLoaded", () => {
                    const menu = new Mmenu( "#my-menu", {
                        slidingSubmenus: false,
                        extensions: ["theme-dark"]

Learn more

Core Options Configuration API CSS & SCSS Extensions Add-ons

More tutorials:

Contact list Thumbnail grid Customized colors Dynamic content