This is a project built for tutorial on file hosting, you can check it out in my firebase basic series on dev.to/Firebase-Basics
Note : The Tutorial is full series and reading only one post may not help you so Read Full Series, Thank You
you can have a look at this project visit : photogram-on.web.app
If try to run this it will show up errors first you have to add the firebase sdk script so that it can work.
You will get the SDK Snippet on your firebase project console