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
const hashCode = str => | |
str | |
.split("") | |
.reduce((hash, val) => ((hash << 5) - hash + val.charCodeAt(0)) | 0, 0) | |
export const isChrome = | |
/Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor) | |
export const isSafari = | |
/Safari/.test(navigator.userAgent) && | |
/Apple Computer/.test(navigator.vendor) |
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
<div class="container g"> | |
<div class="g-bro"></div> | |
g. | |
</div> | |
<h2 class="garg">GARGOYLE</h2> | |
<h3>interior design firm</h3> | |
<style> | |
.garg::after { | |
background-color: #ffd527; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Flexbox</title> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="css/stylesheet.css"> | |
</head> |