How do i implement a set of java-script files into my web-app

Hi there wappler community,

Im back with another question… Currently just trying to add a couple of JavaScript code files to my login page but its not working at all… Im currently hosting the app from Firebase with the company i work for and i am trying to setup a Firebase authentication login page BEFORE anyone can get to the actual app…

Am i missing something with connecting the JS to my web-app? I just have 2 files labeled as “auth.js & index.js”… Then on the main page i do have the code line’s

<script src="scripts/auth.js"></script>
<script src="scripts/index.js"></script>

Within the body of the HTML code of that main login/authentication page… What should i do? What step am i missing?..

What are these files supposed to do and what are you trying to achieve?
Also how is that actually related to Wappler?

1 Like

@Teodor
Trying to assemble a Firebase login / Authentication. I took a sample code with HTML and .JS files from a site to have a template of some sort but as an example of what im really trying to execute is this - https://medium.com/@bariskarapinar/firebase-authentication-web-app-javascript-3165ebc92b68

How is this related? Im using wappler as my dev tool. On top of hosting my webapp that was
developed to be live on firebase…

Side note: I choose the wrong topic for this post so im sorry if i caused any confusion, as well as i am fairly new to all of this so please bare with me.

So this is some third party script you are trying to use for your pages. That’s a more general web development question than something related to Wappler functionality and options.

If you can’t make this work it would be better to contact the author of this atrticle.

1 Like

Understood, i just figured that i might be missing something that would make it work with wappler. Does wappler need this Java script file in a specific area of the project? Do i need to do app-connect to make the java work? Again, Im fairly new to all of this…

No to both questions. There is nothing Wappler requires you to do in order to use javascript on any html page.

Thanks! :slight_smile:

I appreciate the feedback greatly as i am slowly learning!