html code not working on site

Hi! I wrote code for a typewriter effect, however it does not work on the site. It works when I run it in a browser but not on the site. I am a beginner coder so maybe I used the wrong language somewhere or made a mistake? Please help!
Here is my code:

body { margin: 0; padding: 0; background: #e91e63; } h1 { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; text-align: center; margin: 0; padding: 0; font-family: sans-serif; color: #fff; font-size: 40px; text-shadow: 0 2px 5px rgba(0,0,0,.5); }

Hi,
It seems like you were trying to import a JS file that does not exist:

Best,
Tal.

Thank you! Do you how how I can fix that? As I said I have never really coded before so any information would help!

Hi,
You should copy the JS code from this file to the HTML component itself and add it to a tag .

Have a good day,
Tal.