Streaming live at 10am (PST)

Custom code for typed.js isn't showing up

Hello! I am trying to create a typing animation for the text in my hero section.

I followed this tutorial and was able to do what’s there, see it LIVE here.

The issue is that it deletes the whole sentence instead of just the last word .

I found the solution here, but when i try to insert it in the custom footer code the typing text disappears entirely. I must be doing something wrong, probably formatting it wrong.

Could someone give me an example of how it should be formatted when pasting it in the custom footer code in Webflow? Thank you!

Here’s the script that I currently have and that’s working:

    <script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.9"></script>

        <script>
        	var typed3 = new Typed('.typed-text', {
            strings: ['Want to improve how you interact with <i>Customers</i>?', 'Want to improve how you interact with <i>Employers</i>?', 'Want to improve how you interact with <i>Candidates</i>?', 'Want to improve how you interact with <i>Providers</i>?'],
            typeSpeed: 25,
            backSpeed: 25,
            loop: true,
            smartBackspace: true,
            backDelay: 1000,
    		startDelay: 0
          });
        </script>