skip to Main Content

Conver Vanilla JS to React – Reactjs

I'm new with react. I'm trying to convert my vanilla js parallax effect in to react but I'm getting this error "TypeError: Cannot set properties of undefined (setting 'top')". Here is my vanilla js script: <script> let text = document.getElementById('text');…

VIEW QUESTION
Back To Top
Search