From e73baee1fa2b268a8d00bb4613c5fc0906b297de Mon Sep 17 00:00:00 2001 From: QW66666 Date: Tue, 19 Sep 2023 20:40:08 -0400 Subject: [PATCH 1/2] added file qihong-wu.md --- git/qihong-wu.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 git/qihong-wu.md diff --git a/git/qihong-wu.md b/git/qihong-wu.md new file mode 100644 index 0000000..9006610 --- /dev/null +++ b/git/qihong-wu.md @@ -0,0 +1,4 @@ +2027 +Computer Science +Fast and Furious: Hobbs and Shaw +Best action and humor movie \ No newline at end of file From 250b8eca3a886ef3dde96de7bedd94009fddcc6e Mon Sep 17 00:00:00 2001 From: QW66666 Date: Mon, 25 Sep 2023 19:43:59 -0400 Subject: [PATCH 2/2] added button at the bottom of page and my name --- react/src/App.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/react/src/App.tsx b/react/src/App.tsx index 20a750d..496fe3a 100644 --- a/react/src/App.tsx +++ b/react/src/App.tsx @@ -2,17 +2,24 @@ import React, { useState } from "react"; import "./App.css"; import nerLogo from "./NER-Logo-App-Icon.svg"; import logo from "./logo.svg"; +import { click } from "@testing-library/user-event/dist/click"; function App() { const [original, setOriginal] = useState(false); + const [clicks, setClicks] = useState(0); const onSwitchClicked = () => { setOriginal(!original); }; + const increment = () => { + setClicks(clicks+1); + } + return (
+
Qihong Wu
{original ? ( logo ) : ( @@ -30,6 +37,10 @@ function App() { + +
);