giriş.html için kod, isterseniz burdan düzeltebilirsiniz
_________________________________________________________
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="icon/logo.ico">
<title>Aydın Devlet hastanesi Giriş yap</title>
<link rel="canonical" href="giriş.css">
<link href="
https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="signin.css" rel="stylesheet">
</head>
<body class="text-center">
<form class="form-signin">
<img class="mb-4" src="logo/logo.png" alt="" width="72" height="72">
<h1 class="h3 mb-3 font-weight-normal">Lütfen Giriş Yap</h1>
<input type="email" id="inputEmail" class="form-control" placeholder="Email adresi" required autofocus>
<input type="password" id="inputPassword" class="form-control" placeholder="Şifre" required>
<div class="checkbox mb-3">
<label>
<input type="checkbox" value="remember-me"> Beni hatırla
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Giriş Yap</button>
<p class="mt-5 mb-3 text-muted">© 2022-2023</p>
</form>
<script>
</script>
</body>
</html>
giriş.html için kod, isterseniz burdan düzeltebilirsiniz
_________________________________________________________
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="icon/logo.ico">
<title>Aydın Devlet hastanesi Giriş yap</title>
<link rel="canonical" href="giriş.css">
<link href="
https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="signin.css" rel="stylesheet">
</head>
<body class="text-center">
<form class="form-signin">
<img class="mb-4" src="logo/logo.png" alt="" width="72" height="72">
<h1 class="h3 mb-3 font-weight-normal">Lütfen Giriş Yap</h1>
<input type="email" id="inputEmail" class="form-control" placeholder="Email adresi" required autofocus>
<input type="password" id="inputPassword" class="form-control" placeholder="Şifre" required>
<div class="checkbox mb-3">
<label>
<input type="checkbox" value="remember-me"> Beni hatırla
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Giriş Yap</button>
<p class="mt-5 mb-3 text-muted">© 2022-2023</p>
</form>
<script>
</script>
</body>
</html>
Bu da kayıt.html için kod
(ikisi birbirine bağlı, kayıt ol butonuna tıkladığımda giriş sayfasına atması için ayarladım.)
__________________________________________________________
<!doctype html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="icon\logo.ico">
<title>Aydın devlet hastanesi Kayıt ol</title>
<link rel="canonical" href="
Signin Template for Bootstrap">
<link href="
https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="signin.css" rel="stylesheet">
</head>
<body class="text-center">
<form class="form-signin">
<div id="welcomeTheUsar">
<!--This is the welcome div for the user, code also borrowed and moddified from UNKNOWN's lessons-->
<img class="mb-4" src="C:\Users\BATUHAN SAVAR\OneDrive\Masaüstü\yazılım\logo\logo.png" alt="" width="75" height="75">
<h1 class="h3 mb-3 font-weight-normal">Lütfen Kayıt Ol</h1>
<input type="id" id="inputİd" class="form-control" placeholder="Tc Kimlik No" required autofocus>
<input type="name" class="form-control" id="inputName" placeholder="Adınız" required>
<input type="surname" id="inputSurname" class="form-control" placeholder="Soyadınız" required>
<input type="kan" class="form-control" id="inputName" placeholder="Kan Grubunuz" required>
<input type="hobi" class="form-control" id="inputName" placeholder=" Hobileriniz" required>
<input type="phone" id="inputPhone" class="form-control" placeholder="Telefon Numarası" required>
<input type="email" id="inputEmail" class="form-control" placeholder="Email adresi" required>
<input type="password" id="inputPassword" class="form-control" placeholder="Şifre" required>
<div class="checkbox mb-3">
<label>
<input type="checkbox" value="remember-me"> Beni hatırla
</label>
</div>
<a onclick="welcomeTheUsar()" type="button" id="myBtn" href="C:\Users\BATUHAN SAVAR\OneDrive\Masaüstü\yazılım\giriş.html" class="btn btn-lg btn-primary btn-block"
runat="server" id="btn_deneme">Kayıt Ol</a>
</div>
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<p><img src="
https://www.sonsuzteknoloji.com/wp-content/uploads/2021/06/tik-isareti.png" alt="KAYIT BAŞARILI">
<center></br>KAYIT BAŞARILI</center></p>
</div>
</div>
<p class="mt-5 mb-3 text-muted">© 2022-2023</p>
</form>
<script>
function welcomeTheUsar() {
// Some code borrowed and rewritten from UNKNOWN's lessons
let firstName = document.getElementById("inputName").value;
let lastName = document.getElementById("inputSurname").value;
let fullName = firstName + " " + lastName;
console.log(fullName);
alert("Hoşgeldin "+ fullName);
}
</script>
</body>
</html>