Skip to content

Commit

Permalink
Corrected sign up bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RosalieWessels committed Feb 18, 2024
1 parent a2c52e7 commit 7a730e9
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
<hr>

<!-- <div class="signup-box"> -->

<div class="loginbox">
<form>

<div class="loginbox">

<br>
<label for = "name"> Name:</label> <br> <br>
<input type = "text" id = "name" name = "name" class="input-box"> <br> <br>
Expand All @@ -36,25 +36,28 @@
<input type = "text" id = "email" email = "email" class="input-box"> <br> <br>

<label for = "password"> Password:</label> <br> <br>
<input type = "text" id = "password" password = "password" class="input-box"> <br> <br>
<input type = "password" id = "password" password = "password" class="input-box"> <br> <br>

<label for = "password2"> Confirm Password:</label> <br> <br>
<input type = "text" id = "password2" password2 = "password2" class="input-box"> <br> <br>

<br><br>
<button class="login-button" onclick="signup()">Sign Up</button>

<br><br>
Already have an account? <a href="login.html">Log In</a>
</div>
<input type = "password" id = "password2" password2 = "password2" class="input-box"> <br> <br>
</form>


<br><br>
<button class="login-button" onclick="createNewUser()">Sign Up</button>

<br><br>
Already have an account? <a href="login.html">Log In</a>
</div>



<!-- </div> -->

<script src="https://www.gstatic.com/firebasejs/7.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.10.0/firebase-storage.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.10.0/firebase-auth.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script> -->
<script src="signup.js"></script>
</center>
</body>

Expand Down

0 comments on commit 7a730e9

Please sign in to comment.