This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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>CSS In 15 Minutes</title> | |
| </head> | |
| <body> | |
| <div class="parent"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Fuentes: | |
| 1.https://stackoverflow.com/questions/5410745/how-can-i-get-a-list-of-the-items-stored-in-html-5-local-storage-from-javascript | |
| */ | |
| function ex_1() { | |
| localStorage.setItem('nombre', 'Jeremy');//localStorage.setItem() poner un item en local storage:('llave','valor') | |
| var nombre = localStorage.getItem('nombre');//A la variable 'nombre' se le da el valor de un item en local storage, dependiendo de la llave que se de. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //document.getElementById("celda_" + 1).innerHTML = 1; | |
| //var hola = [1]; | |
| //if (hola.includes(1)) { | |
| // document.getElementById("celda_1").innerHTML = 15; | |
| //} | |
| /* Mis fuentes: | |
| 1.Random int:https://www.w3schools.com/jsref/jsref_random.asp | |
| 2.Condicional array.includes(): https://www.w3schools.com/jsref/jsref_includes_array.asp | |
| 3.Pasar un id a una funcion:https://stackoverflow.com/questions/17292176/pass-element-id-to-javascript-function | |
| 4.Promp box: https://www.w3schools.com/js/js_popup.asp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| header { | |
| background-color:lightsteelblue; | |
| color:black; | |
| font-weight:bold; | |
| text-align:center; | |
| width:100%; | |
| padding-top:24px; | |
| padding-bottom:24px; | |
| margin-bottom:8px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML><!-- CLASE #2 - DOCUMENTO INTRANET --> | |
| <!-- Ver.2 para la Clase #3--> | |
| <htlml lan="es"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title> | |
| HTML5 and CSS3 Fundamentals | |
| </title> | |
| <link rel="stylesheet" type="text/css" href="styles.css" media="screen"> <!-- Crea un enlace con otro documento externo, rel: | |
| Establece la relacion entre dichos documentos;--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> <!-- Con esto se le declara al navegador que se usara HTML5 --> | |
| <html lang="es"><!-- Inicio de la etiqueta de HTML <html lang="en"> altera los metadatos de la pagina a x lengueaje deseado--> | |
| <head><!-- ENCABEZADO, tambien funciona como metadato para facilitar la busqueda de la pagina en un buscador--> | |
| <title> | |
| Pagina WEB | |
| </title> | |
| </head> | |
| <body> <!-- Inicio de etiqueta de texto, existen subetiquetas para cambiar el tamaño de la letra va de h1 a h6 y va de mas a grande a pequeño --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class cla_arbol { | |
| private cla_nodo raiz;//Cabeza | |
| public void insertar(int x){ | |
| if(raiz==null){//Si no hay nodos, crear un nuevo nodo. | |
| raiz=new cla_nodo(x); | |
| } | |
| else | |
| insertar_nodo(raiz,x); | |
| } | |
| public void insertar_nodo(cla_nodo nodo, int x){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Cla_Provincia //Insertar mantenimiento de provincia | |
| { | |
| public static string Codigo_Provincia; | |
| public static string Descripcion; | |
| public Cla_Provincia() { | |
| } | |
| public Cla_Provincia(String PCodigo,String PDescripcion) { | |
| Codigo_Provincia = PCodigo; | |
| PDescripcion = Descripcion; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class cla_consola { | |
| public static void main(String[] args) { | |
| System.out.println("Jeremy Zelaya R."); | |
| cla_lista lista=new cla_lista(); | |
| //lista.inserta(new cla_persona(10,"Juan")); | |
| //lista.inserta(new cla_persona(5,"Pedro")); | |
| // lista.inserta(new cla_persona(15,"Albert")); | |
| // lista.inserta(new cla_persona(20, "Daniel")); | |
| // lista.inserta(new cla_persona(30, "Sebastian")); | |
| System.out.println(lista); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace planilla_avanzado | |
| { | |
| class cla_array | |
| { | |
| public String campo; | |
| public String tipo; | |
| public ArrayList tabla; | |
| public cla_array() {//Cada vez que se accede a esta clase se utiliza el array del objeto. | |
| this.tabla = new ArrayList(); | |
| } |
NewerOlder