• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do I share html5 animations created on my laptop?

Contributor ,
Dec 05, 2022 Dec 05, 2022

Copy link to clipboard

Copied

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?

TOPICS
Code , Error , How to

Views

520

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Dec 05, 2022 Dec 05, 2022

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

Votes

Translate

Translate
Community Expert ,
Dec 05, 2022 Dec 05, 2022

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 05, 2022 Dec 05, 2022

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2022 Dec 05, 2022

Copy link to clipboard

Copied

LATEST

glad it's sorted.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 05, 2022 Dec 05, 2022

Copy link to clipboard

Copied

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


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 05, 2022 Dec 05, 2022

Copy link to clipboard

Copied

Thanks! I will try this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines