<link rel=stylesheet href='./style.css'>
<script src="./react_18.1.0.js"></script>
<script src="./react-dom_18.1.0.js"></script>

<div id=root></div>

<script>
const e = React.createElement;

function AppHeader(props) {
  return e(React.Fragment, null,
    e('h1', null, `reactjs@${React.version}`),
    e('h3', null, `Reading List: ${props.bookCount}`),
  );
}

class NewBook extends React.Component {
  constructor(props) {
    super(props);
    this.state = '';
  }

  onInput(event) {
    this.state = event.