Đã Đóng

Why is my alert not coming g and info not saving in firebase

Why is my alert not coming when click on button an also my email and password are not saving in firebase i have entered the code right and also how can i save my username to firebase too and this is the user info on firebase I have written everything right I don't think there NY problem with my sign up() function but I don't know pls help HTML:

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<title>Document</title>

<link rel="stylesheet" href="[login to view URL]"></link>

<script src="[login to view URL]"></script>

<script src="[login to view URL]"></script>

<script src="[login to view URL]"></script>

</head>

<body>

<div class="pe" id="pe">

<h1>?ORGANIC PE?</h1>

<h1>?SIGN UP</h1>

</div>

<form class="form" id="form">

<div class="user" id="user">

<input type="text" id="username" placeholder="Username" required><

</div>

<div class="first">

<input type="text" id="email" placeholder="ENTER EMAIL" required>

</div>

<div class="second" id="second">

<input type="text" id="password" placeholder="ENTER PASSWORD" required>

</div>

<div class="confirm" id="confirm">

<input type="text" id="password" placeholder=" CONFIRM PASSWORD" >

</div>

<div class="submit">

<button onclick="signup()" class="button" id="signup">?Sign Up</button>

</div>

<div class="cancel" id="cancel">

<input onclick="signup()" type="button" value="Cancel"></input>

</div>

<div class="login" id="login">

<p>Already have an account <a href="#">Login</a></p>

</div>

</form>

<h3><a href="#"><-Go back</a></h3>

</body>

</html

CSS:

body {

background-image: url("/[login to view URL]");

opacity: 5;

background-size: cover;

height: 1000px;

background-repeat: no-repeat;

background-position: center;

}

.pe {

text-align: center;

}

.form {

background-color: #d67915;

text-align: center;

width: 250px;

margin-left: auto;

margin-right: auto;

margin-top: 150px;

box-shaddow: inset 20px 20px grey;

border-radius: 10px;

}

.button {

padding: 20px;

background-color: black;

border: none;

color: white;

border-radius: 10px;

width: 200px;

}

Input[type="button"] {

padding: 20px;

background-color: black;

border: none;

color: white;

border-radius: 10px;

width: 200px;

}

Input[type="text"] {

padding: 5px;

placeholder-color: white;

border-radius: 10px;

}

div {

padding: 10px;

h3 {

background-color: black;

width: 150px;

color: white;

margin-top: 200px;

}

Js:

// Your web app's Firebase configuration

// For Firebase JS SDK v7.20.0 and later, measurementId is optional

var firebaseConfig = {

apiKey: "AIzaSyA5I9yq34ZG2tcOn5sF0liUl3AT-5IEo1I",

authDomain: "[login to view URL]",

projectId: "organic-pe-form",

storageBucket: "[login to view URL]",

messagingSenderId: "110093275502",

appId: "1:110093275502:web:7da956de064d38e171f17f",

measurementId: "G-VSLN8C4FG9"

};

// Initialize Firebase

[login to view URL](firebaseConfig);

[login to view URL]();

const auth = [login to view URL]();

function signup() {

var email = [login to view URL]("email");

var password = [login to view URL]("password");

const promise = [login to view URL]([login to view URL], [login to view URL]);

[login to view URL](e => alert([login to view URL]));

alert("signed in");

}

Kĩ năng: Google Firebase, JavaScript

Xem nhiều hơn: coming headline, red alert game, jquery alert box, saving preferences javascript, saving contacts db ajax progress bar info banner, saving rfid info database, info g, info dogpile com dogpl 305.06 search web q panasonic tvs&ad network g&ad keyword panasonic 20tvs&ad creative 110054924680&ad pos, why have my emails stopped coming through, why is there no sound coming from my xbox one, why are my group texts coming individually, why is g star raw so expensive, why use firebase authentication, firebase .info/connected android, why are my pdf files saving as chrome html, tradingview alert saving failed, why use google firebase, why was dorothy g page known as the mother of the iditarod

Về Bên Thuê:
( 0 nhận xét ) Cheonan, Korea, Republic of

ID dự án: #29098158

8 freelancer chào giá trung bình$62 cho công việc này

dmabdeveloper

Hey, I am a web expert who have an experience of 7+ years in all web part. Also, I have ever been hosting on firebase, and I was solved hard problem with firebase support team. Thanks for your time. This problem can so Thêm

$350 USD trong 1 ngày
(8 Nhận xét)
5.0
jagadishcse143

✤✤✤ Web Developer 7 years Exp ✤✤✤ I can do this task and will start working on it right now! I have excellent knowledge on web technologies PHP,Javascript,WordPress,HTML, CSS,Angular, MySQL, APIS based Thêm

$20 USD trong 1 ngày
(55 Nhận xét)
4.3
Soufelhanafi

Hello! I solved your issue with firebase, can you please contact me to talk thanks

$30 USD trong 7 ngày
(14 Nhận xét)
4.3
eha5583ba20b7ea9

Hello there, I can fix this issue. Let me know if you are interested. Thanks.

$15 USD trong 1 ngày
(2 Nhận xét)
1.6
tulsivanol

Hope you are doing well, i am an android developer with experience of more than 2 years and i have worked with firebase a lot.I will fix your issue within [login to view URL] have more discussion in chat room.

$30 USD trong 1 ngày
(0 Nhận xét)
0.0
PyLife

I have already solved your issue. I can deliver it to you as soon as you want. Hope to hear from you soon. Regards, Gourab

$15 USD trong 1 ngày
(0 Nhận xét)
0.0
moqueetabdul

it's very small issue. i wouldn't charge you much like others. i have FireBase experience for last 3years I can Start right now :) I have understood your requirements and i want to take this project. I'm an experien Thêm

$15 USD trong 1 ngày
(0 Nhận xét)
0.0
loopdev9

Hello Sir I checked your code. and I this have missing some setting in firebase. I have good knowledge in firebase. Fir further please contact me I will help you..

$20 USD trong 1 ngày
(0 Nhận xét)
0.0