diff --git a/src/App.js b/src/App.js index 3784575..b475077 100644 --- a/src/App.js +++ b/src/App.js @@ -1,25 +1,65 @@ -import logo from './logo.svg'; -import './App.css'; +import { firebaseConfig } from "./config/Config" +import { getApp, initializeApp } from "firebase/app" +import { useState, useEffect } from "react" +import { getFirestore, + collection, + getDoc, + doc, + getDocs } from "firebase/firestore"; + import {getStorage} from "firebase/storage" + import Form from 'react-bootstrap/Form'; + import 'bootstrap/dist/css/bootstrap.min.css'; -function App() { - return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
- ); -} + import 'App.css' -export default App; + + + function MyForm() { + const [selectedOptions, setSelectedOptions] = useState([]); + + const handleCheckboxChange = (event) => { + const { value, checked } = event.target; + if (checked) { + setSelectedOptions([...selectedOptions, value]); + } else { + setSelectedOptions(selectedOptions.filter((option) => option !== value)); + } + }; + + return ( +
+ + + + + + +
+ ); + } + + export default App;