mirror of
https://github.com/skidoodle/taj-validator.git
synced 2025-03-05 20:00:40 +01:00
first commit
This commit is contained in:
commit
bba6145d0e
4 changed files with 118 additions and 0 deletions
26
index.html
Normal file
26
index.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="hu">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>TAJ Validator</title>
|
||||
<script src="script.js"></script>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>TAJ Validator</h1>
|
||||
|
||||
<form>
|
||||
<input
|
||||
type="number"
|
||||
id="taj"
|
||||
required
|
||||
pattern="/^-?\d+\.?\d*$/"
|
||||
onKeyPress="if(this.value.length==9) return false;"
|
||||
/>
|
||||
<button type="button" onclick="checkTAJ()">Ellenőrzés</button>
|
||||
</form>
|
||||
|
||||
<p id="result"></p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue