Skip to content

Instantly share code, notes, and snippets.

View claudiainbytes's full-sized avatar
😺
I build awesome digital stuff

Claudia Estupiñán Forero claudiainbytes

😺
I build awesome digital stuff
View GitHub Profile
@claudiainbytes
claudiainbytes / es6-literal-templates-and-tags.markdown
Last active June 22, 2017 05:22
ES6 - Literal templates and tags
@claudiainbytes
claudiainbytes / js-labeling-loops-rotulacion-de-ciclos.markdown
Created June 22, 2017 02:24
JS - Labeling loops/Rotulación de ciclos
@claudiainbytes
claudiainbytes / atm-to-check-your-balance.markdown
Last active August 20, 2017 20:48
ATM to check your balance
@claudiainbytes
claudiainbytes / murder-mystery-js-using-else-if.markdown
Created August 20, 2017 20:49
Murder Mystery - JS using else if
@claudiainbytes
claudiainbytes / education-and-salary-in-us-switch-statement.markdown
Created August 20, 2017 20:49
Education and Salary in US - Switch Statement
@claudiainbytes
claudiainbytes / script.js
Created August 20, 2017 20:50
The right size t-shirt
/*
* Programming Quiz: What do I Wear? (3-7)
*/
// change the values of `shirtWidth`, `shirtLength`, and `shirtSleeve` to test your code
var shirtWidth = 18;
var shirtLength = 29;
var shirtSleeve = 8.47;
// your code goes here
@claudiainbytes
claudiainbytes / script.js
Created August 20, 2017 20:54
The Food Chain - Ternary Operators
/*
* Programming Quiz - Navigating the Food Chain (3-8)
*
* Use a series of ternary operator to set the category to one of the following:
* - "herbivore" if an animal eats plants
* - "carnivore" if an animal eats animals
* - "omnivore" if an animal eats plants and animals
* - undefined if an animal doesn't eat plants or animals
*
* Notes
/*
* Programming Quiz: JuliaJames (4-1)
*/
var x = 1;
while ( x <= 20) {
// check divisibility
if(( x % 3 === 0 ) && ( x % 5 === 0)){
console.log("JuliaJames");
/*
* Programming Quiz: 99 Bottles of Juice (4-2)
*
* Use the following `while` loop to write out the song "99 bottles of juice".
* Log the your lyrics to the console.
*
* Note
* - Each line of the lyrics needs to be logged to the same line.
* - The pluralization of the word "bottle" changes from "2 bottles" to "1 bottle" to "0 bottles".
*/