Browse Source

initial commit

pull/1/head
Andrey Parfenov 6 months ago
parent
commit
80174b4592
  1. 16
      index.html
  2. 5
      script.js
  3. 0
      style.css

16
index.html

@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
<!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">
<link rel="stylesheet" href="./style.css">
<script defer src="./script.js"></script>
<title>Document</title>
</head>
<body>
<div id="app">
</div>
</body>
</html>

5
script.js

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
const appEl = document.querySelector('#app');
const div = document.createElement('div');
const text = document.createTextNode('asdfasdfdsf');
div.append(text);
appEl.append(div);
Loading…
Cancel
Save