diff --git a/src/App.jsx b/src/App.jsx index 6bf3e21..87f764e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,21 +1,18 @@ -import logo from './logo.svg'; +import React from "react"; import './mybox.css'; -import Todolist from './Todolist' - function App() { + var [count,setCount]=React.useState(0) return ( -
- -

Indian Premier League (IPL) Teams & Players

- - - - - - - +
+

vinay

+

count:{count}

+ + +
+ + ); } -export default App; +export default App; \ No newline at end of file diff --git a/src/Counter.jsx b/src/Counter.jsx deleted file mode 100644 index 0d8e8c4..0000000 --- a/src/Counter.jsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from "react"; -function Counter(){ - var [count,setCount]=React.useState(0) - return( -
-

Counter:{count}

-
- ) -} - -export default Counter; \ No newline at end of file diff --git a/src/Div.jsx b/src/Div.jsx deleted file mode 100644 index 21b2030..0000000 --- a/src/Div.jsx +++ /dev/null @@ -1,8 +0,0 @@ -import React from "react"; -function Div(){ - var [div,setDiv]=React.useState(["Mumbai Indians",'Chennai super Kings']) - return
-

{div}

-
-} -export default Div; \ No newline at end of file diff --git a/src/Todolist.jsx b/src/Todolist.jsx index ac107af..c15c7f2 100644 --- a/src/Todolist.jsx +++ b/src/Todolist.jsx @@ -5,7 +5,7 @@ function Todolist(props){

{props.title}

Captain:{props.head}

- +

team