Skip to content
Discussion options

You must be logged in to vote

Ok I ended up figuring this out, you can just embed it in the body of the page, it just has to be inside of another tag:

<main>
    <script>
        const element = document.querySelector('#main_photo');
         ....
    </script>
</main>

I could figure out how to use {variables} within the code, but I was able to get the data I needed from the DOM

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eecue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant