So, let me give you the steps on how to do this. I may want to warn you because some of the scripts may work and some other will not work. I had to do little tricks on how to work with the scripts in order for it to function.
OK, I did not write the scripts I usually go to other websites that offer free CSS, JavaScript codes and just used them, make sure to keep their copyrights (if any) intact.
Probably you may need to know a little bit about coding in order to modify the script to your taste. Most of the time they tell you in the script what is needed to be changed.
PART 1 UPLOAD TO FIREBASE CONSOLE

STEP 1

STEP 2

STEP 3
Make sure that your scripts have the correct extension name.
For example:
=>.css (Cascading Style Sheets)
=>.js (JavaScript)
=>.txt (for notepad text)
=>.pdf (Portable Document Format)
=>.docx (Microsoft Word XML Format Document file)
Also, make sure that after you upload your script is correctly build otherwise you may have to deleted and uploaded again. Every time you upload a script the system automatically will give you a new link to the script.
But basically, this is it for the first part of the Firebase hosting scripts. One more thing after you upload the script click on the name and it will open a little window next to the script and then click on “file location” and copy the link. This link will be the one that you will need to use on the blog web page itself.
PART 2 LINKING THE SCRIPT

STEP 4
EXAMPLE 1

Copy Code
In this picture you can see an example of the script link that is hosted on firebase.
EXAMPLE 2

Copy Code
In this picture you can see the actual JavaScript used for the button below.
Go over with your pointer and see it in action!
Beautfying blogs with more interactions and pretty applications ❤
Until next do,

No comments:
Post a Comment