Browse Source

HW<1> done

Illia Kozyr 2 years ago
parent
commit
c8a32ca7e4
2 changed files with 1 additions and 29 deletions
  1. 1 2
      HW 1/index.html
  2. 0 27
      HW 3/ingtrb.html

+ 1 - 2
HW 1/index.html

@@ -7,8 +7,7 @@
         <title>Homework 1 JavaScript</title>
     </head>
     <body>
-        <script>
-        
+        <script> 
             let CaloriesPerDay = 2000;
             let CaloriesPerMeal = prompt(
                 "Введите, сколько калорий вы потребили:"

+ 0 - 27
HW 3/ingtrb.html

@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Document</title>
-</head>
-<body>
-    <script>
-            let userName3 = prompt("Введите ваше имя");
-            let userSurname3 = prompt("Введите вашу фамилию");
-            let userPatronymic3 = prompt("Введите ваше отчество");
-            if (userName3 == null || " ") {
-                userName3 = "Иван";
-            }
-            if (userSurname3 == null || " ") {
-                userSurname3 = "Иванов";
-            }
-            if (userPatronymic3 == null || " ") {
-                userPatronymic3 = "Иванович";
-            }
-
-            alert(userSurname3 + " " + userName3 + " " + userPatronymic3);
-    </script>
-</body>
-</html>