diff options
| -rw-r--r-- | index.html | 9 | ||||
| -rw-r--r-- | index.js | 4 |
2 files changed, 10 insertions, 3 deletions
@@ -1,8 +1,17 @@ +<!doctype html> <html> <head> <meta charset="utf-8"> </head> <body> + <header> + <h1>CIDR.xyz</h1> + <h2>An interactive IP address and CIDR range visualizer</h2> + </header> + <section id="app"></section> + <footer> + Created by <a href="https://y3xz.com">Yuval Adam</a>. Source available on <a href="https://github.com/yuvadm/cidr.xyz">Github</a>. + </footer> <script type="text/javascript" src="bundle.js" charset="utf-8"></script> </body> </html>
\ No newline at end of file @@ -47,6 +47,4 @@ class IPAddress extends React.Component { } } -const app = document.createElement('div') -document.body.appendChild(app) -ReactDOM.render(<IPAddress />, app) +ReactDOM.render(<IPAddress />, document.getElementById('app')) |
