-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 59.3 KB
/
.eslintcache
1
[{"F:\\chemistry-website\\frontend\\src\\index.js":"1","F:\\chemistry-website\\frontend\\src\\reportWebVitals.js":"2","F:\\chemistry-website\\frontend\\src\\App.js":"3","F:\\chemistry-website\\frontend\\src\\components\\navbar.jsx":"4","F:\\chemistry-website\\frontend\\src\\components\\Navbar.jsx":"5","F:\\chemistry-website\\frontend\\src\\components\\MiniNavBar.jsx":"6","F:\\chemistry-website\\frontend\\src\\components\\Home.jsx":"7","F:\\chemistry-website\\frontend\\src\\components\\Corusal.jsx":"8","F:\\chemistry-website\\frontend\\src\\components\\class11.jsx":"9","F:\\chemistry-website\\frontend\\src\\components\\sidebar.jsx":"10","F:\\chemistry-website\\frontend\\src\\components\\data.js":"11","F:\\chemistry-website\\frontend\\src\\components\\chapter11.jsx":"12","F:\\chemistry-website\\frontend\\src\\components\\important.jsx":"13","F:\\chemistry-website\\frontend\\src\\components\\syllabus.jsx":"14","F:\\chemistry-website\\frontend\\src\\components\\periodic-table.jsx":"15","F:\\chemistry-website\\frontend\\src\\components\\class12.jsx":"16","F:\\chemistry-website\\frontend\\src\\components\\sidebar2.jsx":"17","F:\\chemistry-website\\frontend\\src\\components\\chapter12.jsx":"18","F:\\chemistry-website\\frontend\\src\\components\\syllabus12.jsx":"19","F:\\chemistry-website\\frontend\\src\\components\\contact.jsx":"20","F:\\chemistry-website\\frontend\\src\\components\\footer.jsx":"21","F:\\chemistry-website\\frontend\\src\\components\\check.jsx":"22","F:\\chemistry-website\\frontend\\src\\components\\blog.js":"23","F:\\chemistry-website\\frontend\\src\\components\\login.js":"24","F:\\chemistry-website\\frontend\\src\\components\\register.js":"25","F:\\chemistry-website\\frontend\\src\\components\\quiz.js":"26","F:\\chemistry-website\\frontend\\src\\components\\quiz-data.js":"27","F:\\chemistry-website\\frontend\\src\\components\\QuizLayout.js":"28","F:\\chemistry-website\\frontend\\src\\components\\profile.js":"29"},{"size":500,"mtime":499162500000,"results":"30","hashOfConfig":"31"},{"size":362,"mtime":499162500000,"results":"32","hashOfConfig":"31"},{"size":4889,"mtime":1624884513861,"results":"33","hashOfConfig":"31"},{"size":741,"mtime":1611851529127,"results":"34","hashOfConfig":"31"},{"size":2367,"mtime":1624880873913,"results":"35","hashOfConfig":"31"},{"size":613,"mtime":1620642616412,"results":"36","hashOfConfig":"31"},{"size":495,"mtime":1620837762326,"results":"37","hashOfConfig":"31"},{"size":2401,"mtime":1620634953633,"results":"38","hashOfConfig":"31"},{"size":474,"mtime":1621082208002,"results":"39","hashOfConfig":"31"},{"size":683,"mtime":1620652750900,"results":"40","hashOfConfig":"31"},{"size":56375,"mtime":1612458200521,"results":"41","hashOfConfig":"31"},{"size":1011,"mtime":1620635179533,"results":"42","hashOfConfig":"31"},{"size":2515,"mtime":1612173112509,"results":"43","hashOfConfig":"31"},{"size":10108,"mtime":1612545300108,"results":"44","hashOfConfig":"31"},{"size":34205,"mtime":1620635021094,"results":"45","hashOfConfig":"31"},{"size":477,"mtime":1621082449519,"results":"46","hashOfConfig":"31"},{"size":688,"mtime":1620635225826,"results":"47","hashOfConfig":"31"},{"size":954,"mtime":1620635183551,"results":"48","hashOfConfig":"31"},{"size":9058,"mtime":1612545109409,"results":"49","hashOfConfig":"31"},{"size":1417,"mtime":1621082610377,"results":"50","hashOfConfig":"31"},{"size":2216,"mtime":1621082636074,"results":"51","hashOfConfig":"31"},{"size":2061,"mtime":1620635055471,"results":"52","hashOfConfig":"31"},{"size":2546,"mtime":1613150730891,"results":"53","hashOfConfig":"31"},{"size":2523,"mtime":1624884411657,"results":"54","hashOfConfig":"31"},{"size":2781,"mtime":1624884469695,"results":"55","hashOfConfig":"31"},{"size":1024,"mtime":1620836110455,"results":"56","hashOfConfig":"31"},{"size":5500,"mtime":1620836870541,"results":"57","hashOfConfig":"31"},{"size":3991,"mtime":1624884457948,"results":"58","hashOfConfig":"31"},{"size":3491,"mtime":1621182808348,"results":"59","hashOfConfig":"31"},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},"v66day",{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"69","messages":"70","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"71","usedDeprecatedRules":"62"},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"74","messages":"75","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"76","usedDeprecatedRules":"62"},{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"93","usedDeprecatedRules":"62"},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"104","messages":"105","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"106","usedDeprecatedRules":"62"},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"109","messages":"110","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"111","usedDeprecatedRules":"62"},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"122","messages":"123","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"124","usedDeprecatedRules":"62"},"F:\\chemistry-website\\frontend\\src\\index.js",[],["125","126"],"F:\\chemistry-website\\frontend\\src\\reportWebVitals.js",[],"F:\\chemistry-website\\frontend\\src\\App.js",["127"],"F:\\chemistry-website\\frontend\\src\\components\\navbar.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\Navbar.jsx",["128","129"],"import React,{Component} from 'react'\r\nimport Nav from 'react-bootstrap/Nav'\r\nimport Button from 'react-bootstrap/Button'\r\nimport Navbar from 'react-bootstrap/Navbar'\r\nimport MiniNavBar from './MiniNavBar'\r\nimport logo from './logo.jpeg'\r\nimport './css/navbar.css'\r\nimport {Link, Redirect} from 'react-router-dom'\r\n\r\nclass NavBar extends Component{\r\n constructor(props)\r\n {\r\n super(props)\r\n console.log(props)\r\n }\r\n logout=()=>{\r\n \r\n this.props.setAuthenticated(false);\r\n this.props.setName('');\r\n this.props.setEmail('');\r\n this.props.setMarks(null)\r\n localStorage.removeItem('token')\r\n //this.props.history.push('/')\r\n //hashHistory.push('/')\r\n //return <Redirect to=\"/\"></Redirect>\r\n }\r\n\r\n render()\r\n {\r\n //console.log(\"navbar\")\r\n //console.log(this.props.passed)\r\n //console.log(context) \r\n return(\r\n <div>\r\n <Navbar bg=\"dark\" variant=\"dark\" expand=\"lg\">\r\n <Nav.Link><Link to =\"/\" style={{textDecoration:'none'}}><img className=\"logo\" src={logo} ></img></Link></Nav.Link>\r\n <Navbar.Toggle aria-controls=\"basic-navbar-nav\" />\r\n <Navbar.Collapse id=\"basic-navbar-nav\">\r\n <Nav className=\"mr-auto\">\r\n <Nav.Link><Link to=\"/\" style={{textDecoration:'none'}}>Home</Link></Nav.Link>\r\n <Nav.Link><Link to=\"/periodic-table\" style={{textDecoration:'none'}}>Periodic Table</Link></Nav.Link>\r\n <Nav.Link><Link to=\"/syllabus11\" style={{textDecoration:'none'}}>Syllabus 11</Link></Nav.Link>\r\n <Nav.Link><Link to=\"/syllabus12\" style={{textDecoration:'none'}}>Syllabus 12</Link></Nav.Link>\r\n <Nav.Link><Link to=\"/contact\" style={{textDecoration:'none'}}>Contact Us</Link></Nav.Link>\r\n \r\n </Nav>\r\n {this.props.passed.isAuthenticated\r\n ?\r\n <div>\r\n <Link to=\"/profile\"><Button variant=\"outline-info\" style={{marginRight:'1rem'}}>Hi, {this.props.passed.name}</Button></Link>\r\n <Link to=\"/\"><Button variant=\"outline-danger\" onClick={()=>this.logout()} style={{marginRight:'1rem'}}>Log Out</Button></Link>\r\n </div>\r\n :\r\n <div>\r\n <Link to=\"/login\"><Button variant=\"outline-success\" style={{marginRight:'1rem'}}>Login</Button></Link>\r\n <Link to=\"/register\"><Button variant=\"outline-success\">Register</Button></Link>\r\n </div>\r\n }\r\n </Navbar.Collapse>\r\n</Navbar>\r\n<MiniNavBar />\r\n</div>\r\n )\r\n }\r\n}\r\nexport default NavBar;\r\n","F:\\chemistry-website\\frontend\\src\\components\\MiniNavBar.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\Home.jsx",["130"],"import './css/Home.css'\r\nimport Corusal from './Corusal'\r\nimport Important from './important'\r\nimport Footer from './footer'\r\nimport Check from './check'\r\nfunction Home(){\r\n return(\r\n <div className=\"main-home\">\r\n <div className=\"title\">Chemistry</div>\r\n <Check ></Check>\r\n <h1 className=\"a\">Quick Links</h1>\r\n <div className=\"a\"><Corusal className=\"corusal\"/></div>\r\n <Important />\r\n </div>\r\n )\r\n}\r\nexport default Home;","F:\\chemistry-website\\frontend\\src\\components\\Corusal.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\class11.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\sidebar.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\data.js",[],"F:\\chemistry-website\\frontend\\src\\components\\chapter11.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\important.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\syllabus.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\periodic-table.jsx",["131"],"import { useState} from 'react'\r\nimport './css/periodic-table.css'\r\nimport elements from './elements.json'\r\nexport default function Periodic() \r\n{\r\n const [data,setData]=useState(elements[0]);\r\n const [open,setOpen]=useState(false);\r\n function getSearch(x)\r\n { \r\n setData(elements[x-1]);\r\n console.log(elements[x-1].atomicNumber); \r\n document.getElementsByClassName(\"popover\")[0].style.zIndex=3;\r\n setOpen(true);\r\n }\r\n function close()\r\n {\r\n document.getElementsByClassName(\"popover\")[0].style.zIndex=-1;\r\n setOpen(false);\r\n }\r\n Window.onClick=function()\r\n {\r\n if(open===true)\r\n {\r\n document.getElementsByClassName(\"popover\")[0].style.zIndex=-1;\r\n setOpen(false);\r\n }\r\n }\r\n\r\n return (\r\n <div className=\"periodic-outer\">\r\n\r\n <div className=\"outer\">\r\n \r\n <div className=\"popover\">\r\n <div className=\"hk\">\r\n <div className=\"popover-symbol\">{data.symbol}</div>\r\n <div className=\"popover-name\">{data.name}</div>\r\n </div>\r\n\r\n <div className=\"hk\">\r\n <div><b>Atomic Mass:</b> {data.atomicMass}</div>\r\n <div><b>Electronic Configuration :</b> {data.electronicConfiguration}</div>\r\n <div><b>Oxidation States: </b>{data.oxidationStates}</div>\r\n <div><b>Melting Point:</b> {data.meltingPoint}</div>\r\n <div><b>Boiling Point:</b> {data.boilingPoint}</div>\r\n <div><b>Group Block:</b> {data.groupBlock}</div>\r\n <div><b>Standard State:</b> {data.standardState}</div>\r\n </div>\r\n <button style={{width:\"2rem\",height:\"2rem\",backgroundColor:\"white\",border:\"0\"}} className=\"bt\" onClick={()=>close()}><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-x\" viewBox=\"0 0 16 16\">\r\n <path d=\"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z\"/>\r\n</svg></button>\r\n</div>\r\n\r\n <table className=\"table1\">\r\n <tr className=\"each-row\">\r\n <td>\r\n <button onClick={()=>getSearch(\"1\")}>\r\n <div className=\"1\">1</div>\r\n <div><b>H</b></div>\r\n <div>Hydrogen</div>\r\n </button>\r\n </td>\r\n <td></td>\r\n <td rowSpan=\"3\" colSpan=\"10\"></td>\r\n <td rowSpan=\"1\" colSpan=\"5\"></td>\r\n <td>\r\n <button onClick={()=>getSearch(\"2\")}>\r\n <div className=\"1\">2</div>\r\n <div><b>He</b></div>\r\n <div >Helium</div>\r\n </button>\r\n </td>\r\n </tr>\r\n\r\n <tr className=\"each-row\">\r\n <td>\r\n <button onClick={()=>getSearch(\"3\")}>\r\n <div>3</div>\r\n <div><b>Li</b></div>\r\n <div>Lithium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"4\")}>\r\n <div>4</div>\r\n <div><b>Be</b></div>\r\n <div>Beryllium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"5\")}>\r\n <div>5</div>\r\n <div><b>B</b></div>\r\n <div>Boron</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"6\")}>\r\n <div>6</div>\r\n <div><b>C</b></div>\r\n <div>Carbon</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"7\")}>\r\n <div>7</div>\r\n <div><b>N</b></div>\r\n <div>Nitrogen</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"8\")}>\r\n <div>8</div>\r\n <div><b>O</b></div>\r\n <div>Oxygen</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"9\")}>\r\n <div>9</div>\r\n <div><b>F</b></div>\r\n <div>Florine</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"10\")}>\r\n <div>10</div>\r\n <div><b>Ne</b></div>\r\n <div>Neon</div>\r\n </button>\r\n </td>\r\n </tr>\r\n <tr className=\"each-row\">\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"11\")}>\r\n <div>11</div>\r\n <div><b>Na</b></div>\r\n <div>Sodium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"12\")}>\r\n <div>12</div>\r\n <div><b>Mg</b></div>\r\n <div>Magnesium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"13\")}>\r\n <div>13</div>\r\n <div><b>Al</b></div>\r\n <div>Aluminium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"14\")}>\r\n <div>14</div>\r\n <div><b>Si</b></div>\r\n <div>Silicon</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"15\")}>\r\n <div>15</div>\r\n <div><b>P</b></div>\r\n <div>Phosphorus</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"16\")}>\r\n <div>16</div>\r\n <div><b>S</b></div>\r\n <div>Sulphur</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"17\")}>\r\n <div>17</div>\r\n <div><b>Cl</b></div>\r\n <div>Chlorine</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"18\")}>\r\n <div>18</div>\r\n <div><b>Ar</b></div>\r\n <div>Argon</div>\r\n </button>\r\n </td>\r\n\r\n </tr>\r\n <tr className=\"each-row\">\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"19\")}>\r\n <div>19</div>\r\n <div><b>K</b></div>\r\n <div>Potassium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"20\")}>\r\n <div>20</div>\r\n <div><b>Ca</b></div>\r\n <div>Calcium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"21\")}>\r\n <div>21</div>\r\n <div><b>Sc</b></div>\r\n <div>Scandium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"22\")}>\r\n <div>22</div>\r\n <div><b>Ti</b></div>\r\n <div>Titanium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"23\")}>\r\n <div>23</div>\r\n <div><b>V</b></div>\r\n <div>Vanadium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"24\")}>\r\n <div>24</div>\r\n <div><b>Cr</b></div>\r\n <div>Chromium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"25\")}>\r\n <div>25</div>\r\n <div><b>Mn</b></div>\r\n <div>Manganese</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"26\")}>\r\n <div>26</div>\r\n <div><b>Fe</b></div>\r\n <div>Iron</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"27\")}>\r\n <div>27</div>\r\n <div><b>Co</b></div>\r\n <div>Cobalt</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"28\")}>\r\n <div>28</div>\r\n <div><b>Ni</b></div>\r\n <div>Nickel</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"29\")}>\r\n <div>29</div>\r\n <div><b>Cu</b></div>\r\n <div>Copper</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"30\")}>\r\n <div>30</div>\r\n <div><b>Zn</b></div>\r\n <div>Zinc</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"31\")}>\r\n <div>31</div>\r\n <div><b>Ga</b></div>\r\n <div>Galium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"32\")}>\r\n <div>32</div>\r\n <div><b>Ge</b></div>\r\n <div>Germanium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"33\")}>\r\n <div>33</div>\r\n <div><b>As</b></div>\r\n <div>Arsenic</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"34\")}>\r\n <div>34</div>\r\n <div><b>Se</b></div>\r\n <div>Selenium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"35\")}>\r\n <div>35</div>\r\n <div><b>Br</b></div>\r\n <div>Bromine</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"36\")}>\r\n <div>36</div>\r\n <div><b>Kr</b></div>\r\n <div>Krypton</div>\r\n </button>\r\n </td>\r\n\r\n </tr>\r\n <tr className=\"each-row\">\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"37\")}>\r\n <div>37</div>\r\n <div><b>Rb</b></div>\r\n <div>Rubidium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"38\")}>\r\n <div>38</div>\r\n <div><b>Sr</b></div>\r\n <div>Strontium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"39\")}>\r\n <div>39</div>\r\n <div><b>Y</b></div>\r\n <div>Yttrium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"40\")}>\r\n <div>40</div>\r\n <div><b>Zr</b></div>\r\n <div>Zirconium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"41\")}>\r\n <div>41</div>\r\n <div><b>Nb</b></div>\r\n <div>Niobium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"42\")}>\r\n <div>42</div>\r\n <div><b>Mo</b></div>\r\n <div>Molybdenium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"43\")}>\r\n <div>43</div>\r\n <div><b>Tc</b></div>\r\n <div>Technetium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"44\")}>\r\n <div>44</div>\r\n <div><b>Ru</b></div>\r\n <div>Rutnium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"45\")}>\r\n <div>45</div>\r\n <div><b>Rh</b></div>\r\n <div>Rhodium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"46\")}>\r\n <div>46</div>\r\n <div><b>Pd</b></div>\r\n <div>Palladium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"47\")}>\r\n <div>47</div>\r\n <div><b>Ag</b></div>\r\n <div>Silver</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"48\")}>\r\n <div>48</div>\r\n <div><b>Cd</b></div>\r\n <div>Cadmium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"49\")}>\r\n <div>49</div>\r\n <div><b>In</b></div>\r\n <div>Indium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"50\")}>\r\n <div>50</div>\r\n <div><b>Sn</b></div>\r\n <div>Tin</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"51\")}>\r\n <div>51</div>\r\n <div><b>Sb</b></div>\r\n <div>Antimony</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"52\")}>\r\n <div>52</div>\r\n <div><b>Te</b></div>\r\n <div>Tellurium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"53\")}>\r\n <div>53</div>\r\n <div><b>I</b></div>\r\n <div>Iodine</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"54\")}>\r\n <div>54</div>\r\n <div><b>Xe</b></div>\r\n <div>Xenon</div>\r\n </button>\r\n </td>\r\n\r\n </tr>\r\n <tr className=\"each-row\">\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"55\")}>\r\n <div>55</div>\r\n <div><b>Cs</b></div>\r\n <div>Cesium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"56\")}>\r\n <div>56</div>\r\n <div><b>Ba</b></div>\r\n <div>Barium</div>\r\n </button>\r\n </td>\r\n\r\n <td></td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"72\")}>\r\n <div>72</div>\r\n <div><b>Hf</b></div>\r\n <div>Hafnium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"73\")}>\r\n <div>73</div>\r\n <div><b>Ta</b></div>\r\n <div>Tantalum</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"74\")}>\r\n <div>74</div>\r\n <div><b>W</b></div>\r\n <div>Tungsten</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"75\")}>\r\n <div>75</div>\r\n <div><b>Re</b></div>\r\n <div>Rhenium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"76\")}>\r\n <div>76</div>\r\n <div><b>Os</b></div>\r\n <div>Osmium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"77\")}>\r\n <div>77</div>\r\n <div><b>Ir</b></div>\r\n <div>Iridium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"78\")}>\r\n <div>78</div>\r\n <div><b>Pt</b></div>\r\n <div>Platinum</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"79\")}>\r\n <div>79</div>\r\n <div><b>Au</b></div>\r\n <div>Gold</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"80\")}>\r\n <div>80</div>\r\n <div><b>Hg</b></div>\r\n <div>Mercury</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"81\")}>\r\n <div>81</div>\r\n <div><b>Tl</b></div>\r\n <div>Thallium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"82\")}>\r\n <div>82</div>\r\n <div><b>Pb</b></div>\r\n <div>Lead</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"83\")}>\r\n <div>83</div>\r\n <div><b>Bi</b></div>\r\n <div>Bismuth</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"84\")}>\r\n <div>84</div>\r\n <div><b>Po</b></div>\r\n <div>Polonium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"85\")}>\r\n <div>85</div>\r\n <div><b>At</b></div>\r\n <div>Astatine</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"86\")}>\r\n <div>86</div>\r\n <div><b>Rn</b></div>\r\n <div>Radon</div>\r\n </button>\r\n </td>\r\n\r\n </tr>\r\n <tr className=\"each-row\">\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"87\")}>\r\n <div>87</div>\r\n <div><b>Fr</b></div>\r\n <div>Francium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"88\")}>\r\n <div>88</div>\r\n <div><b>Ra</b></div>\r\n <div>Radium</div>\r\n </button>\r\n </td>\r\n\r\n <td></td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"104\")}>\r\n <div>104</div>\r\n <div><b>Rf</b></div>\r\n <div>Rutherfordium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"105\")}>\r\n <div>105</div>\r\n <div><b>Db</b></div>\r\n <div>Dubnium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"106\")}>\r\n <div>106</div>\r\n <div><b>Sg</b></div>\r\n <div>Seaborgium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"107\")}>\r\n <div>107</div>\r\n <div><b>Bh</b></div>\r\n <div>Bohrium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"108\")}>\r\n <div>108</div>\r\n <div><b>Hs</b></div>\r\n <div>Hassium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"109\")}>\r\n <div>109</div>\r\n <div><b>Mt</b></div>\r\n <div>Meitnerium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"110\")}>\r\n <div>110</div>\r\n <div><b>Ds</b></div>\r\n <div>Darmstadium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"111\")}>\r\n <div>111</div>\r\n <div><b>Rg</b></div>\r\n <div>Roentgenium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"112\")}>\r\n <div>112</div>\r\n <div><b>Cn</b></div>\r\n <div>Copernicium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"113\")}>\r\n <div>113</div>\r\n <div><b>Nh</b></div>\r\n <div>Nihonium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"114\")}>\r\n <div>114</div>\r\n <div><b>Fl</b></div>\r\n <div>Flerovium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"115\")}>\r\n <div>115</div>\r\n <div><b>Mc</b></div>\r\n <div>Moscovium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"116\")}>\r\n <div>116</div>\r\n <div><b>Lv</b></div>\r\n <div>Liverovium</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"117\")}>\r\n <div>117</div>\r\n <div><b>Ts</b></div>\r\n <div>Tennessine</div>\r\n </button>\r\n </td>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"118\")}>\r\n <div>118</div>\r\n <div><b>Og</b></div>\r\n <div>Oganesson</div>\r\n </button>\r\n </td>\r\n\r\n </tr>\r\n </table>\r\n\r\n <table className=\"table2\">\r\n <tr>\r\n <td>\r\n <button onClick={()=>getSearch(\"57\")}>\r\n <div>57</div>\r\n <div><b>La</b></div>\r\n <div>Lanthanum</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"58\")}>\r\n <div>58</div>\r\n <div><b>Ce</b></div>\r\n <div>Cerium</div>\r\n </button>\r\n </td>\r\n <td>\r\n\r\n <button onClick={()=>getSearch(\"59\")}>\r\n <div>59</div>\r\n <div><b>Pr</b></div>\r\n <div>Praseodymium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"60\")}>\r\n <div>60</div>\r\n <div><b>Nd</b></div>\r\n <div>Neodymium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"61\")}>\r\n <div>61</div>\r\n <div><b>Pm</b></div>\r\n <div>Promethium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"62\")}>\r\n <div>62</div>\r\n <div><b>Sm</b></div>\r\n <div>Samarium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"63\")}>\r\n <div>63</div>\r\n <div><b>Eu</b></div>\r\n <div>Europium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"64\")}>\r\n <div>64</div>\r\n <div><b>Gd</b></div>\r\n <div>Gadolium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"65\")}>\r\n <div>65</div>\r\n <div><b>Tb</b></div>\r\n <div>Terbium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"66\")}>\r\n <div>66</div>\r\n <div><b>Dy</b></div>\r\n <div>Dysposium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"67\")}>\r\n <div>67</div>\r\n <div><b>Ho</b></div>\r\n <div>Holmium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"68\")}>\r\n <div>68</div>\r\n <div><b>Er</b></div>\r\n <div>Erbium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"69\")}>\r\n <div>69</div>\r\n <div><b>Tm</b></div>\r\n <div>Thulium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"70\")}>\r\n <div>70</div>\r\n <div><b>Yb</b></div>\r\n <div>Ytterbium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"71\")}>\r\n <div>71</div>\r\n <div><b>Lu</b></div>\r\n <div>Lutetium</div>\r\n </button>\r\n </td>\r\n </tr>\r\n\r\n\r\n <tr>\r\n\r\n <td>\r\n <button onClick={()=>getSearch(\"89\")}>\r\n <div>89</div>\r\n <div><b>Ac</b></div>\r\n <div>Actinium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"90\")}>\r\n <div>90</div>\r\n <div><b>Th</b></div>\r\n <div>Thorium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"91\")}>\r\n <div>91</div>\r\n <div><b>Pa</b></div>\r\n <div>Protactinium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"92\")}>\r\n <div>92</div>\r\n <div><b>U</b></div>\r\n <div>Uranium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"93\")}>\r\n <div>93</div>\r\n <div><b>Np</b></div>\r\n <div>Neptunium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"94\")}>\r\n <div>94</div>\r\n <div><b>Pu</b></div>\r\n <div>Plutonium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"95\")}>\r\n <div>95</div>\r\n <div><b>Am</b></div>\r\n <div>Americium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"96\")}>\r\n <div>96</div>\r\n <div><b>Cm</b></div>\r\n <div>Curium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"97\")}>\r\n <div>97</div>\r\n <div><b>Bk</b></div>\r\n <div>Berkelium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"98\")}>\r\n <div>98</div>\r\n <div><b>Cf</b></div>\r\n <div>Californium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"99\")}>\r\n <div>99</div>\r\n <div><b>Es</b></div>\r\n <div>Einstenium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"100\")}>\r\n <div>100</div>\r\n <div><b>Fm</b></div>\r\n <div>Fermium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"101\")}>\r\n <div>101</div>\r\n <div><b>Md</b></div>\r\n <div>Mendelevium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"102\")}>\r\n <div>102</div>\r\n <div><b>No</b></div>\r\n <div>Nobelium</div>\r\n </button>\r\n </td>\r\n <td>\r\n <button onClick={()=>getSearch(\"103\")}>\r\n <div>103</div>\r\n <div><b>Lr</b></div>\r\n <div>Lawrencium</div>\r\n </button>\r\n </td>\r\n\r\n </tr>\r\n </table>\r\n </div>\r\n\r\n <div className=\"trend-heading\"><b>Trends in Periodic Table</b></div>\r\n <img className=\"trend\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Periodic_trends.svg/1920px-Periodic_trends.svg.png\"></img>\r\n </div>\r\n )\r\n \r\n}","F:\\chemistry-website\\frontend\\src\\components\\class12.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\sidebar2.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\chapter12.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\syllabus12.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\contact.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\footer.jsx",["132"],"import './css/footer.css'\r\nimport React,{useEffect} from 'react'\r\nimport {Link} from 'react-router-dom'\r\nexport default function Footer ()\r\n{\r\n\r\n return(\r\n <div className=\"foot\">\r\n <footer>\r\n <div className=\"footer\" id=\"footer\">\r\n <div className=\"container-a\">\r\n <div className=\"row\">\r\n <div className=\"col-lg-6 col-md-6 col-sm-6 col-xs-6\">\r\n <h4> Learn Chemistry </h4>\r\n <p><b className=\"b\">Hello visitors !!! </b>\r\nThis Website is about preparing students for 11<sup>th</sup> class and board exam of class 12<sup>th</sup> .\r\nHere we will cover all the topics , important questions and numericals which are frequently asked in exams. \r\nHope our teaching will be helpful to you all to secure good marks. <div className=\"ab\" > \r\nALL THE BEST..!!!</div></p>\r\n </div>\r\n <div className=\"col-lg-3 col-sm-2 col-xs-3\">\r\n <h3> Contact </h3>\r\n <ul>\r\n \r\n <br/>\r\n <li> <p> [email protected]</p> </li>\r\n <li> <p> [email protected] </p> </li>\r\n </ul>\r\n </div>\r\n <div className=\"col-lg-3 col-sm-2 col-xs-3\">\r\n <ul>\r\n <li> <h5><Link to=\"/contact\" style={{marginTop:\"2em\"}}> CONTACT US</Link> </h5></li>\r\n <li> <h5><a href=\"/periodic-table\"> PERIODIC TABLE </a> </h5></li>\r\n <li> <h5><Link to=\"/class11\"> CLASS 11 </Link> </h5></li>\r\n <li> <h5><Link to=\"/class12\"> CLASS 12 </Link> </h5></li>\r\n </ul>\r\n </div>\r\n \r\n </div>\r\n </div>\r\n\r\n \r\n <div class=\"footer-bottom\">\r\n <div class=\"container-a\">\r\n <p className=\"pull-left copyright\"> Copyright © Anshika Jain & Harshit Kharbanda </p>\r\n <p className=\"pull-left copyright\"> National Institute of Technology , Kurukshetra</p>\r\n </div>\r\n </div>\r\n </div>\r\n</footer>\r\n </div>\r\n )\r\n}","F:\\chemistry-website\\frontend\\src\\components\\check.jsx",[],"F:\\chemistry-website\\frontend\\src\\components\\blog.js",["133"],"import React,{useEffect,useState} from \"react\"\r\nimport {Link} from 'react-router-dom'\r\n//import \"./css/blogs.css\"\r\nimport Card from \"react-bootstrap/Card\"\r\nimport axios from 'axios'\r\nimport Button from \"react-bootstrap/Button\"\r\nimport Container from \"react-bootstrap/Container\"\r\n//import Col from \"react-bootstrap/Col\"\r\nimport relativeTime from \"dayjs/plugin/relativeTime\"\r\nimport dayjs from 'dayjs'\r\nimport Row from \"react-bootstrap/Row\"\r\n//import config from '../config.json'\r\nfunction Blogs(props){\r\n const[blogs,setBlogs]=useState();\r\n \r\n useEffect(()=>{\r\n const dataFetch=async()=>{\r\n try{\r\n \r\n const res=await axios.get(`https://chemblog-anshika.herokuapp.com/blog`)\r\n console.log(res.data);\r\n if(res.data)\r\n {\r\n setBlogs(res.data.slice(0,props.count)) \r\n }\r\n }\r\n catch(error){\r\n console.log(error)\r\n }\r\n \r\n }\r\n dataFetch();\r\n },[])\r\n dayjs.extend(relativeTime);\r\n\r\n return(\r\n <> \r\n <Container>\r\n <Row >\r\n\r\n {blogs ? (\r\n <div className=\"mapping\"> \r\n {blogs.map((blog) => (\r\n <>\r\n <Card className=\"text-center Card\">\r\n <Card.Header>{blog.title}</Card.Header>\r\n <Card.Body>\r\n <Card.Text>\r\n <b>By: {blog.author}</b><br></br>\r\n { blog.desc.substring(0,250)+\"...\"}\r\n </Card.Text>\r\n <Link to={{pathname:\"/blog/\"+blog._id}}><Button variant=\"primary\" >Read more</Button></Link> \r\n </Card.Body>\r\n \r\n <Card.Footer className=\"text-muted\">Last updated {dayjs(`${blog.updatedAt}`).fromNow()}</Card.Footer>\r\n \r\n </Card>\r\n </>\r\n ))\r\n\r\n }\r\n </div>\r\n ) : (\r\n <><div className=\"container loader\">\r\n <span>L</span>\r\n <span>O</span>\r\n <span>A</span>\r\n <span>D</span>\r\n <span>I</span>\r\n <span>N</span>\r\n <span>G</span>\r\n </div></>\r\n )\r\n }\r\n </Row>\r\n </Container> \r\n </>\r\n \r\n )\r\n}\r\nexport default Blogs;","F:\\chemistry-website\\frontend\\src\\components\\login.js",[],"F:\\chemistry-website\\frontend\\src\\components\\register.js",[],"F:\\chemistry-website\\frontend\\src\\components\\quiz.js",[],"F:\\chemistry-website\\frontend\\src\\components\\quiz-data.js",[],"F:\\chemistry-website\\frontend\\src\\components\\QuizLayout.js",[],"F:\\chemistry-website\\frontend\\src\\components\\profile.js",["134","135"],"import React,{Component} from 'react';\r\nimport {Line,Doughnut} from 'react-chartjs-2';\r\nimport './css/profile.css'\r\n\r\nexport default class Profile extends Component {\r\n state = {\r\n labels: [],\r\n datasets: [\r\n {\r\n label: 'Score',\r\n fill: true,\r\n backgroundColor:['rgba(75,192,192,1)',\t'rgb(0, 255, 128)','rgb(191, 0, 255)','rgb(255, 0, 255)','rgb(161, 195, 227)','rgb(191, 255, 0)','aqua','lawngreen'],\r\n borderColor: 'rgba(0,0,0,1)',\r\n borderWidth: 2,\r\n data: []\r\n }\r\n ]\r\n }\r\n \r\n componentDidMount()\r\n {\r\n if(this.props.passed.marks)\r\n {\r\n let arr=[]\r\n let y=[]\r\n let x=this.props.passed.marks\r\n //console.log(x.length)\r\n for(let i=0;i<x.length;i++)\r\n {\r\n arr.push(\"quiz \" +x[i].quizNumber)\r\n y.push(x[i].score)\r\n }\r\n //this.setState({labels:arr})\r\n this.state.datasets[0].data=y\r\n this.setState({labels:arr,datasets:this.state.datasets},()=>{\r\n \r\n })\r\n console.log(this.state.datasets)\r\n }\r\n \r\n }\r\n\r\n componentDidUpdate(prevProps)\r\n {\r\n if(this.props.passed.marks!==prevProps.passed.marks)\r\n {\r\n let arr=[]\r\n let y=[]\r\n let x=this.props.passed.marks\r\n //console.log(x.length)\r\n for(let i=0;i<x.length;i++)\r\n {\r\n arr.push(\"quiz \" +x[i].quizNumber)\r\n y.push(x[i].score)\r\n }\r\n //this.setState({labels:arr})\r\n this.state.datasets[0].data=y\r\n this.setState({labels:arr,datasets:this.state.datasets},()=>{\r\n \r\n })\r\n console.log(this.state.datasets)\r\n }\r\n \r\n // console.log(this.props)\r\n }\r\n \r\n \r\n render() {\r\n console.log(this.state)\r\n return (\r\n <div >\r\n {this.props.passed.isAuthenticated\r\n ?\r\n <div>\r\n <div>\r\n <div className=\"profile-header\">\r\n <div className=\"profile-logo\">{this.props.passed.name.substring(0,1)}</div>\r\n <div className=\"profile-name\">{this.props.passed.name}</div>\r\n </div>\r\n <div className=\"profile-main-outer\">\r\n <div style={{width:\"30vw\"}}>\r\n <Doughnut data={this.state} />\r\n </div>\r\n <div className=\"profile-main\">\r\n <span className=\"profile-heading\">Name:</span ><span className=\"profile-value\">{this.props.passed.name}</span>\r\n <span className=\"profile-heading\">Email:</span ><span className=\"profile-value\">{this.props.passed.email}</span>\r\n <span className=\"profile-heading\">Date Of Birth:</span ><span className=\"profile-value\">____________</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div style={{fontSize:\"40px\", fontWeight:\"600\",fontFamily:\"fantasy\",letterSpacing:\"2px\"}}>Your Progress</div>\r\n <div className=\"graph\">\r\n <Line\r\n data={this.state}\r\n options={{\r\n scales:{\r\n y:\r\n {\r\n beginAtZero:true,\r\n min:0\r\n }\r\n }\r\n }}\r\n />\r\n </div>\r\n <div>\r\n </div>\r\n </div>\r\n :\r\n <div>Loading</div>\r\n }\r\n </div>\r\n );\r\n }\r\n}",{"ruleId":"136","replacedBy":"137"},{"ruleId":"138","replacedBy":"139"},{"ruleId":"140","severity":1,"message":"141","line":3,"column":36,"nodeType":"142","messageId":"143","endLine":3,"endColumn":44},{"ruleId":"140","severity":1,"message":"141","line":8,"column":15,"nodeType":"142","messageId":"143","endLine":8,"endColumn":23},{"ruleId":"144","severity":1,"message":"145","line":36,"column":61,"nodeType":"146","endLine":36,"endColumn":95},{"ruleId":"140","severity":1,"message":"147","line":4,"column":8,"nodeType":"142","messageId":"143","endLine":4,"endColumn":14},{"ruleId":"144","severity":1,"message":"145","line":1009,"column":5,"nodeType":"146","endLine":1009,"endColumn":143},{"ruleId":"140","severity":1,"message":"148","line":2,"column":15,"nodeType":"142","messageId":"143","endLine":2,"endColumn":24},{"ruleId":"149","severity":1,"message":"150","line":33,"column":7,"nodeType":"151","endLine":33,"endColumn":9,"suggestions":"152"},{"ruleId":"153","severity":1,"message":"154","line":34,"column":11,"nodeType":"155","endLine":34,"endColumn":33},{"ruleId":"153","severity":1,"message":"154","line":57,"column":11,"nodeType":"155","endLine":57,"endColumn":33},"no-native-reassign",["156"],"no-negated-in-lhs",["157"],"no-unused-vars","'Redirect' is defined but never used.","Identifier","unusedVar","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","'Footer' is defined but never used.","'useEffect' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'props.count'. Either include it or remove the dependency array. If 'setBlogs' needs the current value of 'props.count', you can also switch to useReducer instead of useState and read 'props.count' in the reducer.","ArrayExpression",["158"],"react/no-direct-mutation-state","Do not mutate state directly. Use setState().","MemberExpression","no-global-assign","no-unsafe-negation",{"desc":"159","fix":"160"},"Update the dependencies array to be: [props.count]",{"range":"161","text":"162"},[1029,1031],"[props.count]"]