Skip to main content
L Gryfe
Inspiring
Dec 5, 2022 9:59 PM UTC
Answered

How do I share html5 animations created on my laptop?

I created an animated banner ad for a client. Now I would like to share it with them for them to review. I tried packaging the .html file and the Images folder in a new folder but as soon as I move it from its original location, it stops working. From what little I know about html, I would have thought that it would continue to work as long as the files' relative location remained the same but clearly this isn't the case. Is there something in the code that I can adjust so that it will work?

This topic is closed to new replies. Start a new post to keep the conversation going.
L Gryfe
L GryfeCorrect answer
Inspiring
Dec 5, 2022 11:40 PM UTC

Oops! I forgot to include the .js file. That's all it was. My assumption was correct.

5 replies

chespio
Inspiring
Dec 5, 2022 10:32 PM UTC

Also, you can upload the exported folder to a frontEnd hosting like https://www.netlify.com 

*NOTE:
In case you use Netlify, you should name the HTML file "index.html" and include all the exported files in


Translate
L Gryfe
L GryfeAuthor
Inspiring
Dec 5, 2022 11:40 PM UTC

Thanks! I will try this.

Translate
kglad
Community Expert
Community Expert
Dec 5, 2022 10:05 PM UTC

publish your files to a new directory.  send all those files.  

Translate
L Gryfe
L GryfeAuthorCorrect answer
Inspiring
Dec 5, 2022 11:40 PM UTC

Oops! I forgot to include the .js file. That's all it was. My assumption was correct.

Translate
kglad
Community Expert
Community Expert
Dec 5, 2022 11:42 PM UTC

glad it's sorted.

Translate