18 lines
429 B
HTML
18 lines
429 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>JsBook</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<h1>Пересчет величин</h1>
|
||
|
<script type="text/javascript">
|
||
|
const ins = window.prompt("Дюймы");
|
||
|
const cens = ins * 2.54;
|
||
|
window.document.write('<p>', cens, '</p>');
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|