File tree Expand file tree Collapse file tree 6 files changed +29
-4
lines changed Expand file tree Collapse file tree 6 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import profilePic from './assets/Update.jpg';
2
2
function Cart ( ) {
3
3
return (
4
4
< >
5
- < div className = "w-48 border p-5 m-5 shadow-2xl rounded-md inline-block " >
5
+ < div className = "w-48 border p-5 m-5 shadow-2xl rounded-2xl inline-block " >
6
6
< img
7
7
src = { profilePic }
8
8
alt = "Profile Picture"
Original file line number Diff line number Diff line change @@ -66,8 +66,9 @@ function TollPlaza() {
66
66
type = "number"
67
67
name = "amount"
68
68
className = "border-2 p-2 text-lg font-bold"
69
- value = { amount || '' } // Set input value to amount state or empty string to clear field
69
+ value = { amount || '' }
70
70
onChange = { handleBalance }
71
+ required
71
72
/>
72
73
< div className = "flex items-center justify-center my-10" >
73
74
< select
Original file line number Diff line number Diff line change 1
1
import UpdateArray from '../UpdateArray' ;
2
+ import Flex from './Flex' ;
2
3
import UpdateArrayOfObject from './UpdateArrayOfObject' ;
3
4
// import './App.css';
4
5
5
6
function App ( ) {
6
7
return (
7
8
< >
8
9
{ /* <UpdateArray /> */ }
9
- < UpdateArrayOfObject />
10
+ { /* <UpdateArrayOfObject />
11
+ */ }
12
+ < Flex />
10
13
</ >
11
14
) ;
12
15
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ function UpdateArrayOfObject() {
11
11
make : carMake ,
12
12
model : carModel ,
13
13
} ;
14
- setCars ( ( c ) => [ ...c , newCar ] ) ; 0 --
14
+ setCars ( ( c ) => [ ...c , newCar ] ) ;
15
15
} ;
16
16
const handleRemoveCar = ( index ) => { } ;
17
17
const handleYearChange = ( event ) => {
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ <!doctype html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 " />
5
+ < meta
6
+ name ="viewport "
7
+ content ="width=device-width, initial-scale=1.0 " />
8
+ < title > Document</ title >
9
+ </ head >
10
+ < body >
11
+ < div > 1</ div >
12
+ < div > 2</ div >
13
+ < div > 3</ div >
14
+ < div > 4</ div >
15
+ < div > 5</ div >
16
+ < div > 6</ div >
17
+ < div > 7</ div >
18
+ < div > 8</ div >
19
+ < div > 9</ div >
20
+ </ body >
21
+ </ html >
You can’t perform that action at this time.
0 commit comments