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
// Make component accept props and add default color | |
function Icon({size, color = "#A41FAF", gradientColor = "#A41FAF"}) { | |
return ( | |
<svg | |
xmlns="http://www.w3.org/2000/svg" | |
// Add default size | |
width={size === "big" ? 96 : 48} | |
height={size === "big" ? 62 : 31} | |
viewBox="0 0 48 31" | |
> |
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
// Make component accept props and add default color | |
function Icon({size, color = "#A41FAF", gradientColor = "#A41FAF"}) { | |
return ( | |
<svg | |
xmlns="http://www.w3.org/2000/svg" | |
// Add default size | |
width={size === "big" ? 96 : 48} | |
height={size === "big" ? 62 : 31} | |
viewBox="0 0 48 31" | |
> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.0"> | |
<title>Document</title> | |
</head> | |
<!-- React --> | |
<script src="https://unpkg.com/react@17/umd/react.development.js" crossorigin></script> | |
<!-- ReactDOM --> |
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
var upperBand = 20; | |
var lowerBand = 1; | |
function fizzBuzz() { | |
var result = ""; | |
for (var repetition = lowerBand; repetition <= 20; repetition++) { | |
if (repetition % 3 === 0 && repetition === 0) | |
result += "FizzBuzz "; | |
else if (repetition % 3 === 0) | |
result += "Fizz "; |