after adding the scrolltrigger plugin i added the following code
then it got the identifier expected error
help I am not vast with JavaScript yet
i am expecting the stack background images to scroll at different interval
but the curly brace after the id #m1 threw the error
<script>
gasp.from("#m1".{
scrollTrigger : {
scrub: true
},
y: 100,
})
</script>
New contributor
oluwafemi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1