input
This commit is contained in:
parent
bbd9b067c8
commit
5f7b067d15
41
index.html
41
index.html
@ -1,17 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<link rel="stylesheet" href="styles/style.css" type="text/css"/>
|
||||
<meta charset="UTF-8">
|
||||
<title>Двач но не двач</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="hello"><p class="hellotext">Добро пожаловать, снова!</p></div>
|
||||
<div class="message"><p class="messagecontent">Пример текста сообщения, текст</p></div>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="styles/style.css" type="text/css" />
|
||||
<meta charset="UTF-8">
|
||||
<title>Двач но не двач</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="main-wrapper">
|
||||
<div class="hello">
|
||||
<p class="hellotext">Добро пожаловать, снова!</p>
|
||||
</div>
|
||||
<div class="message">
|
||||
<p class="messagecontent">Пример текста сообщения, текст</p>
|
||||
</div>
|
||||
<div class="messagewraper">
|
||||
<textarea class="textplace" name="messagetext" id="messagetext" cols="30" rows="10"></textarea>
|
||||
<input class="button" type="submit" for="messagetext">
|
||||
<textarea class="textplace" name="messagetext" id="messagetext" cols="30" rows="10"></textarea>
|
||||
<input class="button" type="submit" for="messagetext">
|
||||
</div>
|
||||
<div class="sql">
|
||||
<form>
|
||||
<input type="text" id="forviktor">
|
||||
<button type="submit" for="forviktor">SEND</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script src="script/js.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<script src="script/js.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
27
script/js.js
27
script/js.js
@ -1,11 +1,18 @@
|
||||
alert ('gtfo');
|
||||
let c=10;
|
||||
let i=0
|
||||
while (true&&c<1000000000) {
|
||||
c=2*c*c;
|
||||
console.log(c);
|
||||
i=i+1;
|
||||
if (i%7) {alert(c)}
|
||||
}
|
||||
console.log('huynya');
|
||||
console.log(4+9);
|
||||
console.log(4+9);
|
||||
let switchBackground = 0;
|
||||
// 16777215
|
||||
// while (true) {
|
||||
// document.querySelector('.main-wrapper').style.backgroundColor='#'+switchBackground.toString(16);
|
||||
// switchBackground+=100;
|
||||
// console.log(switchBackground)
|
||||
// if (switchBackground >=16777215) { switchBackground = 0 }
|
||||
// console.log(document.querySelector('.main-wrapper').style.backgroundColor)
|
||||
// setTimeout(
|
||||
// () => {
|
||||
// console.log(document.querySelector('.main-wrapper').style.backgroundColor)
|
||||
// },
|
||||
// 3000
|
||||
// );
|
||||
|
||||
// }
|
||||
|
@ -47,4 +47,11 @@ h1 {
|
||||
}
|
||||
.button:hover {
|
||||
background-color: blue;
|
||||
}
|
||||
.main-wrapper {
|
||||
width: 700px;
|
||||
background-color: #afacac;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user