Skip to content

Commit 19fd9b8

Browse files
committed
demo 11
1 parent 4221b25 commit 19fd9b8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

class-37/expert-eight-ball/pages/api/hello.js

-5
This file was deleted.

class-37/expert-eight-ball/pages/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export default function Home() {
5151
</header>
5252

5353
<main className=''>
54+
{/* Form section */}
5455
<form className="flex w-1/2 p-2 mx-auto my-4 bg-gray-200" onSubmit={questionAskedHandler}>
5556
<input name="question" className="flex-auto pl-1" />
5657
<button className="px-2 py-1 bg-gray-500 text-gray-50">Ask</button>
@@ -91,7 +92,6 @@ export default function Home() {
9192
}
9293
</tbody>
9394
</table>
94-
9595
</main>
9696

9797
<footer className='p-4 mt-8 bg-gray-500 text-gray-50'>

0 commit comments

Comments
 (0)