-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (36 loc) · 1.73 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>JS Lab</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<link href="./modulo4-JS-assincrono/index.html">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<!-- <script src="./developers.js"></script>
<script src="./modulo1.js"></script> -->
<!-- <script src="./modulo2.js"></script> -->
</head>
<body>
<div id="app"></div>
<script>
var linkElement = document.createElement('a');
linkElement.setAttribute('href', './to-do/to-do.html');
var textElement = document.createTextNode('Tarefas de hoje');
linkElement.appendChild(textElement);
var imageElement = document.createElement('img');
imageElement.setAttribute('src', './images/lista-de-controle.svg');
var autorElement = document.createElement('div');
autorElement.setAttribute('href', 'https://www.linkedin.com/in/yanka-santos-324511b1/');
autorElement.setAttribute('class', 'footer');
var autorName = document.createTextNode('Autora @YankaSantos');
autorElement.appendChild(autorName);
var containerElement=document.querySelector('#app');
containerElement.appendChild(imageElement);
containerElement.appendChild(linkElement);
containerElement.appendChild(autorElement);
</script>
</body>
</html>