DEV Community

Discussion on: 13 Interactive Animated Backgrounds for your Website using Vanta.js

Collapse
 
oncuoztekin profile image
Öncü • Edited

Can you check your html file,
it has to be like this.

<!DOCTYPE html>



















<br>
VANTA.HALO({<br>
el: document.getElementById(&quot;vantajs-bg&quot;), // change the element here.<br>
mouseControls: true,<br>
touchControls: true,<br>
gyroControls: true,<br>
});<br>



Some comments have been hidden by the post's author - find out more