forked from 10secondsofcode/10secondsofcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·36 lines (36 loc) · 1.53 KB
/
index.html
File metadata and controls
executable file
·36 lines (36 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<title itemprop="name">10secondsofcode - reactjs | reactjs online | ReactJS Tutorial</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="author" content="10secondsofcode">
<meta name="msapplication-TileColor" content="#3ab78c">
<meta property="og:title" content="10secondsofcode - The Modern Reactjs Tutorial ">
<meta name="description" content="10secondsofcode - Modern ReactJs Tutorial: Reactjs online tutorials, examples and advanced concepts">
<link rel="canonical" href="#">
<meta name="theme-color" content="#000000">
<link rel="manifest" href="./public/manifest.json">
<link rel="shortcut icon" href="./public/favicon.ico">
</head>
<body id="Apptheme" class="thememain-white">
<div id="app">
</div>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('serviceWorker.js').then(function(registration) {
console.log('Worker registration successful', registration.scope);
}, function(err) {
console.log('Worker registration failed', err);
}).catch(function(err) {
console.log(err);
});
});
} else {
console.log('Service Worker is not supported by browser.');
}
</script>
</body>
</html>