-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapunts.html
More file actions
141 lines (119 loc) · 6.47 KB
/
apunts.html
File metadata and controls
141 lines (119 loc) · 6.47 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apunts de JavaScript</title>
<link rel="shortcut icon" href="./img/js.png" type="image/x-icon">
<style>
body {
background-color: rgb(250, 249, 248);
font-family: 'Courier New', Courier, monospace;
}
main {
margin: auto;
width: 800px;
}
.bold {
font-weight: bold;
}
h2{
margin-top: 50px;
}
p {
padding-left: 50px;
margin-bottom: 0;
}
.small {
font-size: smaller;
padding-left: 70px;
margin-top: 0;
}
img {
margin-top: 10px;
display: inline-block;
}
.images {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.images img {
width: 400px;
height: fit-content;
}
</style>
</head>
<body>
<main>
<h1>Apunts de JavaScript</h1>
<h2>Continguts i exercicis</h2>
<h3>28 de juny</h3>
<p><a href="./exercicis/hello world.html">Ejercicio "Hello World"</a>: ejercicio donde descubrimos la consola y vemos dónde pueden añadirse los scripts en una web</p>
<p><a href="./exercicis/variables.html">Variables y <i>console.log()</i></a>: ejercicio de declaración de variables y console.log()</p>
<h3>29 de juny</h3>
<p><a href="./exercicis/arrays_objects.html">Arrays i objectes</a>: ejercicis d'arrays i objectes</p>
<h3>6 de juliol</h3>
<p><a href="./exercicis/metodes_strings.html">Mètodes strings</a>: aprenent a fer servir mètodes que <b>retornen strings modificades</b></p>
<h3>12 de juliol</h3>
<p><a href="./exercicis/metodes_arrays.html">Mètodes arrays</a>: mètodes que <b>modifiquen</b> arrays</p>
<p><a href="./exercicis/funcions.html">Funcions</a>: definicions, funcions fletxa, anònimes, autoexecutables, <i>setTimeout()</i> i <i>setInterval()</i></p>
<h3>13 de juliol</h3>
<p><a href="./exercicis/condicionals.html">Condicionals</a>: exercicis i exemples de condicionals</p>
<h3>19 de juliol</h3>
<p><a href="./exercicis/bucles.html">Bucles</a>: <i>for</i>, <i>for...of</i> per iterables, <i>for...in</i> per objectes, <i>while</i> i <i>foreach()</i></p>
<h3>20 de juliol</h3>
<p><a href="./exercicis/extres.html">Funcions extra</a>: <i>Math</i>, <i>Date</i>, temportizadors, errors i classes</p>
<p><a href="./exercicis/repas.html">Exercicis de repas</a>: variables, strings, arrays, bucles, condicionals</p>
<h3>26 de juliol</h3>
<p><a href="./exercicis/dom.html">Exercicis DOM</a>: lectura i escriptura de l'HTML</p>
<h3>27 de juliol</h3>
<p><a href="./exercicis/listeners.html">Gestió d'esdeveniments</a>: <i>onclick=""</i> i <i>addEventListener()</i></p>
<p><a href="./exercicis/exercicisDOM.html">Llista exercicis DOM</a></p>
<h3>13 de setembre</h3>
<p><a href="./exercicis/exercicisDOM.html">Llista exercicis DOM</a>: correció</p>
<h3>14 de setembre</h3>
<p><a href="./exercicis/dni.html">Comprovació DNI i targeta de crèdit</a></p>
<p><a href="./exercicis/async.html">Asincronia</a>: Promises, <i>async-await</i>, <i>.then()</i>, <i>.catch()</i></p>
<p><a href="./exercicis/fetch.html">Crides a una API</a>: <i>fetch()</i></p>
<h3>20 de setembre</h3>
<p><a href="./exercicis/tema_llengua.html#">Tema i llengua d'un web</a>: canviar dinàmicament el contingut del DOM</p>
<h3>21 de setembre</h3>
<p><a href="./exercicis/pokemon.html">Targetes Pokemon</a>: renderitzat condicional amb les dades obtingudes d'una API</p>
<p><a href="./exercicis/firebase.html">Fetch i post a Firebase</a>: prova </p>
<h3>27 de setembre</h3>
<p><a href="./exercicis/crud.html">CRUD amb Firebase</a>: alta, baixa, modificació i consulta a una base de dades</p>
<h2>Coses per fer</h2>
<p><input type="checkbox" name="" id=""><label for="">Concurs exercicis HTML + CSS</label></p>
<p><input type="checkbox" name="" id=""><label for="">Github profile & tips</label></p>
<p class="small">Actualitzar feina actual, cursos HTML, CSS, JS github pages</p>
<p><input type="checkbox" name="" id=""><label for="">Mètodes de cerca complexa (arrays)</label></p>
<p><input type="checkbox" name="" id=""><label for="">Mètodes d'ordenació complexa (arrays)</label></p>
<p><input type="checkbox" name="" id="" checked><label for=""><a href="https://www.interior.gob.es/opencms/es/servicios-al-ciudadano/tramites-y-gestiones/dni/calculo-del-digito-de-control-del-nif-nie/">Verificació DNI</a> i <a href="https://pbs.twimg.com/media/GWyIL4NacAAnHf-?format=png&name=small">targeta bancària</a></label></p>
<p><input type="checkbox" name="" id=""><label for="">Exercicis newsletter</label></p>
<div class="images">
<img src="./img/ex_nl.PNG" alt="" srcset="">
<img src="./img/ex_nl2.PNG" alt="" srcset="">
<img src="./img/ex_nl3.PNG" alt="" srcset="">
<img src="./img/ex_nl4.PNG" alt="" srcset="">
<img src="./img/ex_nl5.PNG" alt="" srcset="">
<img src="./img/ex_nl6.PNG" alt="" srcset="">
<img src="./img/ex_nl7.PNG" alt="" srcset="">
<img src="./img/ex_nl8.PNG" alt="" srcset="">
<img src="./img/ex_nl9.PNG" alt="" srcset="">
<img src="./img/ex_nl10.PNG" alt="" srcset="">
<img src="./img/ex_nl11.PNG" alt="" srcset="">
<img src="./img/ex_nl12.PNG" alt="" srcset="">
</div>
<h2>Enllaços</h2>
<p><a href="https://stratocastero.github.io/javascript_lasalle/">README del repositori del curs</a></p>
<img src="https://cdn.discordapp.com/attachments/1243893101924319269/1289258461229748277/IMG_2412.jpg?ex=66f82b02&is=66f6d982&hm=fe8d25a75794b6c8228bc70cf2b426479c543e3354ffe46cd3439d8b5ebba4d2&" alt="" width="400px">
<script>
let fet = document.querySelectorAll("p:has(input[checked]) label")
fet.forEach(element => {
element.style.textDecoration = "line-through"
});
</script>
</main>
</body>
</html>