This file contains 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
// Define a function max() that takes two numbers as | |
// arguments and returns the largest of them. Use the | |
// if-then-else construct available in Javascript. | |
// https://jsfiddle.net/ryjtyomv/ | |
function max(firstNum, secondNum){ | |
if (firstNum > secondNum) { | |
console.log(firstNum + " is larger than " + secondNum); | |
} else { |
This file contains 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
1) justify-content: flex-end; | |
2) justify-content: center; | |
3) justify-content: space-around; | |
4) justify-content: space-between; | |
5) align-items: flex-end; | |
6) align-items: center; | |
justify-content: center; | |
7) justify-content: space-around; | |
8) flex-direction: row-reverse; | |
9) flex-direction: column; |