I wanted to make a simple modal from this link but the javascript part is not working. I added the html part in the markdown file (team.md) and made a custom css file which works but the javascript part is not working. I made custom.js file in the theme/js folder and added it to the base.html.twig:
{% do assets.addJs('theme://js/special.js') %}
where have I gone wrong??

