mirror of
https://github.com/seigler/drawing-prompt
synced 2025-07-28 02:06:11 +00:00
working well
This commit is contained in:
parent
9a4336dacd
commit
940b015a0e
5 changed files with 43 additions and 15 deletions
|
@ -31,9 +31,9 @@ function App() {
|
|||
|
||||
return (
|
||||
<>
|
||||
<h1>Your Prompt:</h1>
|
||||
<div>You should draw {['a','e','i','o','u'].includes(suggestion().charAt(0)) ? 'an' : 'a'}</div>
|
||||
<div class="prompt">{suggestion()}</div>
|
||||
<button on:click={() => {
|
||||
<button id="regenerate" on:click={() => {
|
||||
setSuggestion(getPrompt())
|
||||
}}>
|
||||
↻
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue