Skip to content

Commit 1eb3dbf

Browse files
committed
improved file
1 parent 6ec6134 commit 1eb3dbf

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

public/html/single-file-example.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<meta charset="UTF-8" />
@@ -11,13 +11,9 @@
1111
</head>
1212
<body>
1313
<div id="root"></div>
14+
<button>submit</button>
1415
<script type="text/babel">
15-
16-
ReactDOM.render(
17-
<h1>Hello, world!</h1>,
18-
document.getElementById('root')
19-
);
20-
16+
ReactDOM.render(<h1>Hello, world!</h1>, document.getElementById('root'));
2117
</script>
2218
<!--
2319
Note: this page is a great way to try React but it's not suitable for production.

0 commit comments

Comments
 (0)