-
En esta actividad necesitamos definir variables que almacenen la cantidad de elementos de nuestro botiquín. En él tenemos 3 apósitos adhesivos, 1 alcohol en gel, 1 blister (tableta) de aspirinas y 2 pares de guantes de latex. A su vez, es necesario mostrar las cantidades en la consola (Pista: Usa
console.log();
) -
Defina las variables necesarias para mostrar el nombre de los elementos que contiene nuestro botiquin.
-
Muestre en la consola, el nombre de cada elemento del botiquín junto con la cantidad correspondiente.
-
¿Que sucede si queremos ver la cantidad de algún elemento que no definimos en el botiquín? Ejemplo:
cantidadDeVendas
.
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
// Coloque sus enlaces de teclado en este archivo para sobrescribir los valores predeterminados. | |
[ | |
{ | |
"key": "shift+alt+t", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "shift+alt+b", | |
"command": "HookyQR.beautifyFile" | |
} |
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
source "http://rubygems.org" | |
gem "sinatra-activerecord" | |
gem "rake" | |
gem "sqlite3" |
- En esta actividad necesitamos definir variables que almacenen la cantidad de elementos de nuestro botiquín.
En él tenemos 3 apósitos adhesivos, 1 alcohol en gel, 1 blister (tableta) de aspirinas y 2 pares de guantes de latex.
A su vez, es necesario mostrar las cantidades en la consola (Pista: Usa
console.log();
)
var cantidadApositosAdhesivos = 3;
var cantidadAlcoholEnGel = 1;
var cantidadBlisterAspirinas = 1;
var cantidadGuantesDeLatex = 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
import { Component, OnInit, OnDestroy } from '@angular/core'; | |
import {Http} from "@angular/http"; | |
import { LocalCacheService } from "./local-cache.service"; | |
@Component({ | |
selector: 'app-example', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.scss'] | |
}) | |
export class ExampleComponent implements OnInit, OnDestroy { |
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
.ion-heart { | |
-webkit-animation: heartBeat 1.5s infinite ease-in-out; | |
animation: heartBeat 1.5s infinite ease-in-out | |
} | |
@-webkit-keyframes heartBeat { | |
0%, 100% { | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} |
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
require 'sinatra' | |
get '/' do | |
'hola!' | |
end | |
get '/:nombre' do | |
"hola "+ params[:nombre] +"!" | |
end |
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 {Injectable} from '@angular/core'; | |
import {Http, Headers} from '@angular/http'; | |
import {Observable} from 'rxjs/Observable'; | |
import 'rxjs/observable/of'; | |
import 'rxjs/add/operator/share'; | |
import 'rxjs/add/operator/map'; | |
import {Data} from './data'; | |
@Injectable() | |
export class DataService { |
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
{ | |
dark: { | |
accent0: '#FF4050', | |
accent1: '#F28144', | |
accent2: '#FFD24A', | |
accent3: '#A4CC35', | |
accent4: '#26C99E', | |
accent5: '#66BFFF', | |
accent6: '#CC78FA', |
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
TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) |