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
| <!--La <! DOCTYPE> debe ser la primera cosa en su documento HTML, antes de la etiqueta <html>. La <! DOCTYPE> no es una etiqueta HTML pero sí una instrucción para el navegador web acerca de qué versión de HTML de la página está escrita en--> | |
| <!DOCTYPE HTML> | |
| <!--La etiqueta <html> representa la raíz de un documento HTML.--> | |
| <html> | |
| <!--El elemento <head> es un contenedor para todos los elementos de cabeza y puede incluir un título para el documento, scripts, estilos, meta-información, y más.--> | |
| <head> | |
| <!--La etiqueta <meta> proporciona metadatos sobre el documento HTML. | |
| Los metadatos no se mostrará en la página, pero será máquina apta para su procesamiento. | |
| Meta elementos se utilizan normalmente para especificar descripción de páginas, palabras clave, autor del documento, modificada por última vez, y otros metadatos.--> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
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
| Semana | Java | PHP | Ruby | JavaScript | Python | |
|---|---|---|---|---|---|---|
| 2018-02-18 | 97 | 51 | 28 | 40 | 71 | |
| 2018-02-25 | 97 | 50 | 28 | 39 | 71 | |
| 2018-03-04 | 96 | 49 | 27 | 41 | 72 | |
| 2018-03-11 | 99 | 50 | 28 | 41 | 76 | |
| 2018-03-18 | 97 | 51 | 27 | 41 | 74 | |
| 2018-03-25 | 93 | 49 | 28 | 39 | 73 | |
| 2018-04-01 | 95 | 49 | 29 | 39 | 70 | |
| 2018-04-08 | 98 | 49 | 28 | 40 | 73 | |
| 2018-04-15 | 100 | 49 | 27 | 41 | 75 |
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
| import axios from 'axios'; | |
| class Api{ | |
| static async getUserInfo(username){ | |
| try{ | |
| const response = await axios.get('https://api.github.com/users/'+username); | |
| console.log(response); | |
| } catch (err){ | |
| console.warn('Error'); | |
| } |
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> | |
| <head> | |
| <title>Doc</title> | |
| </head> | |
| <body> | |
| <script src="./bundle.js"></script> | |
| </body> |
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
| export function sum(a, b){ | |
| return a + b; | |
| } |
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
| import {sum} from './sum.js'; | |
| console.log(sum(2,10)); |
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
| module.exports = { | |
| entry: './main.js', | |
| output: { | |
| path: __dirname, | |
| filename: 'bundle.js', | |
| }, | |
| module:{ | |
| rules:[ | |
| { | |
| test: /\.js$/, |
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 Media{ | |
| constructor(a, b, c, d){ | |
| this.a = a; | |
| this.b = b; | |
| this.c = c; | |
| this.d = d; | |
| } | |
| static Sumar(a, b, c, d){ | |
| return ((a+b+c+d) / 4); |
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 List{ | |
| constructor(){ | |
| this.data = []; | |
| } | |
| add(data){ | |
| this.data.push(data); | |
| console.log(this.data); | |
| } | |
| } |
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 ItemList{ | |
| constructor(){ | |
| this.item = []; | |
| } | |
| addItem(){ | |
| this.item.push('Nuevo ítem'); | |
| console.log(this.item); | |
| } | |
| } |