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> | |
<head> | |
<title>HTML Dialog Element</title> | |
</head> | |
<body> | |
<dialog open> | |
<form method="dialog"> | |
<input type="text"> | |
<button type="submit">OK</button> |
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> | |
<head> | |
<title>HTML Dialog Element</title> | |
</head> | |
<body> | |
<dialog open> | |
<form method="dialog"> | |
<input type="text"> | |
<button type="submit">SUBMIT</button> |
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> | |
<head> | |
<title>HTML Dialog Element</title> | |
</head> | |
<body> | |
<dialog open> | |
</dialog> | |
</body> | |
<script src="app.js"></script> |
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> | |
<head> | |
<title>HTML Dialog Element</title> | |
</head> | |
<body> | |
<dialog> | |
</dialog> | |
</body> | |
<script src="app.js"></script> |
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
export const browserDetection = () => { | |
const isGoogleBot = navigator.userAgent.toLowerCase().indexOf('googlebot') !== -1; | |
const isIE = /*@cc_on!@*/false || !!document.documentMode; | |
const isEdge = !(isIE) && !!window.StyleMedia; | |
const isFirefox = typeof InstallTrigger !== 'undefined'; | |
const isOpera = (!!window.opr && !!window.opr.addons) || !!window.opera | |
|| navigator.userAgent.indexOf(' OPR/') >= 0; | |
const isChrome = !isGoogleBot && !isEdge && !isOpera && !!window.chrome && ( | |
!!window.chrome.webstore | |
|| navigator.vendor.toLowerCase().indexOf('google inc.') !== -1 |
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
*, | |
*::after, | |
*::before { | |
margin: 0; | |
padding: 0; | |
box-sizing: inherit; | |
} | |
html { | |
box-sizing: border-box; |
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"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,400i|Nunito:300,300i" rel="stylesheet"> | |
<link rel="stylesheet" href="css/style.css"> | |
<link rel="shortcut icon" type="image/png" href="img/favicon.png"> |
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
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: 'Lato', sans-serif; | |
color: #333; | |
font-weight: 400; |
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> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Video</title> | |
<link rel="stylesheet" href="css/normalize.css"> | |
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet"> | |
<link rel="stylesheet" href="css/main.css"> | |
</head> |
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> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Sign Up Form</title> | |
<link rel="stylesheet" href="css/normalize.css"> | |
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet"> | |
<link rel="stylesheet" href="css/main.css"> | |
</head> |