:root {
/* Base color using HSL */
--hue: 207;
--saturation: 64%;
--light: 44%;
/* Base color in variable */
--primary-color: hsl(var(--hue), var(--saturation), var(--light));
/* Base color lighten using calc */
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
Africa/Abidjan | |
Africa/Accra | |
Africa/Addis_Ababa | |
Africa/Algiers | |
Africa/Asmara | |
Africa/Asmera | |
Africa/Bamako | |
Africa/Bangui | |
Africa/Banjul | |
Africa/Bissau |
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
let CSS_COLORS = ['aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure', 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgrey', 'darkgreen', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'fuchsia', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'gray', 'grey', 'green', 'greenyellow', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgrey', 'lightgreen', 'lightpink', 'lightsalmon', 'lightseagreen', 'lights |
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
My Solutions to Codewars Kata - 8kyu |
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
[ | |
{ "name": "Afghanistan", "iso": "AF", "flag": "🇦🇫", "dialCode": "+93" }, | |
{ "name": "Aland Islands", "iso": "AX", "flag": "🇦🇽", "dialCode": "+358-18" }, | |
{ "name": "Albania", "iso": "AL", "flag": "🇦🇱", "dialCode": "+355" }, | |
{ "name": "Algeria", "iso": "DZ", "flag": "🇩🇿", "dialCode": "+213" }, | |
{ "name": "American Samoa", "iso": "AS", "flag": "🇦🇸", "dialCode": "+1-684" }, | |
{ "name": "Andorra", "iso": "AD", "flag": "🇦🇩", "dialCode": "+376" }, | |
{ "name": "Angola", "iso": "AO", "flag": "🇦🇴", "dialCode": "+244" }, | |
{ "name": "Anguilla", "iso": "AI", "flag": "🇦🇮", "dialCode": "+1264" }, | |
{ "name": "Antarctica", "iso": "AQ", "flag": "🇦🇶", "dialCode": "+672" }, |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Starter Template</title> | |
<meta name="description" content=""> |
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
console.log('L1'); | |
setTimeout(() => console.log('L2'), 0); | |
new Promise((resolve) => { | |
console.log('L3'); | |
setImmediate(() => console.log('L4')); | |
process.nextTick(() => console.log('L5')) // node backend only | |
resolve(); | |
}) | |
.then(() => console.log('L6')); | |
console.log('L7'); |
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
for (var i = 0; i < 4; i++) { | |
setTimeout(() => { | |
console.log(i); | |
}, 0); | |
} |
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
function greet(person) { | |
if (person == { name: 'amy' }) { | |
return 'hey amy' | |
} else { | |
return 'hey arnold' | |
} | |
} | |
console.log(greet({ name: 'amy' })) |
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
ab | |
ad | |
an | |
ante | |
anti | |
auto | |
be | |
bi | |
centi | |
circum |
NewerOlder