Thoughts
3 part challenge in functional react
=> https://thoughts.learnerpages.com?show=c951e379-3cc4-4c86-a544-dd7bc8b5a770
```js
import { html, render, useState } from 'https://unpkg.com/htm/preact/standalone.module.js'
const ThreePartChallenge = () => {
const [inputValue, setInputValue] = useState("");
const [spanValue, setSpanValue] = useState("");
return html`
<div>
<textarea onInput=${e => setInputValue(e.target.value)}>${inputValue}</textarea>
<button onClick=${() => setSpanValue(inputValue)}>Move</button>
<span id="target">${spanValue}</span>
</div>
`;
};
render(html`<${ThreePartChallenge} />`, document.body);
```