3 Commits

Author SHA1 Message Date
b5eefa8c3e Ejercicios del 4 al 7 terminados 2026-05-06 19:25:39 -03:00
c997c20ed2 ej3 terminado 2026-05-04 16:30:25 -03:00
3bcfbccb1e Ejercicio 3 (en progreso) 2026-04-30 22:58:04 -03:00
3 changed files with 63 additions and 1 deletions

15
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}

View File

@@ -3,3 +3,50 @@
console.log("Archivo vinculado exitosamente"); console.log("Archivo vinculado exitosamente");
// Resolver acá los ejercicios propuestos. // Resolver acá los ejercicios propuestos.
/*
let nombre = "lucio"
let edad = 12
console.log (`hola ${nombre}!`)
if (edad<=13) {
console.log("infante")
} else if (edad> 13 && edad < 17) {
console.log("adolecencia")
} else {
console.log("mayor de edad")
}
*/
/*
let maximo = 15
let = 1;
while(i < maximo){
if (i % 3 === 0){
console.log(1);
}
i++;
}
*/
/*
let maximo = 15;
for (let i = 3; i < maximo; i +=3){
console.log(i);
}
*/
/*
const frutas = ["manzanas", "pera", "uva"];
for (const fruta of frutas){
console.log(fruta);
}
*/
/*
function presentarse(nombre, edad){
return 'Me llamo, ${nombre} y tengo ${edad} anos';
}
const miPresentacion = presentarse("Lucio",18)
console.log(miPresentacion);
*/

View File

@@ -10,6 +10,6 @@
<p>Vincular el archivo ejercicios.js a este archivo. Luego, resolver ahí <p>Vincular el archivo ejercicios.js a este archivo. Luego, resolver ahí
los ejercicios.</p> los ejercicios.</p>
<script src="ejercicios.js"></script>
</body> </body>
</html> </html>