如何将HTML表单连接到Firebase?

时间:2018-07-28 13:28:58

标签: html css firebase frontend

我已经使用外部样式在notepad ++中编写了HTML代码。我想与Firebase建立连接。我在代码末尾添加了一个脚本。如何将前端代码添加到Firebase?

<script src="https://www.gstatic.com/firebasejs/5.3.0/firebase.js"></script>




 </head>
   <body>   
     <section class="registersection">
        <div class="container-fluid">
            <div class="row marginTop">
                <div class="signupForm">
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 color">

                <div class="form-group">
                                    <h3>LOGIN</h3>
                                    <label>User Name</label>
                                    <input type="text" id="username" name="uname" class="form-control " />
                </div>

                <div class="form-group">
                                    <label>Password</label>
                                    <input type="text" id="username" name="uname" class="form-control " />
                </div>
            </div>
           </div>   
        </div>  
      </div>
 </section>   



      <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
      <script src = "js/jquery.min.js"></script>

      <!-- Include all compiled plugins (below), or include individual files as needed -->
      <script src = "js/bootstrap.min.js"></script>

      <script src="https://www.gstatic.com/firebasejs/5.3.0/firebase.js"></script>

   </body>
</html>

0 个答案:

没有答案