2021-03-05 16:45:05 +01:00
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Node.js Express.js adibidea</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="stylesheet" href="css/styles.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
2021-03-28 15:58:49 +02:00
|
|
|
<div id="logged">
|
|
|
|
<h1>Kaixo!!</h1>
|
|
|
|
<p>Hau Node.js eta Express.js erabiliz egindako nabigazio adibide bat da.
|
|
|
|
<a href="irudiak">jarraitu >></a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div id="unknown">
|
|
|
|
<h4>Erabiltzailea:</h4>
|
2021-03-30 00:36:35 +02:00
|
|
|
<form action="./" method="post">
|
2021-03-28 15:58:49 +02:00
|
|
|
<input type="text" name="username" />
|
|
|
|
<button>Sartu</button>
|
|
|
|
</form>
|
|
|
|
<p>Oharra: sartzen duzun izena 15 minutuan iraungitzen den cookie batean gordeko da.</p>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript" src="js/script.js"></script>
|
2021-03-05 16:45:05 +01:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|