Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #213

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Main #213

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"main"
],
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#fbed80",
"activityBar.background": "#fbed80",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#06b9a5",
"activityBarBadge.foreground": "#15202b",
"commandCenter.border": "#15202b99",
"panel.border": "#fbed80",
"sash.hoverBorder": "#fbed80",
"statusBar.background": "#f9e64f",
"statusBar.foreground": "#15202b",
"statusBarItem.hoverBackground": "#f7df1e",
"statusBarItem.remoteBackground": "#f9e64f",
"statusBarItem.remoteForeground": "#15202b",
"titleBar.activeBackground": "#f9e64f",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#f9e64f99",
"titleBar.inactiveForeground": "#15202b99"
},
"peacock.color": "#f9e64f",
"liveServer.settings.port": 5501
}
2 changes: 1 addition & 1 deletion 02 - HTML/programas/1.-etiquetasBasicas.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Bienvenidos Explorers</h2>
<br>

<!-- Imágenes -->
<img src="https://i.imgur.com/84QT6os.jpeg" alt="Perritos lindos" width="350px" height="350px">
<img src="https://i.imgur.com/84QT6os.jpeg" alt="Perritos lindos" width="450px" height="350px">

<!-- Tablas -->
<table>
Expand Down
6 changes: 3 additions & 3 deletions 02 - HTML/programas/2.-elementosCompuestos.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>Explicación de elementos compuestos LaunchX</h1>
<label for="Input1"> Ejemplo de Input de Texto</label>
<br>
<!-- Entradas / Inputs -->
<input type="text" id="Input1" name="Input1">
<input type="text" id="Input1" name="Input1">
<br><br>

<hr>
Expand All @@ -27,13 +27,13 @@ <h2>Input De Texto</h2>
<input type="number" id="numero1" name="numero1"><br><br>

<label for="psw1">Input de Password</label><br>
<input type="password" id="psw1" name="psw1"><br><br>
<input type = "password" id="psw1" name="psw1"><br><br>

<label for="tel1">Input de Teléfono</label><br>
<input type="tel" id="tel1" name="tel1" maxlength="10"><br><br>

<label for="url1">Input de URL</label><br>
<input type="url" id="url1" name="url1"><br><br>
<input type="url" id="url1" name= "url1"><br><br>

<hr>

Expand Down
2 changes: 1 addition & 1 deletion 02 - HTML/programas/3.-layoutYRutas.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
width: 30%;
height: 300px;
/* only for demonstration, should be removed */
background: #ccc;

padding: 20px;
}

Expand Down
4 changes: 2 additions & 2 deletions 03 - CSS/programas/1.-selectores.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}

#titulo{
color: rgb(200,150,220);
color: rgb(210, 151, 233);
text-align: right;
}

Expand Down Expand Up @@ -48,7 +48,7 @@
</head>
<body>

<h1>Header simple</h1>
<h1>Header simple DV</h1>
<h2 id="titulo" class="izquierda">Header con id Titulo</h2>
<p>Parrafo simple</p>

Expand Down
2 changes: 1 addition & 1 deletion 03 - CSS/programas/2.-colores.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="./2.-colores.css">
</head>
<body>
<h1>Código de colores CSS</h1>
<h1>Código de colores CSS DV</h1>

<p class="colorRojo">Prueba color rojo</p>
<p class="colorRGB">Prueba color RGB</p>
Expand Down
3 changes: 2 additions & 1 deletion 03 - CSS/programas/4.-textos.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*{
font-family: Arial, Helvetica, sans-serif;
/*font-family: fantasy;*/
}

.izquierda{
Expand Down Expand Up @@ -52,6 +53,6 @@

.link{
text-decoration: none;
color: black;
color: black;

}
41 changes: 41 additions & 0 deletions 03 - CSS/programas/mobile.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
*{
font-family: Arial, Helvetica, sans-serif;
}

.container{
background-color: blue;
height: 400px;
}
.container-div{
background-color: red;
width: 200px;
height: 200px;
}
.parrafo{
font-size: 15;
font-weight: bold;
}
@media(max-width:600px){
.container{
background-color: green;
display: flex;
justify-content: center;
align-items: center;
}
.parrafo{
text-align: center;
}
.container-div{
height: 250px;
background-color: orange;
}
}
@media(max-width:900px) and (min-width:600px){
.container{
background-color: pink;
}
.parrafo{
font-size: 20;
font-weight: 200;
}
}
17 changes: 17 additions & 0 deletions 03 - CSS/programas/mobile.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!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">
<title>Pantalla Moviles</title>
<link rel="stylesheet" href="./mobile.css">
</head>
<body>
<section class="container">
<div class="container-div">
<p class="parrafo">Hola explorers, Cómo ESTÁN ??</p>
</div>
</section>
</body>
</html>
9 changes: 4 additions & 5 deletions 04 - JS/programas/1.-intro.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*Las variables se pueden declarar con la palabra reservada "var", estas variables se pueden considerar como globales
También se pueden declarar con la palabra reservada "let" y estas serán usadas dentro de un bloque de código
Igualmente está la declaración con la palabra reservada "const" y se usarán cuando el valor no cambie */
console.log("\n************* Variables **************\n");
console.log("\n************* DV **************\n");
var numero1 = 4;
var numero2 = 6;
console.log("Número 1: " + numero1 + " Numero 2: " + numero2);
Expand Down Expand Up @@ -36,7 +36,7 @@ let listaDeNumeros = [2, 3, 5, 7, 11, 234];

console.log(listaDeNumeros[5]);

listaDeNumeros.push(16);
listaDeNumeros.pop(16);
listaDeNumeros.push(939);

console.log(listaDeNumeros);
Expand Down Expand Up @@ -103,7 +103,7 @@ let numeroDoWhile = 22;
do {
numeroDoWhile = numeroDoWhile + 2;
console.log(numeroDoWhile);
} while (numeroDoWhile < 20);
} while (numeroDoWhile <=20);
console.log("Aquí sale del Do While " + numeroDoWhile);


Expand Down Expand Up @@ -132,5 +132,4 @@ switch (prompt("¿Cómo está el clima?")) {
console.log("No se como está el clima");
break;
}
console.log("Aquí salimos del Switch");

console.log("Aquí salimos del Switch");
12 changes: 6 additions & 6 deletions 04 - JS/programas/2.-funciones.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const cuadrado = function(x) {
/*const cuadrado = function(x) {
return x * x;
}
let numero = 4;
Expand All @@ -20,7 +20,7 @@ const exponencial = function (base, exponente) {
return resultado;
}

console.log(exponencial(4,3))
console.log(exponencial(4,2))


console.log(sumar(5,65));
Expand Down Expand Up @@ -49,7 +49,7 @@ function preguntaDireccion(pregunta) {
let result = prompt(pregunta);
if (result.toLowerCase() == "izquierda") return "I";
if (result.toLowerCase() == "derecha") return "D";
throw new Error("Dirección inválida: " + result);
throw new Error("Dirección inválida: "+ result);
}

function mirar() {
Expand All @@ -66,12 +66,12 @@ try {
console.log("Hubo un error: " + error);
}


*/

//Asincrono
setTimeout(() => console.log("Tick"), 500);
setTimeout(() => console.log("Tick 5000"), 2000);

let fifteen = Promise.resolve(15);
let fifteen = Promise.resolve(150);
fifteen.then(value => console.log(`Got ${value}`));

const promesa = () =>
Expand Down
8 changes: 4 additions & 4 deletions 04 - JS/programas/3.-navegador.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const titulo = document.getElementById("titulo");
const parrafo = document.getElementsByTagName("p");
const links = document.getElementsByClassName("links");


console.log(parrafo);
//Cambiar valores de HTML
titulo.innerHTML = "Titulo cambiado";

Expand All @@ -23,11 +23,11 @@ function cambiarTexto(obj) {
}

function mOver(obj) {
obj.innerHTML = "Mouse over now"
obj.innerHTML = "Mouse over me now"
}

function mOut(obj) {
obj.innerHTML = "Mouse out"
obj.innerHTML = "Mouse out of me"
}

function mDown(obj) {
Expand All @@ -46,5 +46,5 @@ const boton = document.getElementById("boton");
boton.addEventListener("click", alerta)

function alerta() {
alert("alerta");
alert("alerta DV");
}
2 changes: 1 addition & 1 deletion 04 - JS/programas/4.-pokedex.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<body>
<h1>Pokedex LaunchX</h1>
<input type="text" placeholder="pikachu" id="pokeName" name="pokeName">
<img src="./pokeball.png" alt="Pokemon" id="pokeImg" width="150px">
<img src="./Poke_Ball.webp" alt="Pokemon" id="pokeImg" width="150px">
<button onclick="fetchPokemon()">Cambiar Imágen</button>
</body>
<footer>
Expand Down
Binary file added 04 - JS/programas/Poke_Ball.webp
Binary file not shown.
Empty file added 04 - JS/programas/pokedex.css
Empty file.
Binary file added 04 - JS/programas/pokemon-sad.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1 change: 1 addition & 0 deletions AbogaBot/Abogabot_Mockups.drawio

Large diffs are not rendered by default.