How to use NumberOf method in Playwright Internal

Best JavaScript code snippet using playwright-internal

App.js

Source:App.js Github

copy

Full Screen

1import React, { Component } from 'react'2import './App.scss'3export default class App extends Component {4 constructor(props){5 super(props)6 this.state= {7 data: [8 {9 "AtomicNumber": 1,10 "Element": "Hydrogen",11 "Symbol": "H",12 "AtomicMass": 1.007,13 "NumberofNeutrons": 0,14 "NumberofProtons": 1,15 "NumberofElectrons": 1,16 "Period": 1,17 "Group": 1,18 "Phase": "gas",19 "Radioactive": "",20 "Natural": "yes",21 "Metal": "",22 "Nonmetal": "yes",23 "Metalloid": "",24 "Type": "Nonmetal",25 "AtomicRadius": 0.79,26 "Electronegativity": 2.2,27 "FirstIonization": 13.5984,28 "Density": 0.0000899,29 "MeltingPoint": 14.175,30 "BoilingPoint": 20.28,31 "NumberOfIsotopes": 3,32 "Discoverer": "Cavendish",33 "Year": 1766,34 "SpecificHeat": 14.304,35 "NumberofShells": 1,36 "NumberofValence": 137 },38 {39 "AtomicNumber": 2,40 "Element": "Helium",41 "Symbol": "He",42 "AtomicMass": 4.002,43 "NumberofNeutrons": 2,44 "NumberofProtons": 2,45 "NumberofElectrons": 2,46 "Period": 1,47 "Group": 18,48 "Phase": "gas",49 "Radioactive": "",50 "Natural": "yes",51 "Metal": "",52 "Nonmetal": "yes",53 "Metalloid": "",54 "Type": "Noble Gas",55 "AtomicRadius": 0.49,56 "Electronegativity": "",57 "FirstIonization": 24.5874,58 "Density": 0.000179,59 "MeltingPoint": "",60 "BoilingPoint": 4.22,61 "NumberOfIsotopes": 5,62 "Discoverer": "Janssen",63 "Year": 1868,64 "SpecificHeat": 5.193,65 "NumberofShells": 1,66 "NumberofValence": ""67 },68 {69 "AtomicNumber": 3,70 "Element": "Lithium",71 "Symbol": "Li",72 "AtomicMass": 6.941,73 "NumberofNeutrons": 4,74 "NumberofProtons": 3,75 "NumberofElectrons": 3,76 "Period": 2,77 "Group": 1,78 "Phase": "solid",79 "Radioactive": "",80 "Natural": "yes",81 "Metal": "yes",82 "Nonmetal": "",83 "Metalloid": "",84 "Type": "Alkali Metal",85 "AtomicRadius": 2.1,86 "Electronegativity": 0.98,87 "FirstIonization": 5.3917,88 "Density": 0.534,89 "MeltingPoint": 453.85,90 "BoilingPoint": 1615,91 "NumberOfIsotopes": 5,92 "Discoverer": "Arfvedson",93 "Year": 1817,94 "SpecificHeat": 3.582,95 "NumberofShells": 2,96 "NumberofValence": 197 },98 {99 "AtomicNumber": 4,100 "Element": "Beryllium",101 "Symbol": "Be",102 "AtomicMass": 9.012,103 "NumberofNeutrons": 5,104 "NumberofProtons": 4,105 "NumberofElectrons": 4,106 "Period": 2,107 "Group": 2,108 "Phase": "solid",109 "Radioactive": "",110 "Natural": "yes",111 "Metal": "yes",112 "Nonmetal": "",113 "Metalloid": "",114 "Type": "Alkaline Earth Metal",115 "AtomicRadius": 1.4,116 "Electronegativity": 1.57,117 "FirstIonization": 9.3227,118 "Density": 1.85,119 "MeltingPoint": 1560.15,120 "BoilingPoint": 2742,121 "NumberOfIsotopes": 6,122 "Discoverer": "Vaulquelin",123 "Year": 1798,124 "SpecificHeat": 1.825,125 "NumberofShells": 2,126 "NumberofValence": 2127 },128 {129 "AtomicNumber": 5,130 "Element": "Boron",131 "Symbol": "B",132 "AtomicMass": 10.811,133 "NumberofNeutrons": 6,134 "NumberofProtons": 5,135 "NumberofElectrons": 5,136 "Period": 2,137 "Group": 13,138 "Phase": "solid",139 "Radioactive": "",140 "Natural": "yes",141 "Metal": "",142 "Nonmetal": "",143 "Metalloid": "yes",144 "Type": "Metalloid",145 "AtomicRadius": 1.2,146 "Electronegativity": 2.04,147 "FirstIonization": 8.298,148 "Density": 2.34,149 "MeltingPoint": 2573.15,150 "BoilingPoint": 4200,151 "NumberOfIsotopes": 6,152 "Discoverer": "Gay-Lussac",153 "Year": 1808,154 "SpecificHeat": 1.026,155 "NumberofShells": 2,156 "NumberofValence": 3157 },158 {159 "AtomicNumber": 6,160 "Element": "Carbon",161 "Symbol": "C",162 "AtomicMass": 12.011,163 "NumberofNeutrons": 6,164 "NumberofProtons": 6,165 "NumberofElectrons": 6,166 "Period": 2,167 "Group": 14,168 "Phase": "solid",169 "Radioactive": "",170 "Natural": "yes",171 "Metal": "",172 "Nonmetal": "yes",173 "Metalloid": "",174 "Type": "Nonmetal",175 "AtomicRadius": 0.91,176 "Electronegativity": 2.55,177 "FirstIonization": 11.2603,178 "Density": 2.27,179 "MeltingPoint": 3948.15,180 "BoilingPoint": 4300,181 "NumberOfIsotopes": 7,182 "Discoverer": "Prehistoric",183 "Year": "",184 "SpecificHeat": 0.709,185 "NumberofShells": 2,186 "NumberofValence": 4187 },188 {189 "AtomicNumber": 7,190 "Element": "Nitrogen",191 "Symbol": "N",192 "AtomicMass": 14.007,193 "NumberofNeutrons": 7,194 "NumberofProtons": 7,195 "NumberofElectrons": 7,196 "Period": 2,197 "Group": 15,198 "Phase": "gas",199 "Radioactive": "",200 "Natural": "yes",201 "Metal": "",202 "Nonmetal": "yes",203 "Metalloid": "",204 "Type": "Nonmetal",205 "AtomicRadius": 0.75,206 "Electronegativity": 3.04,207 "FirstIonization": 14.5341,208 "Density": 0.00125,209 "MeltingPoint": 63.29,210 "BoilingPoint": 77.36,211 "NumberOfIsotopes": 8,212 "Discoverer": "Rutherford",213 "Year": 1772,214 "SpecificHeat": 1.04,215 "NumberofShells": 2,216 "NumberofValence": 5217 },218 {219 "AtomicNumber": 8,220 "Element": "Oxygen",221 "Symbol": "O",222 "AtomicMass": 15.999,223 "NumberofNeutrons": 8,224 "NumberofProtons": 8,225 "NumberofElectrons": 8,226 "Period": 2,227 "Group": 16,228 "Phase": "gas",229 "Radioactive": "",230 "Natural": "yes",231 "Metal": "",232 "Nonmetal": "yes",233 "Metalloid": "",234 "Type": "Nonmetal",235 "AtomicRadius": 0.65,236 "Electronegativity": 3.44,237 "FirstIonization": 13.6181,238 "Density": 0.00143,239 "MeltingPoint": 50.5,240 "BoilingPoint": 90.2,241 "NumberOfIsotopes": 8,242 "Discoverer": "Priestley/Scheele",243 "Year": 1774,244 "SpecificHeat": 0.918,245 "NumberofShells": 2,246 "NumberofValence": 6247 },248 {249 "AtomicNumber": 9,250 "Element": "Fluorine",251 "Symbol": "F",252 "AtomicMass": 18.998,253 "NumberofNeutrons": 10,254 "NumberofProtons": 9,255 "NumberofElectrons": 9,256 "Period": 2,257 "Group": 17,258 "Phase": "gas",259 "Radioactive": "",260 "Natural": "yes",261 "Metal": "",262 "Nonmetal": "yes",263 "Metalloid": "",264 "Type": "Halogen",265 "AtomicRadius": 0.57,266 "Electronegativity": 3.98,267 "FirstIonization": 17.4228,268 "Density": 0.0017,269 "MeltingPoint": 53.63,270 "BoilingPoint": 85.03,271 "NumberOfIsotopes": 6,272 "Discoverer": "Moissan",273 "Year": 1886,274 "SpecificHeat": 0.824,275 "NumberofShells": 2,276 "NumberofValence": 7277 },278 {279 "AtomicNumber": 10,280 "Element": "Neon",281 "Symbol": "Ne",282 "AtomicMass": 20.18,283 "NumberofNeutrons": 10,284 "NumberofProtons": 10,285 "NumberofElectrons": 10,286 "Period": 2,287 "Group": 18,288 "Phase": "gas",289 "Radioactive": "",290 "Natural": "yes",291 "Metal": "",292 "Nonmetal": "yes",293 "Metalloid": "",294 "Type": "Noble Gas",295 "AtomicRadius": 0.51,296 "Electronegativity": "",297 "FirstIonization": 21.5645,298 "Density": 0.0009,299 "MeltingPoint": 24.703,300 "BoilingPoint": 27.07,301 "NumberOfIsotopes": 8,302 "Discoverer": "Ramsay and Travers",303 "Year": 1898,304 "SpecificHeat": 1.03,305 "NumberofShells": 2,306 "NumberofValence": 8307 },308 {309 "AtomicNumber": 11,310 "Element": "Sodium",311 "Symbol": "Na",312 "AtomicMass": 22.99,313 "NumberofNeutrons": 12,314 "NumberofProtons": 11,315 "NumberofElectrons": 11,316 "Period": 3,317 "Group": 1,318 "Phase": "solid",319 "Radioactive": "",320 "Natural": "yes",321 "Metal": "yes",322 "Nonmetal": "",323 "Metalloid": "",324 "Type": "Alkali Metal",325 "AtomicRadius": 2.2,326 "Electronegativity": 0.93,327 "FirstIonization": 5.1391,328 "Density": 0.971,329 "MeltingPoint": 371.15,330 "BoilingPoint": 1156,331 "NumberOfIsotopes": 7,332 "Discoverer": "Davy",333 "Year": 1807,334 "SpecificHeat": 1.228,335 "NumberofShells": 3,336 "NumberofValence": 1337 },338 {339 "AtomicNumber": 12,340 "Element": "Magnesium",341 "Symbol": "Mg",342 "AtomicMass": 24.305,343 "NumberofNeutrons": 12,344 "NumberofProtons": 12,345 "NumberofElectrons": 12,346 "Period": 3,347 "Group": 2,348 "Phase": "solid",349 "Radioactive": "",350 "Natural": "yes",351 "Metal": "yes",352 "Nonmetal": "",353 "Metalloid": "",354 "Type": "Alkaline Earth Metal",355 "AtomicRadius": 1.7,356 "Electronegativity": 1.31,357 "FirstIonization": 7.6462,358 "Density": 1.74,359 "MeltingPoint": 923.15,360 "BoilingPoint": 1363,361 "NumberOfIsotopes": 8,362 "Discoverer": "Black",363 "Year": 1755,364 "SpecificHeat": 1.023,365 "NumberofShells": 3,366 "NumberofValence": 2367 },368 {369 "AtomicNumber": 13,370 "Element": "Aluminum",371 "Symbol": "Al",372 "AtomicMass": 26.982,373 "NumberofNeutrons": 14,374 "NumberofProtons": 13,375 "NumberofElectrons": 13,376 "Period": 3,377 "Group": 13,378 "Phase": "solid",379 "Radioactive": "",380 "Natural": "yes",381 "Metal": "yes",382 "Nonmetal": "",383 "Metalloid": "",384 "Type": "Metal",385 "AtomicRadius": 1.8,386 "Electronegativity": 1.61,387 "FirstIonization": 5.9858,388 "Density": 2.7,389 "MeltingPoint": 933.4,390 "BoilingPoint": 2792,391 "NumberOfIsotopes": 8,392 "Discoverer": "Wshler",393 "Year": 1827,394 "SpecificHeat": 0.897,395 "NumberofShells": 3,396 "NumberofValence": 3397 },398 {399 "AtomicNumber": 14,400 "Element": "Silicon",401 "Symbol": "Si",402 "AtomicMass": 28.086,403 "NumberofNeutrons": 14,404 "NumberofProtons": 14,405 "NumberofElectrons": 14,406 "Period": 3,407 "Group": 14,408 "Phase": "solid",409 "Radioactive": "",410 "Natural": "yes",411 "Metal": "",412 "Nonmetal": "",413 "Metalloid": "yes",414 "Type": "Metalloid",415 "AtomicRadius": 1.5,416 "Electronegativity": 1.9,417 "FirstIonization": 8.1517,418 "Density": 2.33,419 "MeltingPoint": 1683.15,420 "BoilingPoint": 3538,421 "NumberOfIsotopes": 8,422 "Discoverer": "Berzelius",423 "Year": 1824,424 "SpecificHeat": 0.705,425 "NumberofShells": 3,426 "NumberofValence": 4427 },428 {429 "AtomicNumber": 15,430 "Element": "Phosphorus",431 "Symbol": "P",432 "AtomicMass": 30.974,433 "NumberofNeutrons": 16,434 "NumberofProtons": 15,435 "NumberofElectrons": 15,436 "Period": 3,437 "Group": 15,438 "Phase": "solid",439 "Radioactive": "",440 "Natural": "yes",441 "Metal": "",442 "Nonmetal": "yes",443 "Metalloid": "",444 "Type": "Nonmetal",445 "AtomicRadius": 1.2,446 "Electronegativity": 2.19,447 "FirstIonization": 10.4867,448 "Density": 1.82,449 "MeltingPoint": 317.25,450 "BoilingPoint": 553,451 "NumberOfIsotopes": 7,452 "Discoverer": "BranBrand",453 "Year": 1669,454 "SpecificHeat": 0.769,455 "NumberofShells": 3,456 "NumberofValence": 5457 },458 {459 "AtomicNumber": 16,460 "Element": "Sulfur",461 "Symbol": "S",462 "AtomicMass": 32.065,463 "NumberofNeutrons": 16,464 "NumberofProtons": 16,465 "NumberofElectrons": 16,466 "Period": 3,467 "Group": 16,468 "Phase": "solid",469 "Radioactive": "",470 "Natural": "yes",471 "Metal": "",472 "Nonmetal": "yes",473 "Metalloid": "",474 "Type": "Nonmetal",475 "AtomicRadius": 1.1,476 "Electronegativity": 2.58,477 "FirstIonization": 10.36,478 "Density": 2.07,479 "MeltingPoint": 388.51,480 "BoilingPoint": 717.8,481 "NumberOfIsotopes": 10,482 "Discoverer": "Prehistoric",483 "Year": "",484 "SpecificHeat": 0.71,485 "NumberofShells": 3,486 "NumberofValence": 6487 },488 {489 "AtomicNumber": 17,490 "Element": "Chlorine",491 "Symbol": "Cl",492 "AtomicMass": 35.453,493 "NumberofNeutrons": 18,494 "NumberofProtons": 17,495 "NumberofElectrons": 17,496 "Period": 3,497 "Group": 17,498 "Phase": "gas",499 "Radioactive": "",500 "Natural": "yes",501 "Metal": "",502 "Nonmetal": "yes",503 "Metalloid": "",504 "Type": "Halogen",505 "AtomicRadius": 0.97,506 "Electronegativity": 3.16,507 "FirstIonization": 12.9676,508 "Density": 0.00321,509 "MeltingPoint": 172.31,510 "BoilingPoint": 239.11,511 "NumberOfIsotopes": 11,512 "Discoverer": "Scheele",513 "Year": 1774,514 "SpecificHeat": 0.479,515 "NumberofShells": 3,516 "NumberofValence": 7517 },518 {519 "AtomicNumber": 18,520 "Element": "Argon",521 "Symbol": "Ar",522 "AtomicMass": 39.948,523 "NumberofNeutrons": 22,524 "NumberofProtons": 18,525 "NumberofElectrons": 18,526 "Period": 3,527 "Group": 18,528 "Phase": "gas",529 "Radioactive": "",530 "Natural": "yes",531 "Metal": "",532 "Nonmetal": "yes",533 "Metalloid": "",534 "Type": "Noble Gas",535 "AtomicRadius": 0.88,536 "Electronegativity": "",537 "FirstIonization": 15.7596,538 "Density": 0.00178,539 "MeltingPoint": 83.96,540 "BoilingPoint": 87.3,541 "NumberOfIsotopes": 8,542 "Discoverer": "Rayleigh and Ramsay",543 "Year": 1894,544 "SpecificHeat": 0.52,545 "NumberofShells": 3,546 "NumberofValence": 8547 },548 {549 "AtomicNumber": 19,550 "Element": "Potassium",551 "Symbol": "K",552 "AtomicMass": 39.098,553 "NumberofNeutrons": 20,554 "NumberofProtons": 19,555 "NumberofElectrons": 19,556 "Period": 4,557 "Group": 1,558 "Phase": "solid",559 "Radioactive": "",560 "Natural": "yes",561 "Metal": "yes",562 "Nonmetal": "",563 "Metalloid": "",564 "Type": "Alkali Metal",565 "AtomicRadius": 2.8,566 "Electronegativity": 0.82,567 "FirstIonization": 4.3407,568 "Density": 0.862,569 "MeltingPoint": 336.5,570 "BoilingPoint": 1032,571 "NumberOfIsotopes": 10,572 "Discoverer": "Davy",573 "Year": 1807,574 "SpecificHeat": 0.757,575 "NumberofShells": 4,576 "NumberofValence": 1577 },578 {579 "AtomicNumber": 20,580 "Element": "Calcium",581 "Symbol": "Ca",582 "AtomicMass": 40.078,583 "NumberofNeutrons": 20,584 "NumberofProtons": 20,585 "NumberofElectrons": 20,586 "Period": 4,587 "Group": 2,588 "Phase": "solid",589 "Radioactive": "",590 "Natural": "yes",591 "Metal": "yes",592 "Nonmetal": "",593 "Metalloid": "",594 "Type": "Alkaline Earth Metal",595 "AtomicRadius": 2.2,596 "Electronegativity": 1,597 "FirstIonization": 6.1132,598 "Density": 1.54,599 "MeltingPoint": 1112.15,600 "BoilingPoint": 1757,601 "NumberOfIsotopes": 14,602 "Discoverer": "Davy",603 "Year": 1808,604 "SpecificHeat": 0.647,605 "NumberofShells": 4,606 "NumberofValence": 2607 },608 {609 "AtomicNumber": 21,610 "Element": "Scandium",611 "Symbol": "Sc",612 "AtomicMass": 44.956,613 "NumberofNeutrons": 24,614 "NumberofProtons": 21,615 "NumberofElectrons": 21,616 "Period": 4,617 "Group": 3,618 "Phase": "solid",619 "Radioactive": "",620 "Natural": "yes",621 "Metal": "yes",622 "Nonmetal": "",623 "Metalloid": "",624 "Type": "Transition Metal",625 "AtomicRadius": 2.1,626 "Electronegativity": 1.36,627 "FirstIonization": 6.5615,628 "Density": 2.99,629 "MeltingPoint": 1812.15,630 "BoilingPoint": 3109,631 "NumberOfIsotopes": 15,632 "Discoverer": "Nilson",633 "Year": 1878,634 "SpecificHeat": 0.568,635 "NumberofShells": 4,636 "NumberofValence": ""637 },638 {639 "AtomicNumber": 22,640 "Element": "Titanium",641 "Symbol": "Ti",642 "AtomicMass": 47.867,643 "NumberofNeutrons": 26,644 "NumberofProtons": 22,645 "NumberofElectrons": 22,646 "Period": 4,647 "Group": 4,648 "Phase": "solid",649 "Radioactive": "",650 "Natural": "yes",651 "Metal": "yes",652 "Nonmetal": "",653 "Metalloid": "",654 "Type": "Transition Metal",655 "AtomicRadius": 2,656 "Electronegativity": 1.54,657 "FirstIonization": 6.8281,658 "Density": 4.54,659 "MeltingPoint": 1933.15,660 "BoilingPoint": 3560,661 "NumberOfIsotopes": 9,662 "Discoverer": "Gregor",663 "Year": 1791,664 "SpecificHeat": 0.523,665 "NumberofShells": 4,666 "NumberofValence": ""667 },668 {669 "AtomicNumber": 23,670 "Element": "Vanadium",671 "Symbol": "V",672 "AtomicMass": 50.942,673 "NumberofNeutrons": 28,674 "NumberofProtons": 23,675 "NumberofElectrons": 23,676 "Period": 4,677 "Group": 5,678 "Phase": "solid",679 "Radioactive": "",680 "Natural": "yes",681 "Metal": "yes",682 "Nonmetal": "",683 "Metalloid": "",684 "Type": "Transition Metal",685 "AtomicRadius": 1.9,686 "Electronegativity": 1.63,687 "FirstIonization": 6.7462,688 "Density": 6.11,689 "MeltingPoint": 2175.15,690 "BoilingPoint": 3680,691 "NumberOfIsotopes": 9,692 "Discoverer": "del Rio",693 "Year": 1801,694 "SpecificHeat": 0.489,695 "NumberofShells": 4,696 "NumberofValence": ""697 },698 {699 "AtomicNumber": 24,700 "Element": "Chromium",701 "Symbol": "Cr",702 "AtomicMass": 51.996,703 "NumberofNeutrons": 28,704 "NumberofProtons": 24,705 "NumberofElectrons": 24,706 "Period": 4,707 "Group": 6,708 "Phase": "solid",709 "Radioactive": "",710 "Natural": "yes",711 "Metal": "yes",712 "Nonmetal": "",713 "Metalloid": "",714 "Type": "Transition Metal",715 "AtomicRadius": 1.9,716 "Electronegativity": 1.66,717 "FirstIonization": 6.7665,718 "Density": 7.15,719 "MeltingPoint": 2130.15,720 "BoilingPoint": 2944,721 "NumberOfIsotopes": 9,722 "Discoverer": "Vauquelin",723 "Year": 1797,724 "SpecificHeat": 0.449,725 "NumberofShells": 4,726 "NumberofValence": ""727 },728 {729 "AtomicNumber": 25,730 "Element": "Manganese",731 "Symbol": "Mn",732 "AtomicMass": 54.938,733 "NumberofNeutrons": 30,734 "NumberofProtons": 25,735 "NumberofElectrons": 25,736 "Period": 4,737 "Group": 7,738 "Phase": "solid",739 "Radioactive": "",740 "Natural": "yes",741 "Metal": "yes",742 "Nonmetal": "",743 "Metalloid": "",744 "Type": "Transition Metal",745 "AtomicRadius": 1.8,746 "Electronegativity": 1.55,747 "FirstIonization": 7.434,748 "Density": 7.44,749 "MeltingPoint": 1519.15,750 "BoilingPoint": 2334,751 "NumberOfIsotopes": 11,752 "Discoverer": "Gahn, Scheele",753 "Year": 1774,754 "SpecificHeat": 0.479,755 "NumberofShells": 4,756 "NumberofValence": ""757 },758 {759 "AtomicNumber": 26,760 "Element": "Iron",761 "Symbol": "Fe",762 "AtomicMass": 55.845,763 "NumberofNeutrons": 30,764 "NumberofProtons": 26,765 "NumberofElectrons": 26,766 "Period": 4,767 "Group": 8,768 "Phase": "solid",769 "Radioactive": "",770 "Natural": "yes",771 "Metal": "yes",772 "Nonmetal": "",773 "Metalloid": "",774 "Type": "Transition Metal",775 "AtomicRadius": 1.7,776 "Electronegativity": 1.83,777 "FirstIonization": 7.9024,778 "Density": 7.87,779 "MeltingPoint": 1808.15,780 "BoilingPoint": 3134,781 "NumberOfIsotopes": 10,782 "Discoverer": "Prehistoric",783 "Year": "",784 "SpecificHeat": 0.449,785 "NumberofShells": 4,786 "NumberofValence": ""787 },788 {789 "AtomicNumber": 27,790 "Element": "Cobalt",791 "Symbol": "Co",792 "AtomicMass": 58.933,793 "NumberofNeutrons": 32,794 "NumberofProtons": 27,795 "NumberofElectrons": 27,796 "Period": 4,797 "Group": 9,798 "Phase": "solid",799 "Radioactive": "",800 "Natural": "yes",801 "Metal": "yes",802 "Nonmetal": "",803 "Metalloid": "",804 "Type": "Transition Metal",805 "AtomicRadius": 1.7,806 "Electronegativity": 1.88,807 "FirstIonization": 7.881,808 "Density": 8.86,809 "MeltingPoint": 1768.15,810 "BoilingPoint": 3200,811 "NumberOfIsotopes": 14,812 "Discoverer": "Brandt",813 "Year": 1735,814 "SpecificHeat": 0.421,815 "NumberofShells": 4,816 "NumberofValence": ""817 },818 {819 "AtomicNumber": 28,820 "Element": "Nickel",821 "Symbol": "Ni",822 "AtomicMass": 58.693,823 "NumberofNeutrons": 31,824 "NumberofProtons": 28,825 "NumberofElectrons": 28,826 "Period": 4,827 "Group": 10,828 "Phase": "solid",829 "Radioactive": "",830 "Natural": "yes",831 "Metal": "yes",832 "Nonmetal": "",833 "Metalloid": "",834 "Type": "Transition Metal",835 "AtomicRadius": 1.6,836 "Electronegativity": 1.91,837 "FirstIonization": 7.6398,838 "Density": 8.91,839 "MeltingPoint": 1726.15,840 "BoilingPoint": 3186,841 "NumberOfIsotopes": 11,842 "Discoverer": "Cronstedt",843 "Year": 1751,844 "SpecificHeat": 0.444,845 "NumberofShells": 4,846 "NumberofValence": ""847 },848 {849 "AtomicNumber": 29,850 "Element": "Copper",851 "Symbol": "Cu",852 "AtomicMass": 63.546,853 "NumberofNeutrons": 35,854 "NumberofProtons": 29,855 "NumberofElectrons": 29,856 "Period": 4,857 "Group": 11,858 "Phase": "solid",859 "Radioactive": "",860 "Natural": "yes",861 "Metal": "yes",862 "Nonmetal": "",863 "Metalloid": "",864 "Type": "Transition Metal",865 "AtomicRadius": 1.6,866 "Electronegativity": 1.9,867 "FirstIonization": 7.7264,868 "Density": 8.96,869 "MeltingPoint": 1357.75,870 "BoilingPoint": 2835,871 "NumberOfIsotopes": 11,872 "Discoverer": "Prehistoric",873 "Year": "",874 "SpecificHeat": 0.385,875 "NumberofShells": 4,876 "NumberofValence": ""877 },878 {879 "AtomicNumber": 30,880 "Element": "Zinc",881 "Symbol": "Zn",882 "AtomicMass": 65.38,883 "NumberofNeutrons": 35,884 "NumberofProtons": 30,885 "NumberofElectrons": 30,886 "Period": 4,887 "Group": 12,888 "Phase": "solid",889 "Radioactive": "",890 "Natural": "yes",891 "Metal": "yes",892 "Nonmetal": "",893 "Metalloid": "",894 "Type": "Transition Metal",895 "AtomicRadius": 1.5,896 "Electronegativity": 1.65,897 "FirstIonization": 9.3942,898 "Density": 7.13,899 "MeltingPoint": 692.88,900 "BoilingPoint": 1180,901 "NumberOfIsotopes": 15,902 "Discoverer": "Prehistoric",903 "Year": "",904 "SpecificHeat": 0.388,905 "NumberofShells": 4,906 "NumberofValence": ""907 },908 {909 "AtomicNumber": 31,910 "Element": "Gallium",911 "Symbol": "Ga",912 "AtomicMass": 69.723,913 "NumberofNeutrons": 39,914 "NumberofProtons": 31,915 "NumberofElectrons": 31,916 "Period": 4,917 "Group": 13,918 "Phase": "solid",919 "Radioactive": "",920 "Natural": "yes",921 "Metal": "yes",922 "Nonmetal": "",923 "Metalloid": "",924 "Type": "Metal",925 "AtomicRadius": 1.8,926 "Electronegativity": 1.81,927 "FirstIonization": 5.9993,928 "Density": 5.91,929 "MeltingPoint": 302.91,930 "BoilingPoint": 2477,931 "NumberOfIsotopes": 14,932 "Discoverer": "de Boisbaudran",933 "Year": 1875,934 "SpecificHeat": 0.371,935 "NumberofShells": 4,936 "NumberofValence": 3937 },938 {939 "AtomicNumber": 32,940 "Element": "Germanium",941 "Symbol": "Ge",942 "AtomicMass": 72.64,943 "NumberofNeutrons": 41,944 "NumberofProtons": 32,945 "NumberofElectrons": 32,946 "Period": 4,947 "Group": 14,948 "Phase": "solid",949 "Radioactive": "",950 "Natural": "yes",951 "Metal": "",952 "Nonmetal": "",953 "Metalloid": "yes",954 "Type": "Metalloid",955 "AtomicRadius": 1.5,956 "Electronegativity": 2.01,957 "FirstIonization": 7.8994,958 "Density": 5.32,959 "MeltingPoint": 1211.45,960 "BoilingPoint": 3106,961 "NumberOfIsotopes": 17,962 "Discoverer": "Winkler",963 "Year": 1886,964 "SpecificHeat": 0.32,965 "NumberofShells": 4,966 "NumberofValence": 4967 },968 {969 "AtomicNumber": 33,970 "Element": "Arsenic",971 "Symbol": "As",972 "AtomicMass": 74.922,973 "NumberofNeutrons": 42,974 "NumberofProtons": 33,975 "NumberofElectrons": 33,976 "Period": 4,977 "Group": 15,978 "Phase": "solid",979 "Radioactive": "",980 "Natural": "yes",981 "Metal": "",982 "Nonmetal": "",983 "Metalloid": "yes",984 "Type": "Metalloid",985 "AtomicRadius": 1.3,986 "Electronegativity": 2.18,987 "FirstIonization": 9.7886,988 "Density": 5.78,989 "MeltingPoint": 1090.15,990 "BoilingPoint": 887,991 "NumberOfIsotopes": 14,992 "Discoverer": "Albertus Magnus",993 "Year": 1250,994 "SpecificHeat": 0.329,995 "NumberofShells": 4,996 "NumberofValence": 5997 },998 {999 "AtomicNumber": 34,1000 "Element": "Selenium",1001 "Symbol": "Se",1002 "AtomicMass": 78.96,1003 "NumberofNeutrons": 45,1004 "NumberofProtons": 34,1005 "NumberofElectrons": 34,1006 "Period": 4,1007 "Group": 16,1008 "Phase": "solid",1009 "Radioactive": "",1010 "Natural": "yes",1011 "Metal": "",1012 "Nonmetal": "yes",1013 "Metalloid": "",1014 "Type": "Nonmetal",1015 "AtomicRadius": 1.2,1016 "Electronegativity": 2.55,1017 "FirstIonization": 9.7524,1018 "Density": 4.81,1019 "MeltingPoint": 494.15,1020 "BoilingPoint": 958,1021 "NumberOfIsotopes": 20,1022 "Discoverer": "Berzelius",1023 "Year": 1817,1024 "SpecificHeat": 0.321,1025 "NumberofShells": 4,1026 "NumberofValence": 61027 },1028 {1029 "AtomicNumber": 35,1030 "Element": "Bromine",1031 "Symbol": "Br",1032 "AtomicMass": 79.904,1033 "NumberofNeutrons": 45,1034 "NumberofProtons": 35,1035 "NumberofElectrons": 35,1036 "Period": 4,1037 "Group": 17,1038 "Phase": "liq",1039 "Radioactive": "",1040 "Natural": "yes",1041 "Metal": "",1042 "Nonmetal": "yes",1043 "Metalloid": "",1044 "Type": "Halogen",1045 "AtomicRadius": 1.1,1046 "Electronegativity": 2.96,1047 "FirstIonization": 11.8138,1048 "Density": 3.12,1049 "MeltingPoint": 266.05,1050 "BoilingPoint": 332,1051 "NumberOfIsotopes": 19,1052 "Discoverer": "Balard",1053 "Year": 1826,1054 "SpecificHeat": 0.474,1055 "NumberofShells": 4,1056 "NumberofValence": 71057 },1058 {1059 "AtomicNumber": 36,1060 "Element": "Krypton",1061 "Symbol": "Kr",1062 "AtomicMass": 83.798,1063 "NumberofNeutrons": 48,1064 "NumberofProtons": 36,1065 "NumberofElectrons": 36,1066 "Period": 4,1067 "Group": 18,1068 "Phase": "gas",1069 "Radioactive": "",1070 "Natural": "yes",1071 "Metal": "",1072 "Nonmetal": "yes",1073 "Metalloid": "",1074 "Type": "Noble Gas",1075 "AtomicRadius": 1,1076 "Electronegativity": "",1077 "FirstIonization": 13.9996,1078 "Density": 0.00373,1079 "MeltingPoint": 115.93,1080 "BoilingPoint": 119.93,1081 "NumberOfIsotopes": 23,1082 "Discoverer": "Ramsay and Travers",1083 "Year": 1898,1084 "SpecificHeat": 0.248,1085 "NumberofShells": 4,1086 "NumberofValence": 81087 },1088 {1089 "AtomicNumber": 37,1090 "Element": "Rubidium",1091 "Symbol": "Rb",1092 "AtomicMass": 85.468,1093 "NumberofNeutrons": 48,1094 "NumberofProtons": 37,1095 "NumberofElectrons": 37,1096 "Period": 5,1097 "Group": 1,1098 "Phase": "solid",1099 "Radioactive": "",1100 "Natural": "yes",1101 "Metal": "yes",1102 "Nonmetal": "",1103 "Metalloid": "",1104 "Type": "Alkali Metal",1105 "AtomicRadius": 3,1106 "Electronegativity": 0.82,1107 "FirstIonization": 4.1771,1108 "Density": 1.53,1109 "MeltingPoint": 312.79,1110 "BoilingPoint": 961,1111 "NumberOfIsotopes": 20,1112 "Discoverer": "Bunsen and Kirchoff",1113 "Year": 1861,1114 "SpecificHeat": 0.363,1115 "NumberofShells": 5,1116 "NumberofValence": 11117 },1118 {1119 "AtomicNumber": 38,1120 "Element": "Strontium",1121 "Symbol": "Sr",1122 "AtomicMass": 87.62,1123 "NumberofNeutrons": 50,1124 "NumberofProtons": 38,1125 "NumberofElectrons": 38,1126 "Period": 5,1127 "Group": 2,1128 "Phase": "solid",1129 "Radioactive": "",1130 "Natural": "yes",1131 "Metal": "yes",1132 "Nonmetal": "",1133 "Metalloid": "",1134 "Type": "Alkaline Earth Metal",1135 "AtomicRadius": 2.5,1136 "Electronegativity": 0.95,1137 "FirstIonization": 5.6949,1138 "Density": 2.64,1139 "MeltingPoint": 1042.15,1140 "BoilingPoint": 1655,1141 "NumberOfIsotopes": 18,1142 "Discoverer": "Davy",1143 "Year": 1808,1144 "SpecificHeat": 0.301,1145 "NumberofShells": 5,1146 "NumberofValence": 21147 },1148 {1149 "AtomicNumber": 39,1150 "Element": "Yttrium",1151 "Symbol": "Y",1152 "AtomicMass": 88.906,1153 "NumberofNeutrons": 50,1154 "NumberofProtons": 39,1155 "NumberofElectrons": 39,1156 "Period": 5,1157 "Group": 3,1158 "Phase": "solid",1159 "Radioactive": "",1160 "Natural": "yes",1161 "Metal": "yes",1162 "Nonmetal": "",1163 "Metalloid": "",1164 "Type": "Transition Metal",1165 "AtomicRadius": 2.3,1166 "Electronegativity": 1.22,1167 "FirstIonization": 6.2173,1168 "Density": 4.47,1169 "MeltingPoint": 1799.15,1170 "BoilingPoint": 3609,1171 "NumberOfIsotopes": 21,1172 "Discoverer": "Gadolin",1173 "Year": 1794,1174 "SpecificHeat": 0.298,1175 "NumberofShells": 5,1176 "NumberofValence": ""1177 },1178 {1179 "AtomicNumber": 40,1180 "Element": "Zirconium",1181 "Symbol": "Zr",1182 "AtomicMass": 91.224,1183 "NumberofNeutrons": 51,1184 "NumberofProtons": 40,1185 "NumberofElectrons": 40,1186 "Period": 5,1187 "Group": 4,1188 "Phase": "solid",1189 "Radioactive": "",1190 "Natural": "yes",1191 "Metal": "yes",1192 "Nonmetal": "",1193 "Metalloid": "",1194 "Type": "Transition Metal",1195 "AtomicRadius": 2.2,1196 "Electronegativity": 1.33,1197 "FirstIonization": 6.6339,1198 "Density": 6.51,1199 "MeltingPoint": 2125.15,1200 "BoilingPoint": 4682,1201 "NumberOfIsotopes": 20,1202 "Discoverer": "Klaproth",1203 "Year": 1789,1204 "SpecificHeat": 0.278,1205 "NumberofShells": 5,1206 "NumberofValence": ""1207 },1208 {1209 "AtomicNumber": 41,1210 "Element": "Niobium",1211 "Symbol": "Nb",1212 "AtomicMass": 92.906,1213 "NumberofNeutrons": 52,1214 "NumberofProtons": 41,1215 "NumberofElectrons": 41,1216 "Period": 5,1217 "Group": 5,1218 "Phase": "solid",1219 "Radioactive": "",1220 "Natural": "yes",1221 "Metal": "yes",1222 "Nonmetal": "",1223 "Metalloid": "",1224 "Type": "Transition Metal",1225 "AtomicRadius": 2.1,1226 "Electronegativity": 1.6,1227 "FirstIonization": 6.7589,1228 "Density": 8.57,1229 "MeltingPoint": 2741.15,1230 "BoilingPoint": 5017,1231 "NumberOfIsotopes": 24,1232 "Discoverer": "Hatchett",1233 "Year": 1801,1234 "SpecificHeat": 0.265,1235 "NumberofShells": 5,1236 "NumberofValence": ""1237 },1238 {1239 "AtomicNumber": 42,1240 "Element": "Molybdenum",1241 "Symbol": "Mo",1242 "AtomicMass": 95.96,1243 "NumberofNeutrons": 54,1244 "NumberofProtons": 42,1245 "NumberofElectrons": 42,1246 "Period": 5,1247 "Group": 6,1248 "Phase": "solid",1249 "Radioactive": "",1250 "Natural": "yes",1251 "Metal": "yes",1252 "Nonmetal": "",1253 "Metalloid": "",1254 "Type": "Transition Metal",1255 "AtomicRadius": 2,1256 "Electronegativity": 2.16,1257 "FirstIonization": 7.0924,1258 "Density": 10.2,1259 "MeltingPoint": 2890.15,1260 "BoilingPoint": 4912,1261 "NumberOfIsotopes": 20,1262 "Discoverer": "Scheele",1263 "Year": 1778,1264 "SpecificHeat": 0.251,1265 "NumberofShells": 5,1266 "NumberofValence": ""1267 },1268 {1269 "AtomicNumber": 43,1270 "Element": "Technetium",1271 "Symbol": "Tc",1272 "AtomicMass": 98,1273 "NumberofNeutrons": 55,1274 "NumberofProtons": 43,1275 "NumberofElectrons": 43,1276 "Period": 5,1277 "Group": 7,1278 "Phase": "artificial",1279 "Radioactive": "yes",1280 "Natural": "",1281 "Metal": "yes",1282 "Nonmetal": "",1283 "Metalloid": "",1284 "Type": "Transition Metal",1285 "AtomicRadius": 2,1286 "Electronegativity": 1.9,1287 "FirstIonization": 7.28,1288 "Density": 11.5,1289 "MeltingPoint": 2473.15,1290 "BoilingPoint": 5150,1291 "NumberOfIsotopes": 23,1292 "Discoverer": "Perrier and Segr�",1293 "Year": 1937,1294 "SpecificHeat": "",1295 "NumberofShells": 5,1296 "NumberofValence": ""1297 },1298 {1299 "AtomicNumber": 44,1300 "Element": "Ruthenium",1301 "Symbol": "Ru",1302 "AtomicMass": 101.07,1303 "NumberofNeutrons": 57,1304 "NumberofProtons": 44,1305 "NumberofElectrons": 44,1306 "Period": 5,1307 "Group": 8,1308 "Phase": "solid",1309 "Radioactive": "",1310 "Natural": "yes",1311 "Metal": "yes",1312 "Nonmetal": "",1313 "Metalloid": "",1314 "Type": "Transition Metal",1315 "AtomicRadius": 1.9,1316 "Electronegativity": 2.2,1317 "FirstIonization": 7.3605,1318 "Density": 12.4,1319 "MeltingPoint": 2523.15,1320 "BoilingPoint": 4423,1321 "NumberOfIsotopes": 16,1322 "Discoverer": "Klaus",1323 "Year": 1844,1324 "SpecificHeat": 0.238,1325 "NumberofShells": 5,1326 "NumberofValence": ""1327 },1328 {1329 "AtomicNumber": 45,1330 "Element": "Rhodium",1331 "Symbol": "Rh",1332 "AtomicMass": 102.906,1333 "NumberofNeutrons": 58,1334 "NumberofProtons": 45,1335 "NumberofElectrons": 45,1336 "Period": 5,1337 "Group": 9,1338 "Phase": "solid",1339 "Radioactive": "",1340 "Natural": "yes",1341 "Metal": "yes",1342 "Nonmetal": "",1343 "Metalloid": "",1344 "Type": "Transition Metal",1345 "AtomicRadius": 1.8,1346 "Electronegativity": 2.28,1347 "FirstIonization": 7.4589,1348 "Density": 12.4,1349 "MeltingPoint": 2239.15,1350 "BoilingPoint": 3968,1351 "NumberOfIsotopes": 20,1352 "Discoverer": "Wollaston",1353 "Year": 1803,1354 "SpecificHeat": 0.243,1355 "NumberofShells": 5,1356 "NumberofValence": ""1357 },1358 {1359 "AtomicNumber": 46,1360 "Element": "Palladium",1361 "Symbol": "Pd",1362 "AtomicMass": 106.42,1363 "NumberofNeutrons": 60,1364 "NumberofProtons": 46,1365 "NumberofElectrons": 46,1366 "Period": 5,1367 "Group": 10,1368 "Phase": "solid",1369 "Radioactive": "",1370 "Natural": "yes",1371 "Metal": "yes",1372 "Nonmetal": "",1373 "Metalloid": "",1374 "Type": "Transition Metal",1375 "AtomicRadius": 1.8,1376 "Electronegativity": 2.2,1377 "FirstIonization": 8.3369,1378 "Density": 12,1379 "MeltingPoint": 1825.15,1380 "BoilingPoint": 3236,1381 "NumberOfIsotopes": 21,1382 "Discoverer": "Wollaston",1383 "Year": 1803,1384 "SpecificHeat": 0.244,1385 "NumberofShells": 5,1386 "NumberofValence": ""1387 },1388 {1389 "AtomicNumber": 47,1390 "Element": "Silver",1391 "Symbol": "Ag",1392 "AtomicMass": 107.868,1393 "NumberofNeutrons": 61,1394 "NumberofProtons": 47,1395 "NumberofElectrons": 47,1396 "Period": 5,1397 "Group": 11,1398 "Phase": "solid",1399 "Radioactive": "",1400 "Natural": "yes",1401 "Metal": "yes",1402 "Nonmetal": "",1403 "Metalloid": "",1404 "Type": "Transition Metal",1405 "AtomicRadius": 1.8,1406 "Electronegativity": 1.93,1407 "FirstIonization": 7.5762,1408 "Density": 10.5,1409 "MeltingPoint": 1234.15,1410 "BoilingPoint": 2435,1411 "NumberOfIsotopes": 27,1412 "Discoverer": "Prehistoric",1413 "Year": "",1414 "SpecificHeat": 0.235,1415 "NumberofShells": 5,1416 "NumberofValence": ""1417 },1418 {1419 "AtomicNumber": 48,1420 "Element": "Cadmium",1421 "Symbol": "Cd",1422 "AtomicMass": 112.411,1423 "NumberofNeutrons": 64,1424 "NumberofProtons": 48,1425 "NumberofElectrons": 48,1426 "Period": 5,1427 "Group": 12,1428 "Phase": "solid",1429 "Radioactive": "",1430 "Natural": "yes",1431 "Metal": "yes",1432 "Nonmetal": "",1433 "Metalloid": "",1434 "Type": "Transition Metal",1435 "AtomicRadius": 1.7,1436 "Electronegativity": 1.69,1437 "FirstIonization": 8.9938,1438 "Density": 8.69,1439 "MeltingPoint": 594.33,1440 "BoilingPoint": 1040,1441 "NumberOfIsotopes": 22,1442 "Discoverer": "Stromeyer",1443 "Year": 1817,1444 "SpecificHeat": 0.232,1445 "NumberofShells": 5,1446 "NumberofValence": ""1447 },1448 {1449 "AtomicNumber": 49,1450 "Element": "Indium",1451 "Symbol": "In",1452 "AtomicMass": 114.818,1453 "NumberofNeutrons": 66,1454 "NumberofProtons": 49,1455 "NumberofElectrons": 49,1456 "Period": 5,1457 "Group": 13,1458 "Phase": "solid",1459 "Radioactive": "",1460 "Natural": "yes",1461 "Metal": "yes",1462 "Nonmetal": "",1463 "Metalloid": "",1464 "Type": "Metal",1465 "AtomicRadius": 2,1466 "Electronegativity": 1.78,1467 "FirstIonization": 5.7864,1468 "Density": 7.31,1469 "MeltingPoint": 429.91,1470 "BoilingPoint": 2345,1471 "NumberOfIsotopes": 34,1472 "Discoverer": "Reich and Richter",1473 "Year": 1863,1474 "SpecificHeat": 0.233,1475 "NumberofShells": 5,1476 "NumberofValence": 31477 },1478 {1479 "AtomicNumber": 50,1480 "Element": "Tin",1481 "Symbol": "Sn",1482 "AtomicMass": 118.71,1483 "NumberofNeutrons": 69,1484 "NumberofProtons": 50,1485 "NumberofElectrons": 50,1486 "Period": 5,1487 "Group": 14,1488 "Phase": "solid",1489 "Radioactive": "",1490 "Natural": "yes",1491 "Metal": "yes",1492 "Nonmetal": "",1493 "Metalloid": "",1494 "Type": "Metal",1495 "AtomicRadius": 1.7,1496 "Electronegativity": 1.96,1497 "FirstIonization": 7.3439,1498 "Density": 7.29,1499 "MeltingPoint": 505.21,1500 "BoilingPoint": 2875,1501 "NumberOfIsotopes": 28,1502 "Discoverer": "Prehistoric",1503 "Year": "",1504 "SpecificHeat": 0.228,1505 "NumberofShells": 5,1506 "NumberofValence": 41507 },1508 {1509 "AtomicNumber": 51,1510 "Element": "Antimony",1511 "Symbol": "Sb",1512 "AtomicMass": 121.76,1513 "NumberofNeutrons": 71,1514 "NumberofProtons": 51,1515 "NumberofElectrons": 51,1516 "Period": 5,1517 "Group": 15,1518 "Phase": "solid",1519 "Radioactive": "",1520 "Natural": "yes",1521 "Metal": "",1522 "Nonmetal": "",1523 "Metalloid": "yes",1524 "Type": "Metalloid",1525 "AtomicRadius": 1.5,1526 "Electronegativity": 2.05,1527 "FirstIonization": 8.6084,1528 "Density": 6.69,1529 "MeltingPoint": 904.05,1530 "BoilingPoint": 1860,1531 "NumberOfIsotopes": 29,1532 "Discoverer": "Early historic times",1533 "Year": "",1534 "SpecificHeat": 0.207,1535 "NumberofShells": 5,1536 "NumberofValence": 51537 },1538 {1539 "AtomicNumber": 52,1540 "Element": "Tellurium",1541 "Symbol": "Te",1542 "AtomicMass": 127.6,1543 "NumberofNeutrons": 76,1544 "NumberofProtons": 52,1545 "NumberofElectrons": 52,1546 "Period": 5,1547 "Group": 16,1548 "Phase": "solid",1549 "Radioactive": "",1550 "Natural": "yes",1551 "Metal": "",1552 "Nonmetal": "",1553 "Metalloid": "yes",1554 "Type": "Metalloid",1555 "AtomicRadius": 1.4,1556 "Electronegativity": 2.1,1557 "FirstIonization": 9.0096,1558 "Density": 6.23,1559 "MeltingPoint": 722.8,1560 "BoilingPoint": 1261,1561 "NumberOfIsotopes": 29,1562 "Discoverer": "von Reichenstein",1563 "Year": 1782,1564 "SpecificHeat": 0.202,1565 "NumberofShells": 5,1566 "NumberofValence": 61567 },1568 {1569 "AtomicNumber": 53,1570 "Element": "Iodine",1571 "Symbol": "I",1572 "AtomicMass": 126.904,1573 "NumberofNeutrons": 74,1574 "NumberofProtons": 53,1575 "NumberofElectrons": 53,1576 "Period": 5,1577 "Group": 17,1578 "Phase": "solid",1579 "Radioactive": "",1580 "Natural": "yes",1581 "Metal": "",1582 "Nonmetal": "yes",1583 "Metalloid": "",1584 "Type": "Halogen",1585 "AtomicRadius": 1.3,1586 "Electronegativity": 2.66,1587 "FirstIonization": 10.4513,1588 "Density": 4.93,1589 "MeltingPoint": 386.65,1590 "BoilingPoint": 457.4,1591 "NumberOfIsotopes": 24,1592 "Discoverer": "Courtois",1593 "Year": 1811,1594 "SpecificHeat": 0.214,1595 "NumberofShells": 5,1596 "NumberofValence": 71597 },1598 {1599 "AtomicNumber": 54,1600 "Element": "Xenon",1601 "Symbol": "Xe",1602 "AtomicMass": 131.293,1603 "NumberofNeutrons": 77,1604 "NumberofProtons": 54,1605 "NumberofElectrons": 54,1606 "Period": 5,1607 "Group": 18,1608 "Phase": "gas",1609 "Radioactive": "",1610 "Natural": "yes",1611 "Metal": "",1612 "Nonmetal": "yes",1613 "Metalloid": "",1614 "Type": "Noble Gas",1615 "AtomicRadius": 1.2,1616 "Electronegativity": "",1617 "FirstIonization": 12.1298,1618 "Density": 0.00589,1619 "MeltingPoint": 161.45,1620 "BoilingPoint": 165.03,1621 "NumberOfIsotopes": 31,1622 "Discoverer": "Ramsay and Travers",1623 "Year": 1898,1624 "SpecificHeat": 0.158,1625 "NumberofShells": 5,1626 "NumberofValence": 81627 },1628 {1629 "AtomicNumber": 55,1630 "Element": "Cesium",1631 "Symbol": "Cs",1632 "AtomicMass": 132.905,1633 "NumberofNeutrons": 78,1634 "NumberofProtons": 55,1635 "NumberofElectrons": 55,1636 "Period": 6,1637 "Group": 1,1638 "Phase": "solid",1639 "Radioactive": "",1640 "Natural": "yes",1641 "Metal": "yes",1642 "Nonmetal": "",1643 "Metalloid": "",1644 "Type": "Alkali Metal",1645 "AtomicRadius": 3.3,1646 "Electronegativity": 0.79,1647 "FirstIonization": 3.8939,1648 "Density": 1.87,1649 "MeltingPoint": 301.7,1650 "BoilingPoint": 944,1651 "NumberOfIsotopes": 22,1652 "Discoverer": "Bunsen and Kirchoff",1653 "Year": 1860,1654 "SpecificHeat": 0.242,1655 "NumberofShells": 6,1656 "NumberofValence": 11657 },1658 {1659 "AtomicNumber": 56,1660 "Element": "Barium",1661 "Symbol": "Ba",1662 "AtomicMass": 137.327,1663 "NumberofNeutrons": 81,1664 "NumberofProtons": 56,1665 "NumberofElectrons": 56,1666 "Period": 6,1667 "Group": 2,1668 "Phase": "solid",1669 "Radioactive": "",1670 "Natural": "yes",1671 "Metal": "yes",1672 "Nonmetal": "",1673 "Metalloid": "",1674 "Type": "Alkaline Earth Metal",1675 "AtomicRadius": 2.8,1676 "Electronegativity": 0.89,1677 "FirstIonization": 5.2117,1678 "Density": 3.59,1679 "MeltingPoint": 1002.15,1680 "BoilingPoint": 2170,1681 "NumberOfIsotopes": 25,1682 "Discoverer": "Davy",1683 "Year": 1808,1684 "SpecificHeat": 0.204,1685 "NumberofShells": 6,1686 "NumberofValence": 21687 },1688 {1689 "AtomicNumber": 57,1690 "Element": "Lanthanum",1691 "Symbol": "La",1692 "AtomicMass": 138.905,1693 "NumberofNeutrons": 82,1694 "NumberofProtons": 57,1695 "NumberofElectrons": 57,1696 "Period": 6,1697 "Group": "3",1698 "Phase": "solid",1699 "Radioactive": "",1700 "Natural": "yes",1701 "Metal": "yes",1702 "Nonmetal": "",1703 "Metalloid": "",1704 "Type": "Lanthanide",1705 "AtomicRadius": 2.7,1706 "Electronegativity": 1.1,1707 "FirstIonization": 5.5769,1708 "Density": 6.15,1709 "MeltingPoint": 1193.15,1710 "BoilingPoint": 3737,1711 "NumberOfIsotopes": 19,1712 "Discoverer": "Mosander",1713 "Year": 1839,1714 "SpecificHeat": 0.195,1715 "NumberofShells": 6,1716 "NumberofValence": ""1717 },1718 {1719 "AtomicNumber": 58,1720 "Element": "Cerium",1721 "Symbol": "Ce",1722 "AtomicMass": 140.116,1723 "NumberofNeutrons": 82,1724 "NumberofProtons": 58,1725 "NumberofElectrons": 58,1726 "Period": 6,1727 "Group": "",1728 "Phase": "solid",1729 "Radioactive": "",1730 "Natural": "yes",1731 "Metal": "yes",1732 "Nonmetal": "",1733 "Metalloid": "",1734 "Type": "Lanthanide",1735 "AtomicRadius": 2.7,1736 "Electronegativity": 1.12,1737 "FirstIonization": 5.5387,1738 "Density": 6.77,1739 "MeltingPoint": 1071.15,1740 "BoilingPoint": 3716,1741 "NumberOfIsotopes": 19,1742 "Discoverer": "Berzelius",1743 "Year": 1803,1744 "SpecificHeat": 0.192,1745 "NumberofShells": 6,1746 "NumberofValence": ""1747 },1748 {1749 "AtomicNumber": 59,1750 "Element": "Praseodymium",1751 "Symbol": "Pr",1752 "AtomicMass": 140.908,1753 "NumberofNeutrons": 82,1754 "NumberofProtons": 59,1755 "NumberofElectrons": 59,1756 "Period": 6,1757 "Group": "",1758 "Phase": "solid",1759 "Radioactive": "",1760 "Natural": "yes",1761 "Metal": "yes",1762 "Nonmetal": "",1763 "Metalloid": "",1764 "Type": "Lanthanide",1765 "AtomicRadius": 2.7,1766 "Electronegativity": 1.13,1767 "FirstIonization": 5.473,1768 "Density": 6.77,1769 "MeltingPoint": 1204.15,1770 "BoilingPoint": 3793,1771 "NumberOfIsotopes": 15,1772 "Discoverer": "von Welsbach",1773 "Year": 1885,1774 "SpecificHeat": 0.193,1775 "NumberofShells": 6,1776 "NumberofValence": ""1777 },1778 {1779 "AtomicNumber": 60,1780 "Element": "Neodymium",1781 "Symbol": "Nd",1782 "AtomicMass": 144.242,1783 "NumberofNeutrons": 84,1784 "NumberofProtons": 60,1785 "NumberofElectrons": 60,1786 "Period": 6,1787 "Group": "",1788 "Phase": "solid",1789 "Radioactive": "",1790 "Natural": "yes",1791 "Metal": "yes",1792 "Nonmetal": "",1793 "Metalloid": "",1794 "Type": "Lanthanide",1795 "AtomicRadius": 2.6,1796 "Electronegativity": 1.14,1797 "FirstIonization": 5.525,1798 "Density": 7.01,1799 "MeltingPoint": 1289.15,1800 "BoilingPoint": 3347,1801 "NumberOfIsotopes": 16,1802 "Discoverer": "von Welsbach",1803 "Year": 1885,1804 "SpecificHeat": 0.19,1805 "NumberofShells": 6,1806 "NumberofValence": ""1807 },1808 {1809 "AtomicNumber": 61,1810 "Element": "Promethium",1811 "Symbol": "Pm",1812 "AtomicMass": 145,1813 "NumberofNeutrons": 84,1814 "NumberofProtons": 61,1815 "NumberofElectrons": 61,1816 "Period": 6,1817 "Group": "",1818 "Phase": "artificial",1819 "Radioactive": "yes",1820 "Natural": "",1821 "Metal": "yes",1822 "Nonmetal": "",1823 "Metalloid": "",1824 "Type": "Lanthanide",1825 "AtomicRadius": 2.6,1826 "Electronegativity": 1.13,1827 "FirstIonization": 5.582,1828 "Density": 7.26,1829 "MeltingPoint": 1204.15,1830 "BoilingPoint": 3273,1831 "NumberOfIsotopes": 14,1832 "Discoverer": "Marinsky et al.",1833 "Year": 1945,1834 "SpecificHeat": "",1835 "NumberofShells": 6,1836 "NumberofValence": ""1837 },1838 {1839 "AtomicNumber": 62,1840 "Element": "Samarium",1841 "Symbol": "Sm",1842 "AtomicMass": 150.36,1843 "NumberofNeutrons": 88,1844 "NumberofProtons": 62,1845 "NumberofElectrons": 62,1846 "Period": 6,1847 "Group": "",1848 "Phase": "solid",1849 "Radioactive": "",1850 "Natural": "yes",1851 "Metal": "yes",1852 "Nonmetal": "",1853 "Metalloid": "",1854 "Type": "Lanthanide",1855 "AtomicRadius": 2.6,1856 "Electronegativity": 1.17,1857 "FirstIonization": 5.6437,1858 "Density": 7.52,1859 "MeltingPoint": 1345.15,1860 "BoilingPoint": 2067,1861 "NumberOfIsotopes": 17,1862 "Discoverer": "Boisbaudran",1863 "Year": 1879,1864 "SpecificHeat": 0.197,1865 "NumberofShells": 6,1866 "NumberofValence": ""1867 },1868 {1869 "AtomicNumber": 63,1870 "Element": "Europium",1871 "Symbol": "Eu",1872 "AtomicMass": 151.964,1873 "NumberofNeutrons": 89,1874 "NumberofProtons": 63,1875 "NumberofElectrons": 63,1876 "Period": 6,1877 "Group": "",1878 "Phase": "solid",1879 "Radioactive": "",1880 "Natural": "yes",1881 "Metal": "yes",1882 "Nonmetal": "",1883 "Metalloid": "",1884 "Type": "Lanthanide",1885 "AtomicRadius": 2.6,1886 "Electronegativity": 1.2,1887 "FirstIonization": 5.6704,1888 "Density": 5.24,1889 "MeltingPoint": 1095.15,1890 "BoilingPoint": 1802,1891 "NumberOfIsotopes": 21,1892 "Discoverer": "Demarcay",1893 "Year": 1901,1894 "SpecificHeat": 0.182,1895 "NumberofShells": 6,1896 "NumberofValence": ""1897 },1898 {1899 "AtomicNumber": 64,1900 "Element": "Gadolinium",1901 "Symbol": "Gd",1902 "AtomicMass": 157.25,1903 "NumberofNeutrons": 93,1904 "NumberofProtons": 64,1905 "NumberofElectrons": 64,1906 "Period": 6,1907 "Group": "",1908 "Phase": "solid",1909 "Radioactive": "",1910 "Natural": "yes",1911 "Metal": "yes",1912 "Nonmetal": "",1913 "Metalloid": "",1914 "Type": "Lanthanide",1915 "AtomicRadius": 2.5,1916 "Electronegativity": 1.2,1917 "FirstIonization": 6.1501,1918 "Density": 7.9,1919 "MeltingPoint": 1585.15,1920 "BoilingPoint": 3546,1921 "NumberOfIsotopes": 17,1922 "Discoverer": "de Marignac",1923 "Year": 1880,1924 "SpecificHeat": 0.236,1925 "NumberofShells": 6,1926 "NumberofValence": ""1927 },1928 {1929 "AtomicNumber": 65,1930 "Element": "Terbium",1931 "Symbol": "Tb",1932 "AtomicMass": 158.925,1933 "NumberofNeutrons": 94,1934 "NumberofProtons": 65,1935 "NumberofElectrons": 65,1936 "Period": 6,1937 "Group": "",1938 "Phase": "solid",1939 "Radioactive": "",1940 "Natural": "yes",1941 "Metal": "yes",1942 "Nonmetal": "",1943 "Metalloid": "",1944 "Type": "Lanthanide",1945 "AtomicRadius": 2.5,1946 "Electronegativity": 1.2,1947 "FirstIonization": 5.8638,1948 "Density": 8.23,1949 "MeltingPoint": 1630.15,1950 "BoilingPoint": 3503,1951 "NumberOfIsotopes": 24,1952 "Discoverer": "Mosander",1953 "Year": 1843,1954 "SpecificHeat": 0.182,1955 "NumberofShells": 6,1956 "NumberofValence": ""1957 },1958 {1959 "AtomicNumber": 66,1960 "Element": "Dysprosium",1961 "Symbol": "Dy",1962 "AtomicMass": 162.5,1963 "NumberofNeutrons": 97,1964 "NumberofProtons": 66,1965 "NumberofElectrons": 66,1966 "Period": 6,1967 "Group": "",1968 "Phase": "solid",1969 "Radioactive": "",1970 "Natural": "yes",1971 "Metal": "yes",1972 "Nonmetal": "",1973 "Metalloid": "",1974 "Type": "Lanthanide",1975 "AtomicRadius": 2.5,1976 "Electronegativity": 1.22,1977 "FirstIonization": 5.9389,1978 "Density": 8.55,1979 "MeltingPoint": 1680.15,1980 "BoilingPoint": 2840,1981 "NumberOfIsotopes": 21,1982 "Discoverer": "de Boisbaudran",1983 "Year": 1886,1984 "SpecificHeat": 0.17,1985 "NumberofShells": 6,1986 "NumberofValence": ""1987 },1988 {1989 "AtomicNumber": 67,1990 "Element": "Holmium",1991 "Symbol": "Ho",1992 "AtomicMass": 164.93,1993 "NumberofNeutrons": 98,1994 "NumberofProtons": 67,1995 "NumberofElectrons": 67,1996 "Period": 6,1997 "Group": "",1998 "Phase": "solid",1999 "Radioactive": "",2000 "Natural": "yes",2001 "Metal": "yes",2002 "Nonmetal": "",2003 "Metalloid": "",2004 "Type": "Lanthanide",2005 "AtomicRadius": 2.5,2006 "Electronegativity": 1.23,2007 "FirstIonization": 6.0215,2008 "Density": 8.8,2009 "MeltingPoint": 1743.15,2010 "BoilingPoint": 2993,2011 "NumberOfIsotopes": 29,2012 "Discoverer": "Delafontaine and Soret",2013 "Year": 1878,2014 "SpecificHeat": 0.165,2015 "NumberofShells": 6,2016 "NumberofValence": ""2017 },2018 {2019 "AtomicNumber": 68,2020 "Element": "Erbium",2021 "Symbol": "Er",2022 "AtomicMass": 167.259,2023 "NumberofNeutrons": 99,2024 "NumberofProtons": 68,2025 "NumberofElectrons": 68,2026 "Period": 6,2027 "Group": "",2028 "Phase": "solid",2029 "Radioactive": "",2030 "Natural": "yes",2031 "Metal": "yes",2032 "Nonmetal": "",2033 "Metalloid": "",2034 "Type": "Lanthanide",2035 "AtomicRadius": 2.5,2036 "Electronegativity": 1.24,2037 "FirstIonization": 6.1077,2038 "Density": 9.07,2039 "MeltingPoint": 1795.15,2040 "BoilingPoint": 3503,2041 "NumberOfIsotopes": 16,2042 "Discoverer": "Mosander",2043 "Year": 1843,2044 "SpecificHeat": 0.168,2045 "NumberofShells": 6,2046 "NumberofValence": ""2047 },2048 {2049 "AtomicNumber": 69,2050 "Element": "Thulium",2051 "Symbol": "Tm",2052 "AtomicMass": 168.934,2053 "NumberofNeutrons": 100,2054 "NumberofProtons": 69,2055 "NumberofElectrons": 69,2056 "Period": 6,2057 "Group": "",2058 "Phase": "solid",2059 "Radioactive": "",2060 "Natural": "yes",2061 "Metal": "yes",2062 "Nonmetal": "",2063 "Metalloid": "",2064 "Type": "Lanthanide",2065 "AtomicRadius": 2.4,2066 "Electronegativity": 1.25,2067 "FirstIonization": 6.1843,2068 "Density": 9.32,2069 "MeltingPoint": 1818.15,2070 "BoilingPoint": 2223,2071 "NumberOfIsotopes": 18,2072 "Discoverer": "Cleve",2073 "Year": 1879,2074 "SpecificHeat": 0.16,2075 "NumberofShells": 6,2076 "NumberofValence": ""2077 },2078 {2079 "AtomicNumber": 70,2080 "Element": "Ytterbium",2081 "Symbol": "Yb",2082 "AtomicMass": 173.054,2083 "NumberofNeutrons": 103,2084 "NumberofProtons": 70,2085 "NumberofElectrons": 70,2086 "Period": 6,2087 "Group": "",2088 "Phase": "solid",2089 "Radioactive": "",2090 "Natural": "yes",2091 "Metal": "yes",2092 "Nonmetal": "",2093 "Metalloid": "",2094 "Type": "Lanthanide",2095 "AtomicRadius": 2.4,2096 "Electronegativity": 1.1,2097 "FirstIonization": 6.2542,2098 "Density": 6.97,2099 "MeltingPoint": 1097.15,2100 "BoilingPoint": 1469,2101 "NumberOfIsotopes": 16,2102 "Discoverer": "Marignac",2103 "Year": 1878,2104 "SpecificHeat": 0.155,2105 "NumberofShells": 6,2106 "NumberofValence": ""2107 },2108 {2109 "AtomicNumber": 71,2110 "Element": "Lutetium",2111 "Symbol": "Lu",2112 "AtomicMass": 174.967,2113 "NumberofNeutrons": 104,2114 "NumberofProtons": 71,2115 "NumberofElectrons": 71,2116 "Period": 6,2117 "Group": "",2118 "Phase": "solid",2119 "Radioactive": "",2120 "Natural": "yes",2121 "Metal": "yes",2122 "Nonmetal": "",2123 "Metalloid": "",2124 "Type": "Lanthanide",2125 "AtomicRadius": 2.3,2126 "Electronegativity": 1.27,2127 "FirstIonization": 5.4259,2128 "Density": 9.84,2129 "MeltingPoint": 1936.15,2130 "BoilingPoint": 3675,2131 "NumberOfIsotopes": 22,2132 "Discoverer": "Urbain/ von Welsbach",2133 "Year": 1907,2134 "SpecificHeat": 0.154,2135 "NumberofShells": 6,2136 "NumberofValence": ""2137 },2138 {2139 "AtomicNumber": 72,2140 "Element": "Hafnium",2141 "Symbol": "Hf",2142 "AtomicMass": 178.49,2143 "NumberofNeutrons": 106,2144 "NumberofProtons": 72,2145 "NumberofElectrons": 72,2146 "Period": 6,2147 "Group": 4,2148 "Phase": "solid",2149 "Radioactive": "",2150 "Natural": "yes",2151 "Metal": "yes",2152 "Nonmetal": "",2153 "Metalloid": "",2154 "Type": "Transition Metal",2155 "AtomicRadius": 2.2,2156 "Electronegativity": 1.3,2157 "FirstIonization": 6.8251,2158 "Density": 13.3,2159 "MeltingPoint": 2500.15,2160 "BoilingPoint": 4876,2161 "NumberOfIsotopes": 17,2162 "Discoverer": "Coster and von Hevesy",2163 "Year": 1923,2164 "SpecificHeat": 0.144,2165 "NumberofShells": 6,2166 "NumberofValence": ""2167 },2168 {2169 "AtomicNumber": 73,2170 "Element": "Tantalum",2171 "Symbol": "Ta",2172 "AtomicMass": 180.948,2173 "NumberofNeutrons": 108,2174 "NumberofProtons": 73,2175 "NumberofElectrons": 73,2176 "Period": 6,2177 "Group": 5,2178 "Phase": "solid",2179 "Radioactive": "",2180 "Natural": "yes",2181 "Metal": "yes",2182 "Nonmetal": "",2183 "Metalloid": "",2184 "Type": "Transition Metal",2185 "AtomicRadius": 2.1,2186 "Electronegativity": 1.5,2187 "FirstIonization": 7.5496,2188 "Density": 16.7,2189 "MeltingPoint": 3269.15,2190 "BoilingPoint": 5731,2191 "NumberOfIsotopes": 19,2192 "Discoverer": "Ekeberg",2193 "Year": 1801,2194 "SpecificHeat": 0.14,2195 "NumberofShells": 6,2196 "NumberofValence": ""2197 },2198 {2199 "AtomicNumber": 74,2200 "Element": "Wolfram",2201 "Symbol": "W",2202 "AtomicMass": 183.84,2203 "NumberofNeutrons": 110,2204 "NumberofProtons": 74,2205 "NumberofElectrons": 74,2206 "Period": 6,2207 "Group": 6,2208 "Phase": "solid",2209 "Radioactive": "",2210 "Natural": "yes",2211 "Metal": "yes",2212 "Nonmetal": "",2213 "Metalloid": "",2214 "Type": "Transition Metal",2215 "AtomicRadius": 2,2216 "Electronegativity": 2.36,2217 "FirstIonization": 7.864,2218 "Density": 19.3,2219 "MeltingPoint": 3680.15,2220 "BoilingPoint": 5828,2221 "NumberOfIsotopes": 22,2222 "Discoverer": "J. and F. d'Elhuyar",2223 "Year": 1783,2224 "SpecificHeat": 0.132,2225 "NumberofShells": 6,2226 "NumberofValence": ""2227 },2228 {2229 "AtomicNumber": 75,2230 "Element": "Rhenium",2231 "Symbol": "Re",2232 "AtomicMass": 186.207,2233 "NumberofNeutrons": 111,2234 "NumberofProtons": 75,2235 "NumberofElectrons": 75,2236 "Period": 6,2237 "Group": 7,2238 "Phase": "solid",2239 "Radioactive": "",2240 "Natural": "yes",2241 "Metal": "yes",2242 "Nonmetal": "",2243 "Metalloid": "",2244 "Type": "Transition Metal",2245 "AtomicRadius": 2,2246 "Electronegativity": 1.9,2247 "FirstIonization": 7.8335,2248 "Density": 21,2249 "MeltingPoint": 3453.15,2250 "BoilingPoint": 5869,2251 "NumberOfIsotopes": 21,2252 "Discoverer": "Noddack, Berg, and Tacke",2253 "Year": 1925,2254 "SpecificHeat": 0.137,2255 "NumberofShells": 6,2256 "NumberofValence": ""2257 },2258 {2259 "AtomicNumber": 76,2260 "Element": "Osmium",2261 "Symbol": "Os",2262 "AtomicMass": 190.23,2263 "NumberofNeutrons": 114,2264 "NumberofProtons": 76,2265 "NumberofElectrons": 76,2266 "Period": 6,2267 "Group": 8,2268 "Phase": "solid",2269 "Radioactive": "",2270 "Natural": "yes",2271 "Metal": "yes",2272 "Nonmetal": "",2273 "Metalloid": "",2274 "Type": "Transition Metal",2275 "AtomicRadius": 1.9,2276 "Electronegativity": 2.2,2277 "FirstIonization": 8.4382,2278 "Density": 22.6,2279 "MeltingPoint": 3300.15,2280 "BoilingPoint": 5285,2281 "NumberOfIsotopes": 19,2282 "Discoverer": "Tennant",2283 "Year": 1803,2284 "SpecificHeat": 0.13,2285 "NumberofShells": 6,2286 "NumberofValence": ""2287 },2288 {2289 "AtomicNumber": 77,2290 "Element": "Iridium",2291 "Symbol": "Ir",2292 "AtomicMass": 192.217,2293 "NumberofNeutrons": 115,2294 "NumberofProtons": 77,2295 "NumberofElectrons": 77,2296 "Period": 6,2297 "Group": 9,2298 "Phase": "solid",2299 "Radioactive": "",2300 "Natural": "yes",2301 "Metal": "yes",2302 "Nonmetal": "",2303 "Metalloid": "",2304 "Type": "Transition Metal",2305 "AtomicRadius": 1.9,2306 "Electronegativity": 2.2,2307 "FirstIonization": 8.967,2308 "Density": 22.6,2309 "MeltingPoint": 2716.15,2310 "BoilingPoint": 4701,2311 "NumberOfIsotopes": 25,2312 "Discoverer": "Tennant",2313 "Year": 1804,2314 "SpecificHeat": 0.131,2315 "NumberofShells": 6,2316 "NumberofValence": ""2317 },2318 {2319 "AtomicNumber": 78,2320 "Element": "Platinum",2321 "Symbol": "Pt",2322 "AtomicMass": 195.084,2323 "NumberofNeutrons": 117,2324 "NumberofProtons": 78,2325 "NumberofElectrons": 78,2326 "Period": 6,2327 "Group": 10,2328 "Phase": "solid",2329 "Radioactive": "",2330 "Natural": "yes",2331 "Metal": "yes",2332 "Nonmetal": "",2333 "Metalloid": "",2334 "Type": "Transition Metal",2335 "AtomicRadius": 1.8,2336 "Electronegativity": 2.28,2337 "FirstIonization": 8.9587,2338 "Density": 21.5,2339 "MeltingPoint": 2045.15,2340 "BoilingPoint": 4098,2341 "NumberOfIsotopes": 32,2342 "Discoverer": "Ulloa/Wood",2343 "Year": 1735,2344 "SpecificHeat": 0.133,2345 "NumberofShells": 6,2346 "NumberofValence": ""2347 },2348 {2349 "AtomicNumber": 79,2350 "Element": "Gold",2351 "Symbol": "Au",2352 "AtomicMass": 196.967,2353 "NumberofNeutrons": 118,2354 "NumberofProtons": 79,2355 "NumberofElectrons": 79,2356 "Period": 6,2357 "Group": 11,2358 "Phase": "solid",2359 "Radioactive": "",2360 "Natural": "yes",2361 "Metal": "yes",2362 "Nonmetal": "",2363 "Metalloid": "",2364 "Type": "Transition Metal",2365 "AtomicRadius": 1.8,2366 "Electronegativity": 2.54,2367 "FirstIonization": 9.2255,2368 "Density": 19.3,2369 "MeltingPoint": 1337.73,2370 "BoilingPoint": 3129,2371 "NumberOfIsotopes": 21,2372 "Discoverer": "Prehistoric",2373 "Year": "",2374 "SpecificHeat": 0.129,2375 "NumberofShells": 6,2376 "NumberofValence": ""2377 },2378 {2379 "AtomicNumber": 80,2380 "Element": "Mercury",2381 "Symbol": "Hg",2382 "AtomicMass": 200.59,2383 "NumberofNeutrons": 121,2384 "NumberofProtons": 80,2385 "NumberofElectrons": 80,2386 "Period": 6,2387 "Group": 12,2388 "Phase": "liq",2389 "Radioactive": "",2390 "Natural": "yes",2391 "Metal": "yes",2392 "Nonmetal": "",2393 "Metalloid": "",2394 "Type": "Transition Metal",2395 "AtomicRadius": 1.8,2396 "Electronegativity": 2,2397 "FirstIonization": 10.4375,2398 "Density": 13.5,2399 "MeltingPoint": 234.43,2400 "BoilingPoint": 630,2401 "NumberOfIsotopes": 26,2402 "Discoverer": "Prehistoric",2403 "Year": "",2404 "SpecificHeat": 0.14,2405 "NumberofShells": 6,2406 "NumberofValence": ""2407 },2408 {2409 "AtomicNumber": 81,2410 "Element": "Thallium",2411 "Symbol": "Tl",2412 "AtomicMass": 204.383,2413 "NumberofNeutrons": 123,2414 "NumberofProtons": 81,2415 "NumberofElectrons": 81,2416 "Period": 6,2417 "Group": 13,2418 "Phase": "solid",2419 "Radioactive": "",2420 "Natural": "yes",2421 "Metal": "yes",2422 "Nonmetal": "",2423 "Metalloid": "",2424 "Type": "Metal",2425 "AtomicRadius": 2.1,2426 "Electronegativity": 2.04,2427 "FirstIonization": 6.1082,2428 "Density": 11.9,2429 "MeltingPoint": 577.15,2430 "BoilingPoint": 1746,2431 "NumberOfIsotopes": 28,2432 "Discoverer": "Crookes",2433 "Year": 1861,2434 "SpecificHeat": 0.129,2435 "NumberofShells": 6,2436 "NumberofValence": 32437 },2438 {2439 "AtomicNumber": 82,2440 "Element": "Lead",2441 "Symbol": "Pb",2442 "AtomicMass": 207.2,2443 "NumberofNeutrons": 125,2444 "NumberofProtons": 82,2445 "NumberofElectrons": 82,2446 "Period": 6,2447 "Group": 14,2448 "Phase": "solid",2449 "Radioactive": "",2450 "Natural": "yes",2451 "Metal": "yes",2452 "Nonmetal": "",2453 "Metalloid": "",2454 "Type": "Metal",2455 "AtomicRadius": 1.8,2456 "Electronegativity": 2.33,2457 "FirstIonization": 7.4167,2458 "Density": 11.3,2459 "MeltingPoint": 600.75,2460 "BoilingPoint": 2022,2461 "NumberOfIsotopes": 29,2462 "Discoverer": "Prehistoric",2463 "Year": "",2464 "SpecificHeat": 0.129,2465 "NumberofShells": 6,2466 "NumberofValence": 42467 },2468 {2469 "AtomicNumber": 83,2470 "Element": "Bismuth",2471 "Symbol": "Bi",2472 "AtomicMass": 208.98,2473 "NumberofNeutrons": 126,2474 "NumberofProtons": 83,2475 "NumberofElectrons": 83,2476 "Period": 6,2477 "Group": 15,2478 "Phase": "solid",2479 "Radioactive": "",2480 "Natural": "yes",2481 "Metal": "yes",2482 "Nonmetal": "",2483 "Metalloid": "",2484 "Type": "Metal",2485 "AtomicRadius": 1.6,2486 "Electronegativity": 2.02,2487 "FirstIonization": 7.2856,2488 "Density": 9.81,2489 "MeltingPoint": 544.67,2490 "BoilingPoint": 1837,2491 "NumberOfIsotopes": 19,2492 "Discoverer": "Geoffroy the Younger",2493 "Year": 1753,2494 "SpecificHeat": 0.122,2495 "NumberofShells": 6,2496 "NumberofValence": 52497 },2498 {2499 "AtomicNumber": 84,2500 "Element": "Polonium",2501 "Symbol": "Po",2502 "AtomicMass": 210,2503 "NumberofNeutrons": 126,2504 "NumberofProtons": 84,2505 "NumberofElectrons": 84,2506 "Period": 6,2507 "Group": 16,2508 "Phase": "solid",2509 "Radioactive": "yes",2510 "Natural": "yes",2511 "Metal": "",2512 "Nonmetal": "",2513 "Metalloid": "yes",2514 "Type": "Metalloid",2515 "AtomicRadius": 1.5,2516 "Electronegativity": 2,2517 "FirstIonization": 8.417,2518 "Density": 9.32,2519 "MeltingPoint": 527.15,2520 "BoilingPoint": 1235,2521 "NumberOfIsotopes": 34,2522 "Discoverer": "Curie",2523 "Year": 1898,2524 "SpecificHeat": "",2525 "NumberofShells": 6,2526 "NumberofValence": 62527 },2528 {2529 "AtomicNumber": 85,2530 "Element": "Astatine",2531 "Symbol": "At",2532 "AtomicMass": 210,2533 "NumberofNeutrons": 125,2534 "NumberofProtons": 85,2535 "NumberofElectrons": 85,2536 "Period": 6,2537 "Group": 17,2538 "Phase": "solid",2539 "Radioactive": "yes",2540 "Natural": "yes",2541 "Metal": "",2542 "Nonmetal": "yes",2543 "Metalloid": "",2544 "Type": "Noble Gas",2545 "AtomicRadius": 1.4,2546 "Electronegativity": 2.2,2547 "FirstIonization": 9.3,2548 "Density": 7,2549 "MeltingPoint": 575.15,2550 "BoilingPoint": 610,2551 "NumberOfIsotopes": 21,2552 "Discoverer": "Corson et al.",2553 "Year": 1940,2554 "SpecificHeat": "",2555 "NumberofShells": 6,2556 "NumberofValence": 72557 },2558 {2559 "AtomicNumber": 86,2560 "Element": "Radon",2561 "Symbol": "Rn",2562 "AtomicMass": 222,2563 "NumberofNeutrons": 136,2564 "NumberofProtons": 86,2565 "NumberofElectrons": 86,2566 "Period": 6,2567 "Group": 18,2568 "Phase": "gas",2569 "Radioactive": "yes",2570 "Natural": "yes",2571 "Metal": "yes",2572 "Nonmetal": "",2573 "Metalloid": "",2574 "Type": "Noble Gas",2575 "AtomicRadius": 1.3,2576 "Electronegativity": "",2577 "FirstIonization": 10.7485,2578 "Density": 0.00973,2579 "MeltingPoint": 202.15,2580 "BoilingPoint": 211.3,2581 "NumberOfIsotopes": 20,2582 "Discoverer": "Dorn",2583 "Year": 1900,2584 "SpecificHeat": 0.094,2585 "NumberofShells": 6,2586 "NumberofValence": 82587 },2588 {2589 "AtomicNumber": 87,2590 "Element": "Francium",2591 "Symbol": "Fr",2592 "AtomicMass": 223,2593 "NumberofNeutrons": 136,2594 "NumberofProtons": 87,2595 "NumberofElectrons": 87,2596 "Period": 7,2597 "Group": 1,2598 "Phase": "solid",2599 "Radioactive": "yes",2600 "Natural": "yes",2601 "Metal": "yes",2602 "Nonmetal": "",2603 "Metalloid": "",2604 "Type": "Alkali Metal",2605 "AtomicRadius": "",2606 "Electronegativity": 0.7,2607 "FirstIonization": 4.0727,2608 "Density": 1.87,2609 "MeltingPoint": 300.15,2610 "BoilingPoint": 950,2611 "NumberOfIsotopes": 21,2612 "Discoverer": "Perey",2613 "Year": 1939,2614 "SpecificHeat": "",2615 "NumberofShells": 7,2616 "NumberofValence": 12617 },2618 {2619 "AtomicNumber": 88,2620 "Element": "Radium",2621 "Symbol": "Ra",2622 "AtomicMass": 226,2623 "NumberofNeutrons": 138,2624 "NumberofProtons": 88,2625 "NumberofElectrons": 88,2626 "Period": 7,2627 "Group": 2,2628 "Phase": "solid",2629 "Radioactive": "yes",2630 "Natural": "yes",2631 "Metal": "yes",2632 "Nonmetal": "",2633 "Metalloid": "",2634 "Type": "Alkaline Earth Metal",2635 "AtomicRadius": "",2636 "Electronegativity": 0.9,2637 "FirstIonization": 5.2784,2638 "Density": 5.5,2639 "MeltingPoint": 973.15,2640 "BoilingPoint": 2010,2641 "NumberOfIsotopes": 15,2642 "Discoverer": "Pierre and Marie Curie",2643 "Year": 1898,2644 "SpecificHeat": "",2645 "NumberofShells": 7,2646 "NumberofValence": 22647 },2648 {2649 "AtomicNumber": 89,2650 "Element": "Actinium",2651 "Symbol": "Ac",2652 "AtomicMass": 227,2653 "NumberofNeutrons": 138,2654 "NumberofProtons": 89,2655 "NumberofElectrons": 89,2656 "Period": 7,2657 "Group": 3,2658 "Phase": "solid",2659 "Radioactive": "yes",2660 "Natural": "yes",2661 "Metal": "yes",2662 "Nonmetal": "",2663 "Metalloid": "",2664 "Type": "Actinide",2665 "AtomicRadius": "",2666 "Electronegativity": 1.1,2667 "FirstIonization": 5.17,2668 "Density": 10.1,2669 "MeltingPoint": 1323.15,2670 "BoilingPoint": 3471,2671 "NumberOfIsotopes": 11,2672 "Discoverer": "Debierne/Giesel",2673 "Year": 1899,2674 "SpecificHeat": 0.12,2675 "NumberofShells": 7,2676 "NumberofValence": ""2677 },2678 {2679 "AtomicNumber": 90,2680 "Element": "Thorium",2681 "Symbol": "Th",2682 "AtomicMass": 232.038,2683 "NumberofNeutrons": 142,2684 "NumberofProtons": 90,2685 "NumberofElectrons": 90,2686 "Period": 7,2687 "Group": "",2688 "Phase": "solid",2689 "Radioactive": "yes",2690 "Natural": "yes",2691 "Metal": "yes",2692 "Nonmetal": "",2693 "Metalloid": "",2694 "Type": "Actinide",2695 "AtomicRadius": "",2696 "Electronegativity": 1.3,2697 "FirstIonization": 6.3067,2698 "Density": 11.7,2699 "MeltingPoint": 2028.15,2700 "BoilingPoint": 5061,2701 "NumberOfIsotopes": 12,2702 "Discoverer": "Berzelius",2703 "Year": 1828,2704 "SpecificHeat": 0.113,2705 "NumberofShells": 7,2706 "NumberofValence": ""2707 },2708 {2709 "AtomicNumber": 91,2710 "Element": "Protactinium",2711 "Symbol": "Pa",2712 "AtomicMass": 231.036,2713 "NumberofNeutrons": 140,2714 "NumberofProtons": 91,2715 "NumberofElectrons": 91,2716 "Period": 7,2717 "Group": "",2718 "Phase": "solid",2719 "Radioactive": "yes",2720 "Natural": "yes",2721 "Metal": "yes",2722 "Nonmetal": "",2723 "Metalloid": "",2724 "Type": "Actinide",2725 "AtomicRadius": "",2726 "Electronegativity": 1.5,2727 "FirstIonization": 5.89,2728 "Density": 15.4,2729 "MeltingPoint": 1873.15,2730 "BoilingPoint": 4300,2731 "NumberOfIsotopes": 14,2732 "Discoverer": "Hahn and Meitner",2733 "Year": 1917,2734 "SpecificHeat": "",2735 "NumberofShells": 7,2736 "NumberofValence": ""2737 },2738 {2739 "AtomicNumber": 92,2740 "Element": "Uranium",2741 "Symbol": "U",2742 "AtomicMass": 238.029,2743 "NumberofNeutrons": 146,2744 "NumberofProtons": 92,2745 "NumberofElectrons": 92,2746 "Period": 7,2747 "Group": "",2748 "Phase": "solid",2749 "Radioactive": "yes",2750 "Natural": "yes",2751 "Metal": "yes",2752 "Nonmetal": "",2753 "Metalloid": "",2754 "Type": "Actinide",2755 "AtomicRadius": "",2756 "Electronegativity": 1.38,2757 "FirstIonization": 6.1941,2758 "Density": 19,2759 "MeltingPoint": 1405.15,2760 "BoilingPoint": 4404,2761 "NumberOfIsotopes": 15,2762 "Discoverer": "Peligot",2763 "Year": 1841,2764 "SpecificHeat": 0.116,2765 "NumberofShells": 7,2766 "NumberofValence": ""2767 },2768 {2769 "AtomicNumber": 93,2770 "Element": "Neptunium",2771 "Symbol": "Np",2772 "AtomicMass": 237,2773 "NumberofNeutrons": 144,2774 "NumberofProtons": 93,2775 "NumberofElectrons": 93,2776 "Period": 7,2777 "Group": "",2778 "Phase": "artificial",2779 "Radioactive": "yes",2780 "Natural": "",2781 "Metal": "yes",2782 "Nonmetal": "",2783 "Metalloid": "",2784 "Type": "Actinide",2785 "AtomicRadius": "",2786 "Electronegativity": 1.36,2787 "FirstIonization": 6.2657,2788 "Density": 20.5,2789 "MeltingPoint": 913.15,2790 "BoilingPoint": 4273,2791 "NumberOfIsotopes": 153,2792 "Discoverer": "McMillan and Abelson",2793 "Year": 1940,2794 "SpecificHeat": "",2795 "NumberofShells": 7,2796 "NumberofValence": ""2797 },2798 {2799 "AtomicNumber": 94,2800 "Element": "Plutonium",2801 "Symbol": "Pu",2802 "AtomicMass": 244,2803 "NumberofNeutrons": 150,2804 "NumberofProtons": 94,2805 "NumberofElectrons": 94,2806 "Period": 7,2807 "Group": "",2808 "Phase": "artificial",2809 "Radioactive": "yes",2810 "Natural": "",2811 "Metal": "yes",2812 "Nonmetal": "",2813 "Metalloid": "",2814 "Type": "Actinide",2815 "AtomicRadius": "",2816 "Electronegativity": 1.28,2817 "FirstIonization": 6.0262,2818 "Density": 19.8,2819 "MeltingPoint": 913.15,2820 "BoilingPoint": 3501,2821 "NumberOfIsotopes": 163,2822 "Discoverer": "Seaborg et al.",2823 "Year": 1940,2824 "SpecificHeat": "",2825 "NumberofShells": 7,2826 "NumberofValence": ""2827 },2828 {2829 "AtomicNumber": 95,2830 "Element": "Americium",2831 "Symbol": "Am",2832 "AtomicMass": 243,2833 "NumberofNeutrons": 148,2834 "NumberofProtons": 95,2835 "NumberofElectrons": 95,2836 "Period": 7,2837 "Group": "",2838 "Phase": "artificial",2839 "Radioactive": "yes",2840 "Natural": "",2841 "Metal": "yes",2842 "Nonmetal": "",2843 "Metalloid": "",2844 "Type": "Actinide",2845 "AtomicRadius": "",2846 "Electronegativity": 1.3,2847 "FirstIonization": 5.9738,2848 "Density": 13.7,2849 "MeltingPoint": 1267.15,2850 "BoilingPoint": 2880,2851 "NumberOfIsotopes": 133,2852 "Discoverer": "Seaborg et al.",2853 "Year": 1944,2854 "SpecificHeat": "",2855 "NumberofShells": 7,2856 "NumberofValence": ""2857 },2858 {2859 "AtomicNumber": 96,2860 "Element": "Curium",2861 "Symbol": "Cm",2862 "AtomicMass": 247,2863 "NumberofNeutrons": 151,2864 "NumberofProtons": 96,2865 "NumberofElectrons": 96,2866 "Period": 7,2867 "Group": "",2868 "Phase": "artificial",2869 "Radioactive": "yes",2870 "Natural": "",2871 "Metal": "yes",2872 "Nonmetal": "",2873 "Metalloid": "",2874 "Type": "Actinide",2875 "AtomicRadius": "",2876 "Electronegativity": 1.3,2877 "FirstIonization": 5.9915,2878 "Density": 13.5,2879 "MeltingPoint": 1340.15,2880 "BoilingPoint": 3383,2881 "NumberOfIsotopes": 133,2882 "Discoverer": "Seaborg et al.",2883 "Year": 1944,2884 "SpecificHeat": "",2885 "NumberofShells": 7,2886 "NumberofValence": ""2887 },2888 {2889 "AtomicNumber": 97,2890 "Element": "Berkelium",2891 "Symbol": "Bk",2892 "AtomicMass": 247,2893 "NumberofNeutrons": 150,2894 "NumberofProtons": 97,2895 "NumberofElectrons": 97,2896 "Period": 7,2897 "Group": "",2898 "Phase": "artificial",2899 "Radioactive": "yes",2900 "Natural": "",2901 "Metal": "yes",2902 "Nonmetal": "",2903 "Metalloid": "",2904 "Type": "Actinide",2905 "AtomicRadius": "",2906 "Electronegativity": 1.3,2907 "FirstIonization": 6.1979,2908 "Density": 14.8,2909 "MeltingPoint": 1259.15,2910 "BoilingPoint": 983,2911 "NumberOfIsotopes": 83,2912 "Discoverer": "Seaborg et al.",2913 "Year": 1949,2914 "SpecificHeat": "",2915 "NumberofShells": 7,2916 "NumberofValence": ""2917 },2918 {2919 "AtomicNumber": 98,2920 "Element": "Californium",2921 "Symbol": "Cf",2922 "AtomicMass": 251,2923 "NumberofNeutrons": 153,2924 "NumberofProtons": 98,2925 "NumberofElectrons": 98,2926 "Period": 7,2927 "Group": "",2928 "Phase": "artificial",2929 "Radioactive": "yes",2930 "Natural": "",2931 "Metal": "yes",2932 "Nonmetal": "",2933 "Metalloid": "",2934 "Type": "Actinide",2935 "AtomicRadius": "",2936 "Electronegativity": 1.3,2937 "FirstIonization": 6.2817,2938 "Density": 15.1,2939 "MeltingPoint": 1925.15,2940 "BoilingPoint": 1173,2941 "NumberOfIsotopes": 123,2942 "Discoverer": "Seaborg et al.",2943 "Year": 1950,2944 "SpecificHeat": "",2945 "NumberofShells": 7,2946 "NumberofValence": ""2947 },2948 {2949 "AtomicNumber": 99,2950 "Element": "Einsteinium",2951 "Symbol": "Es",2952 "AtomicMass": 252,2953 "NumberofNeutrons": 153,2954 "NumberofProtons": 99,2955 "NumberofElectrons": 99,2956 "Period": 7,2957 "Group": "",2958 "Phase": "artificial",2959 "Radioactive": "yes",2960 "Natural": "",2961 "Metal": "yes",2962 "Nonmetal": "",2963 "Metalloid": "",2964 "Type": "Actinide",2965 "AtomicRadius": "",2966 "Electronegativity": 1.3,2967 "FirstIonization": 6.42,2968 "Density": 13.5,2969 "MeltingPoint": 1133.15,2970 "BoilingPoint": "",2971 "NumberOfIsotopes": 123,2972 "Discoverer": "Ghiorso et al.",2973 "Year": 1952,2974 "SpecificHeat": "",2975 "NumberofShells": 7,2976 "NumberofValence": ""2977 },2978 {2979 "AtomicNumber": 100,2980 "Element": "Fermium",2981 "Symbol": "Fm",2982 "AtomicMass": 257,2983 "NumberofNeutrons": 157,2984 "NumberofProtons": 100,2985 "NumberofElectrons": 100,2986 "Period": 7,2987 "Group": "",2988 "Phase": "artificial",2989 "Radioactive": "yes",2990 "Natural": "",2991 "Metal": "yes",2992 "Nonmetal": "",2993 "Metalloid": "",2994 "Type": "Actinide",2995 "AtomicRadius": "",2996 "Electronegativity": 1.3,2997 "FirstIonization": 6.5,2998 "Density": "",2999 "MeltingPoint": "",3000 "BoilingPoint": "",3001 "NumberOfIsotopes": 103,3002 "Discoverer": "Ghiorso et al.",3003 "Year": 1953,3004 "SpecificHeat": "",3005 "NumberofShells": 7,3006 "NumberofValence": ""3007 },3008 {3009 "AtomicNumber": 101,3010 "Element": "Mendelevium",3011 "Symbol": "Md",3012 "AtomicMass": 258,3013 "NumberofNeutrons": 157,3014 "NumberofProtons": 101,3015 "NumberofElectrons": 101,3016 "Period": 7,3017 "Group": "",3018 "Phase": "artificial",3019 "Radioactive": "yes",3020 "Natural": "",3021 "Metal": "yes",3022 "Nonmetal": "",3023 "Metalloid": "",3024 "Type": "Actinide",3025 "AtomicRadius": "",3026 "Electronegativity": 1.3,3027 "FirstIonization": 6.58,3028 "Density": "",3029 "MeltingPoint": "",3030 "BoilingPoint": "",3031 "NumberOfIsotopes": 33,3032 "Discoverer": "Ghiorso et al.",3033 "Year": 1955,3034 "SpecificHeat": "",3035 "NumberofShells": 7,3036 "NumberofValence": ""3037 },3038 {3039 "AtomicNumber": 102,3040 "Element": "Nobelium",3041 "Symbol": "No",3042 "AtomicMass": 259,3043 "NumberofNeutrons": 157,3044 "NumberofProtons": 102,3045 "NumberofElectrons": 102,3046 "Period": 7,3047 "Group": "",3048 "Phase": "artificial",3049 "Radioactive": "yes",3050 "Natural": "",3051 "Metal": "yes",3052 "Nonmetal": "",3053 "Metalloid": "",3054 "Type": "Actinide",3055 "AtomicRadius": "",3056 "Electronegativity": 1.3,3057 "FirstIonization": 6.65,3058 "Density": "",3059 "MeltingPoint": "",3060 "BoilingPoint": "",3061 "NumberOfIsotopes": 73,3062 "Discoverer": "Ghiorso et al.",3063 "Year": 1958,3064 "SpecificHeat": "",3065 "NumberofShells": 7,3066 "NumberofValence": ""3067 },3068 {3069 "AtomicNumber": 103,3070 "Element": "Lawrencium",3071 "Symbol": "Lr",3072 "AtomicMass": 262,3073 "NumberofNeutrons": 159,3074 "NumberofProtons": 103,3075 "NumberofElectrons": 103,3076 "Period": 7,3077 "Group": "",3078 "Phase": "artificial",3079 "Radioactive": "yes",3080 "Natural": "",3081 "Metal": "yes",3082 "Nonmetal": "",3083 "Metalloid": "",3084 "Type": "Actinide",3085 "AtomicRadius": "",3086 "Electronegativity": "",3087 "FirstIonization": "",3088 "Density": "",3089 "MeltingPoint": "",3090 "BoilingPoint": "",3091 "NumberOfIsotopes": 203,3092 "Discoverer": "Ghiorso et al.",3093 "Year": 1961,3094 "SpecificHeat": "",3095 "NumberofShells": 7,3096 "NumberofValence": ""3097 },3098 {3099 "AtomicNumber": 104,3100 "Element": "Rutherfordium",3101 "Symbol": "Rf",3102 "AtomicMass": 261,3103 "NumberofNeutrons": 157,3104 "NumberofProtons": 104,3105 "NumberofElectrons": 104,3106 "Period": 7,3107 "Group": 4,3108 "Phase": "artificial",3109 "Radioactive": "yes",3110 "Natural": "",3111 "Metal": "yes",3112 "Nonmetal": "",3113 "Metalloid": "",3114 "Type": "Transactinide",3115 "AtomicRadius": "",3116 "Electronegativity": "",3117 "FirstIonization": "",3118 "Density": 18.1,3119 "MeltingPoint": "",3120 "BoilingPoint": "",3121 "NumberOfIsotopes": "",3122 "Discoverer": "Ghiorso et al.",3123 "Year": 1969,3124 "SpecificHeat": "",3125 "NumberofShells": 7,3126 "NumberofValence": ""3127 },3128 {3129 "AtomicNumber": 105,3130 "Element": "Dubnium",3131 "Symbol": "Db",3132 "AtomicMass": 262,3133 "NumberofNeutrons": 157,3134 "NumberofProtons": 105,3135 "NumberofElectrons": 105,3136 "Period": 7,3137 "Group": 5,3138 "Phase": "artificial",3139 "Radioactive": "yes",3140 "Natural": "",3141 "Metal": "yes",3142 "Nonmetal": "",3143 "Metalloid": "",3144 "Type": "Transactinide",3145 "AtomicRadius": "",3146 "Electronegativity": "",3147 "FirstIonization": "",3148 "Density": 39,3149 "MeltingPoint": "",3150 "BoilingPoint": "",3151 "NumberOfIsotopes": "",3152 "Discoverer": "Ghiorso et al.",3153 "Year": 1970,3154 "SpecificHeat": "",3155 "NumberofShells": 7,3156 "NumberofValence": ""3157 },3158 {3159 "AtomicNumber": 106,3160 "Element": "Seaborgium",3161 "Symbol": "Sg",3162 "AtomicMass": 266,3163 "NumberofNeutrons": 160,3164 "NumberofProtons": 106,3165 "NumberofElectrons": 106,3166 "Period": 7,3167 "Group": 6,3168 "Phase": "artificial",3169 "Radioactive": "yes",3170 "Natural": "",3171 "Metal": "yes",3172 "Nonmetal": "",3173 "Metalloid": "",3174 "Type": "Transactinide",3175 "AtomicRadius": "",3176 "Electronegativity": "",3177 "FirstIonization": "",3178 "Density": 35,3179 "MeltingPoint": "",3180 "BoilingPoint": "",3181 "NumberOfIsotopes": "",3182 "Discoverer": "Ghiorso et al.",3183 "Year": 1974,3184 "SpecificHeat": "",3185 "NumberofShells": 7,3186 "NumberofValence": ""3187 },3188 {3189 "AtomicNumber": 107,3190 "Element": "Bohrium",3191 "Symbol": "Bh",3192 "AtomicMass": 264,3193 "NumberofNeutrons": 157,3194 "NumberofProtons": 107,3195 "NumberofElectrons": 107,3196 "Period": 7,3197 "Group": 7,3198 "Phase": "artificial",3199 "Radioactive": "yes",3200 "Natural": "",3201 "Metal": "yes",3202 "Nonmetal": "",3203 "Metalloid": "",3204 "Type": "Transactinide",3205 "AtomicRadius": "",3206 "Electronegativity": "",3207 "FirstIonization": "",3208 "Density": 37,3209 "MeltingPoint": "",3210 "BoilingPoint": "",3211 "NumberOfIsotopes": "",3212 "Discoverer": "Armbruster and M�nzenberg",3213 "Year": 1981,3214 "SpecificHeat": "",3215 "NumberofShells": 7,3216 "NumberofValence": ""3217 },3218 {3219 "AtomicNumber": 108,3220 "Element": "Hassium",3221 "Symbol": "Hs",3222 "AtomicMass": 267,3223 "NumberofNeutrons": 159,3224 "NumberofProtons": 108,3225 "NumberofElectrons": 108,3226 "Period": 7,3227 "Group": 8,3228 "Phase": "artificial",3229 "Radioactive": "yes",3230 "Natural": "",3231 "Metal": "yes",3232 "Nonmetal": "",3233 "Metalloid": "",3234 "Type": "Transactinide",3235 "AtomicRadius": "",3236 "Electronegativity": "",3237 "FirstIonization": "",3238 "Density": 41,3239 "MeltingPoint": "",3240 "BoilingPoint": "",3241 "NumberOfIsotopes": "",3242 "Discoverer": "Armbruster and M�nzenberg",3243 "Year": 1983,3244 "SpecificHeat": "",3245 "NumberofShells": 7,3246 "NumberofValence": ""3247 },3248 {3249 "AtomicNumber": 109,3250 "Element": "Meitnerium",3251 "Symbol": "Mt",3252 "AtomicMass": 268,3253 "NumberofNeutrons": 159,3254 "NumberofProtons": 109,3255 "NumberofElectrons": 109,3256 "Period": 7,3257 "Group": 9,3258 "Phase": "artificial",3259 "Radioactive": "yes",3260 "Natural": "",3261 "Metal": "yes",3262 "Nonmetal": "",3263 "Metalloid": "",3264 "Type": "Transactinide",3265 "AtomicRadius": "",3266 "Electronegativity": "",3267 "FirstIonization": "",3268 "Density": 35,3269 "MeltingPoint": "",3270 "BoilingPoint": "",3271 "NumberOfIsotopes": "",3272 "Discoverer": "GSI, Darmstadt, West Germany",3273 "Year": 1982,3274 "SpecificHeat": "",3275 "NumberofShells": 7,3276 "NumberofValence": ""3277 },3278 {3279 "AtomicNumber": 110,3280 "Element": "Darmstadtium",3281 "Symbol": "Ds",3282 "AtomicMass": 271,3283 "NumberofNeutrons": 161,3284 "NumberofProtons": 110,3285 "NumberofElectrons": 110,3286 "Period": 7,3287 "Group": 10,3288 "Phase": "artificial",3289 "Radioactive": "yes",3290 "Natural": "",3291 "Metal": "yes",3292 "Nonmetal": "",3293 "Metalloid": "",3294 "Type": "Transactinide",3295 "AtomicRadius": "",3296 "Electronegativity": "",3297 "FirstIonization": "",3298 "Density": "",3299 "MeltingPoint": "",3300 "BoilingPoint": "",3301 "NumberOfIsotopes": "",3302 "Discoverer": "",3303 "Year": 1994,3304 "SpecificHeat": "",3305 "NumberofShells": 7,3306 "NumberofValence": ""3307 },3308 {3309 "AtomicNumber": 111,3310 "Element": "Roentgenium",3311 "Symbol": "Rg",3312 "AtomicMass": 272,3313 "NumberofNeutrons": 161,3314 "NumberofProtons": 111,3315 "NumberofElectrons": 111,3316 "Period": 7,3317 "Group": 11,3318 "Phase": "artificial",3319 "Radioactive": "yes",3320 "Natural": "",3321 "Metal": "yes",3322 "Nonmetal": "",3323 "Metalloid": "",3324 "Type": "Transactinide",3325 "AtomicRadius": "",3326 "Electronegativity": "",3327 "FirstIonization": "",3328 "Density": "",3329 "MeltingPoint": "",3330 "BoilingPoint": "",3331 "NumberOfIsotopes": "",3332 "Discoverer": "",3333 "Year": 1994,3334 "SpecificHeat": "",3335 "NumberofShells": 7,3336 "NumberofValence": ""3337 },3338 {3339 "AtomicNumber": 112,3340 "Element": "Copernicium",3341 "Symbol": "Cn",3342 "AtomicMass": 285,3343 "NumberofNeutrons": 173,3344 "NumberofProtons": 112,3345 "NumberofElectrons": 112,3346 "Period": 7,3347 "Group": 12,3348 "Phase": "artificial",3349 "Radioactive": "yes",3350 "Natural": "",3351 "Metal": "yes",3352 "Nonmetal": "",3353 "Metalloid": "",3354 "Type": "Transactinide",3355 "AtomicRadius": "",3356 "Electronegativity": "",3357 "FirstIonization": "",3358 "Density": "",3359 "MeltingPoint": "",3360 "BoilingPoint": "",3361 "NumberOfIsotopes": "",3362 "Discoverer": "",3363 "Year": 1996,3364 "SpecificHeat": "",3365 "NumberofShells": 7,3366 "NumberofValence": ""3367 },3368 {3369 "AtomicNumber": 113,3370 "Element": "Nihonium",3371 "Symbol": "Nh",3372 "AtomicMass": 284,3373 "NumberofNeutrons": 171,3374 "NumberofProtons": 113,3375 "NumberofElectrons": 113,3376 "Period": 7,3377 "Group": 13,3378 "Phase": "artificial",3379 "Radioactive": "yes",3380 "Natural": "",3381 "Metal": "yes",3382 "Nonmetal": "",3383 "Metalloid": "",3384 "Type": "",3385 "AtomicRadius": "",3386 "Electronegativity": "",3387 "FirstIonization": "",3388 "Density": "",3389 "MeltingPoint": "",3390 "BoilingPoint": "",3391 "NumberOfIsotopes": "",3392 "Discoverer": "",3393 "Year": 2004,3394 "SpecificHeat": "",3395 "NumberofShells": 7,3396 "NumberofValence": 33397 },3398 {3399 "AtomicNumber": 114,3400 "Element": "Flerovium",3401 "Symbol": "Fl",3402 "AtomicMass": 289,3403 "NumberofNeutrons": 175,3404 "NumberofProtons": 114,3405 "NumberofElectrons": 114,3406 "Period": 7,3407 "Group": 14,3408 "Phase": "artificial",3409 "Radioactive": "yes",3410 "Natural": "",3411 "Metal": "yes",3412 "Nonmetal": "",3413 "Metalloid": "",3414 "Type": "Transactinide",3415 "AtomicRadius": "",3416 "Electronegativity": "",3417 "FirstIonization": "",3418 "Density": "",3419 "MeltingPoint": "",3420 "BoilingPoint": "",3421 "NumberOfIsotopes": "",3422 "Discoverer": "",3423 "Year": 1999,3424 "SpecificHeat": "",3425 "NumberofShells": 7,3426 "NumberofValence": 43427 },3428 {3429 "AtomicNumber": 115,3430 "Element": "Moscovium",3431 "Symbol": "Mc",3432 "AtomicMass": 288,3433 "NumberofNeutrons": 173,3434 "NumberofProtons": 115,3435 "NumberofElectrons": 115,3436 "Period": 7,3437 "Group": 15,3438 "Phase": "artificial",3439 "Radioactive": "yes",3440 "Natural": "",3441 "Metal": "yes",3442 "Nonmetal": "",3443 "Metalloid": "",3444 "Type": "",3445 "AtomicRadius": "",3446 "Electronegativity": "",3447 "FirstIonization": "",3448 "Density": "",3449 "MeltingPoint": "",3450 "BoilingPoint": "",3451 "NumberOfIsotopes": "",3452 "Discoverer": "",3453 "Year": 2010,3454 "SpecificHeat": "",3455 "NumberofShells": 7,3456 "NumberofValence": 53457 },3458 {3459 "AtomicNumber": 116,3460 "Element": "Livermorium",3461 "Symbol": "Lv",3462 "AtomicMass": 292,3463 "NumberofNeutrons": 176,3464 "NumberofProtons": 116,3465 "NumberofElectrons": 116,3466 "Period": 7,3467 "Group": 16,3468 "Phase": "artificial",3469 "Radioactive": "yes",3470 "Natural": "",3471 "Metal": "yes",3472 "Nonmetal": "",3473 "Metalloid": "",3474 "Type": "Transactinide",3475 "AtomicRadius": "",3476 "Electronegativity": "",3477 "FirstIonization": "",3478 "Density": "",3479 "MeltingPoint": "",3480 "BoilingPoint": "",3481 "NumberOfIsotopes": "",3482 "Discoverer": "",3483 "Year": 2000,3484 "SpecificHeat": "",3485 "NumberofShells": 7,3486 "NumberofValence": 63487 },3488 {3489 "AtomicNumber": 117,3490 "Element": "Tennessine",3491 "Symbol": "Ts",3492 "AtomicMass": 295,3493 "NumberofNeutrons": 178,3494 "NumberofProtons": 117,3495 "NumberofElectrons": 117,3496 "Period": 7,3497 "Group": 17,3498 "Phase": "artificial",3499 "Radioactive": "yes",3500 "Natural": "",3501 "Metal": "",3502 "Nonmetal": "yes",3503 "Metalloid": "",3504 "Type": "",3505 "AtomicRadius": "",3506 "Electronegativity": "",3507 "FirstIonization": "",3508 "Density": "",3509 "MeltingPoint": "",3510 "BoilingPoint": "",3511 "NumberOfIsotopes": "",3512 "Discoverer": "",3513 "Year": 2010,3514 "SpecificHeat": "",3515 "NumberofShells": 7,3516 "NumberofValence": 73517 },3518 {3519 "AtomicNumber": 118,3520 "Element": "Oganesson",3521 "Symbol": "Og",3522 "AtomicMass": 294,3523 "NumberofNeutrons": 176,3524 "NumberofProtons": 118,3525 "NumberofElectrons": 118,3526 "Period": 7,3527 "Group": 18,3528 "Phase": "artificial",3529 "Radioactive": "yes",3530 "Natural": "",3531 "Metal": "",3532 "Nonmetal": "yes",3533 "Metalloid": "",3534 "Type": "Noble Gas",3535 "AtomicRadius": "",3536 "Electronegativity": "",3537 "FirstIonization": "",3538 "Density": "",3539 "MeltingPoint": "",3540 "BoilingPoint": "",3541 "NumberOfIsotopes": "",3542 "Discoverer": "",3543 "Year": 2006,3544 "SpecificHeat": "",3545 "NumberofShells": 7,3546 "NumberofValence": 83547 }3548 ],3549 activeElement:{3550 "AtomicNumber": 1,3551 "Element": "Hydrogen",3552 "Symbol": "H",3553 "AtomicMass": 1.007,3554 "NumberofNeutrons": 0,3555 "NumberofProtons": 1,3556 "NumberofElectrons": 1,3557 "Period": 1,3558 "Group": 1,3559 "Phase": "gas",3560 "Radioactive": "",3561 "Natural": "yes",3562 "Metal": "",3563 "Nonmetal": "yes",3564 "Metalloid": "",3565 "Type": "Nonmetal",3566 "AtomicRadius": 0.79,3567 "Electronegativity": 2.2,3568 "FirstIonization": 13.5984,3569 "Density": 0.0000899,3570 "MeltingPoint": 14.175,3571 "BoilingPoint": 20.28,3572 "NumberOfIsotopes": 3,3573 "Discoverer": "Cavendish",3574 "Year": 1766,3575 "SpecificHeat": 14.304,3576 "NumberofShells": 1,3577 "NumberofValence": 13578 }3579 }3580 this.showElement = this.showElement.bind(this);3581 }3582 showElement(element){3583 this.setState({activeElement:element})3584 console.log(element)3585 }3586 render() {3587 let displayHTML=[];3588 let activeElement = this.state.activeElement;3589 displayHTML.push(<div className={`element-display`} style={{gridColumn:'3/13',gridRow:'1/4'}}>3590 <div className="element-title-image"><b>{activeElement.Element}</b>(<b>{activeElement.Symbol}</b>) is a {activeElement.Type.toLowerCase()} with atomic number <b>{activeElement.AtomicNumber}</b> .</div>3591 <div className="element-title-details">3592 <div className="element-property">Atomic Number : {activeElement.AtomicNumber}</div>3593 <div className="element-property">Atomic Mass : {activeElement.AtomicMass}</div>3594 <div className="element-property">Phase : {activeElement.Phase}</div>3595 <div className="element-property">Type : {activeElement.Type}</div>3596 </div>3597 </div>)3598 const Elements = this.state.data.map((element) =>{3599 let elementsHTML=[];3600 let elementsHTML2=[];3601 if(element.AtomicNumber >=57 && element.AtomicNumber <=71)3602 {3603 if(element.AtomicNumber == 57){3604 elementsHTML.push(<div className={`element dummy`} style={{gridRowStart: 9,gridColumnStart: 0}}></div>)3605 elementsHTML.push(<div className={`element dummy`} style={{gridRowStart: 9,gridColumnStart: 1}}></div>)3606 elementsHTML.push(<div className={`element dummy`} style={{gridRowStart: 9,gridColumnStart: 2}}></div>)3607 elementsHTML.push(<div className={`${element.Symbol}${element.AtomicNumber} element ${element.Element} ${element.Type} ${element.Type.split(" ")[0]}`} style={{3608 gridRowStart: 9,3609 gridColumnStart: ""3610 }} onClick={() => this.showElement(element)}>3611 <p className="atomicNumber">{element.AtomicNumber}</p>3612 <p className="symbol">{element.Symbol}</p>3613 <p className="elementName">{element.Element}</p>3614 <p className="atomicMass">{element.AtomicMass}</p>3615 </div>)3616 }3617 else3618 elementsHTML.push(<div className={`${element.Symbol}${element.AtomicNumber} element ${element.Element} ${element.Type.split(" ")[0]}`} style={{3619 gridRowStart: 9,3620 gridColumnStart: element.Group3621 }} onClick={() => this.showElement(element)}>3622 <p className="atomicNumber">{element.AtomicNumber}</p>3623 <p className="symbol">{element.Symbol}</p>3624 <p className="elementName">{element.Element}</p>3625 <p className="atomicMass">{element.AtomicMass}</p>3626 </div>)3627 return elementsHTML 3628 }3629 else if(element.AtomicNumber >=89 && element.AtomicNumber <=103)3630 {3631 if(element.AtomicNumber == 89){3632 elementsHTML2.push(<div className={`element dummy`} style={{gridRowStart: 10,gridColumnStart: 0}}></div>)3633 elementsHTML2.push(<div className={`element dummy`} style={{gridRowStart: 10,gridColumnStart: 1}}></div>)3634 elementsHTML2.push(<div className={`element dummy`} style={{gridRowStart: 10,gridColumnStart: 2}}></div>)3635 elementsHTML2.push(<div className={`${element.Symbol}${element.AtomicNumber} element ${element.Element} ${element.Type.split(" ")[0]}`} style={{3636 gridRowStart: 10,3637 gridColumnStart:""3638 }} onClick={() => this.showElement(element)}>3639 <p className="atomicNumber">{element.AtomicNumber}</p>3640 <p className="symbol">{element.Symbol}</p>3641 <p className="elementName">{element.Element}</p>3642 <p className="atomicMass">{element.AtomicMass}</p>3643 </div>)3644 }3645 else3646 elementsHTML2.push(<div className={`${element.Symbol}${element.AtomicNumber} element ${element.Element} ${element.Type.split(" ")[0]}`} style={{3647 gridRowStart: 10,3648 gridColumnStart: element.Group3649 }} onClick={() => this.showElement(element)}>3650 <p className="atomicNumber">{element.AtomicNumber}</p>3651 <p className="symbol">{element.Symbol}</p>3652 <p className="elementName">{element.Element}</p>3653 <p className="atomicMass">{element.AtomicMass}</p>3654 </div>)3655 return elementsHTML2 3656 }3657 else3658 return<div className={`${element.Symbol}${element.AtomicNumber} element ${element.Element} ${element.Type.split(" ")[0]}${element.Type.split(" ")[1]} `} style={{3659 gridRowStart: element.Period,3660 gridColumnStart: element.Group3661 }} onClick={() => this.showElement(element)}>3662 <p className="atomicNumber">{element.AtomicNumber}</p>3663 <p className="symbol">{element.Symbol}</p>3664 <p className="elementName">{element.Element}</p>3665 <p className="atomicMass">{element.AtomicMass}</p>3666 </div>3667 }3668 );3669 return (3670 <div>3671 <h1>Periodic Table</h1>3672 <div className="periodic-table">3673 {displayHTML}3674 {Elements}3675 </div>3676 </div>3677 )3678 }...

Full Screen

Full Screen

home.js

Source:home.js Github

copy

Full Screen

1/*jslint devel: true*/2/*eslint-env browser*/3var app = angular.module('home', ['ngRoute', 'firebase']);4app.config(['$routeProvider', function ($routeProvider) {5 'use strict';6 $routeProvider.when('/Home', {7 templateUrl: 'home/home.html',8 controller: 'homeCtrl'9 });10}]);11app.controller('homeCtrl', ['$scope', '$location', 'videoService', function ($scope, $location, videoService) {12 'use strict';13 var db = firebase.firestore();14 db.settings({15 timestampsInSnapshots: true16 });17 $scope.$watch("name", function (event) {18 console.log(event);19 });20 // All videos go here21 $scope.publicVideos = [];22 // Videos By Category go here23 $scope.business = [];24 $scope.design = [];25 $scope.engineering = [];26 $scope.science = [];27 $scope.computing = [];28 $scope.englishLanguage = [];29 $scope.postgraduateCoursework = [];30 $scope.postgraduateResearch = [];31 $scope.shortCourses = [];32 $scope.others = [];33 // START34 // Getting video Index On click and other information35 $scope.getIndex = function (id) {36 $scope.indexValue = $scope.publicVideos.findIndex(video => video.id === id);37 $scope.videoId = id;38 videoService.videoId = $scope.videoId;39 sessionStorage.setItem("selectedVidId", videoService.videoId);40 };41 // GETTING VIDEOS START ---------------------------------------------------------------------------------------------------42 // Getting All Public Videos which are not being edited43 db.collection("Videos").onSnapshot(function (querySnapshot) {44 $scope.publicVideos = [];45 querySnapshot.forEach(function (doc) {46 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false) {47 var videoJson = {48 id: doc.id,49 data: doc.data(),50 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')51 }52 $scope.publicVideos.push(videoJson);53 }54 });55 console.log($scope.publicVideos);56 paginationFunc();57 $scope.$apply();58 });59 $scope.currentPage = 1, $scope.numPerPage = 4, $scope.showMoreClicked = false, $scope.reverseSort = true, $scope.orderByField = 'timestamp'60 $scope.$watch("name", function (newVal, oldVal) {61 for (var i = 0; i < $scope.publicVideos.length; i++) {62 $scope.publicVideos[i].filtered = $scope.publicVideos[i].data.video_name.toUpperCase().indexOf(newVal.toUpperCase()) === -1;63 paginationFunc();64 }65 });66 $scope.$watch("publicVideos.length", paginationFunc);67 $scope.$watch("currentPage + numPerPage", paginationFunc);68 $scope.selectedPage = function (index) {69 $scope.currentPage = index;70 }71 $scope.changeNumPerPage = function (index) {72 $scope.numPerPage = index * 100;73 $scope.showMoreClicked = true;74 console.log($scope.reverseSort);75 }76 $scope.showLess = function (index) {77 $scope.numPerPage = index * 4;78 $scope.showMoreClicked = false;79 console.log($scope.reverseSort);80 }81 $scope.changePage = function (sign) {82 var currentPageValue = eval($scope.currentPage + sign + 1);83 if (currentPageValue < 1) currentPageValue = 1;84 if (currentPageValue > $scope.numbers) currentPageValue = $scope.numbers;85 $scope.currentPage = currentPageValue;86 }87 function paginationFunc() {88 var publicVideos = $scope.publicVideos.filter(function (item) {89 return !item.filtered90 });91 $scope.numbers = Math.ceil(publicVideos.length / $scope.numPerPage);92 if ($scope.currentPage < 1) $scope.currentPage = 1;93 if ($scope.currentPage > $scope.numbers) $scope.currentPage = $scope.numbers;94 var begin = (($scope.currentPage - 1) * $scope.numPerPage),95 end = begin + $scope.numPerPage;96 $scope.filteredVideos = publicVideos.slice(begin, end);97 }98 // #region Getting Business Videos99 db.collection("Videos").onSnapshot(function (querySnapshot) {100 $scope.business = [];101 querySnapshot.forEach(function (doc) {102 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Business") {103 console.log(doc.data());104 var videoJson = {105 id: doc.id,106 data: doc.data(),107 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')108 }109 $scope.business.push(videoJson);110 $scope.business.sort($scope.orderByDate);111 }112 });113 $scope.$apply();114 });115 $scope.currentBusinessPage = 1, $scope.numberofBusinessPerPage = 4, $scope.showMoreBusinessClicked = false, $scope.reverseSortBusiness = true, $scope.orderByFieldBusiness = 'timestamp'116 $scope.$watch("business.length", businesspaginationFunc);117 $scope.$watch("currentBusinessPage + numberofBusinessPerPage", businesspaginationFunc);118 $scope.showLessBusiness = function (index) {119 $scope.numberofBusinessPerPage = index * 4;120 console.log(index);121 $scope.showMoreBusinessClicked = false;122 }123 $scope.showMoreBusiness = function (index) {124 $scope.numberofBusinessPerPage = index * 100;125 console.log(index);126 $scope.showMoreBusinessClicked = true;127 }128 function businesspaginationFunc() {129 var business = $scope.business.filter(function (item) {130 return !item.filtered131 });132 $scope.bnumbers = Math.ceil(business.length / $scope.numberofBusinessPerPage);133 if ($scope.currentBusinessPage < 1) $scope.currentBusinessPage = 1;134 if ($scope.currentBusinessPage > $scope.bnumbers) $scope.currentBusinessPage = $scope.bnumbers;135 var begin = (($scope.currentBusinessPage - 1) * $scope.numberofBusinessPerPage),136 end = begin + $scope.numberofBusinessPerPage;137 $scope.filteredBusinessVideos = business.slice(begin, end);138 }139 // Getting Design Videos140 db.collection("Videos").onSnapshot(function (querySnapshot) {141 $scope.design = [];142 querySnapshot.forEach(function (doc) {143 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Design") {144 var videoJson = {145 id: doc.id,146 data: doc.data(),147 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')148 }149 150 $scope.design.push(videoJson);151 152 $scope.design.sort($scope.orderByDate);153 }154 });155 $scope.$apply();156 });157 $scope.currentDesignPage = 1;158 $scope.numberofDesignPerPage = 4;159 $scope.showMoreDesignClicked = false;160 $scope.reverseSortDesign = true,161 $scope.orderByFieldDesign = 'timestamp'162 $scope.$watch("design.length", designpaginationFunc);163 $scope.$watch("currentDesignPage + numberofDesignPerPage", designpaginationFunc);164 $scope.showLessDesign = function (index) {165 $scope.numberofDesignPerPage = index * 4;166 console.log(index);167 $scope.showMoreDesignClicked = false;168 }169 $scope.showMoreDesign = function (index) {170 $scope.numberofDesignPerPage = index * 100;171 console.log(index);172 $scope.showMoreDesignClicked = true;173 }174 function designpaginationFunc() {175 var design = $scope.design.filter(function (item) {176 return !item.filtered177 });178 $scope.bnumbers = Math.ceil(design.length / $scope.numberofDesignPerPage);179 if ($scope.currentDesignPage < 1) $scope.currentDesignPage = 1;180 if ($scope.currentDesignPage > $scope.bnumbers) $scope.currentDesignPage = $scope.bnumbers;181 var begin = (($scope.currentDesignPage - 1) * $scope.numberofDesignPerPage),182 end = begin + $scope.numberofDesignPerPage;183 $scope.filteredDesignVideos = design.slice(begin, end);184 }185 // Getting Engineering Videos186 db.collection("Videos").onSnapshot(function (querySnapshot) {187 $scope.engineering = [];188 querySnapshot.forEach(function (doc) {189 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Engineering") {190 var videoJson = {191 id: doc.id,192 data: doc.data(),193 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')194 }195 $scope.engineering.push(videoJson);196 197 $scope.engineering.sort($scope.orderByDate);198 }199 });200 $scope.$apply();201 });202 $scope.currentEngineeringPage = 1;203 $scope.numberofEngineeringPerPage = 4;204 $scope.showMoreEngineeringClicked = false;205 $scope.reverseSortEng = true,206 $scope.orderByFieldEng = 'timestamp'207 $scope.$watch("engineering.length", engineeringpaginationFunc);208 $scope.$watch("currentEngineeringPage + numberofEngineeringPerPage", engineeringpaginationFunc);209 $scope.showLessEngineering = function (index) {210 $scope.numberofEngineeringPerPage = index * 4;211 console.log(index);212 $scope.showMoreEngineeringClicked = false;213 }214 $scope.showMoreEngineering = function (index) {215 $scope.numberofEngineeringPerPage = index * 100;216 console.log(index);217 $scope.showMoreEngineeringClicked = true;218 }219 function engineeringpaginationFunc() {220 var engineering = $scope.engineering.filter(function (item) {221 return !item.filtered222 });223 $scope.bnumbers = Math.ceil(engineering.length / $scope.numberofEngineeringPerPage);224 if ($scope.currentEngineeringPage < 1) $scope.currentEngineeringPage = 1;225 if ($scope.currentEngineeringPage > $scope.bnumbers) $scope.currentEngineeringPage = $scope.bnumbers;226 var begin = (($scope.currentEngineeringPage - 1) * $scope.numberofEngineeringPerPage),227 end = begin + $scope.numberofEngineeringPerPage;228 $scope.filteredEngineeringVideos = engineering.slice(begin, end);229 }230 // Getting Science Videos231 db.collection("Videos").onSnapshot(function (querySnapshot) {232 $scope.science = [];233 querySnapshot.forEach(function (doc) {234 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Science") {235 var videoJson = {236 id: doc.id,237 data: doc.data(),238 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')239 }240 $scope.science.push(videoJson);241 242 $scope.science.sort($scope.orderByDate);243 }244 });245 $scope.$apply();246 });247 $scope.currentSciencePage = 1;248 $scope.numberofSciencePerPage = 4;249 $scope.showMoreScienceClicked = false;250 $scope.reverseSortSci = true,251 $scope.orderByFieldSci = 'timestamp'252 $scope.$watch("science.length", sciencepaginationFunc);253 $scope.$watch("currentSciencePage + numberofSciencePerPage", sciencepaginationFunc);254 $scope.showLessScience = function (index) {255 $scope.numberofSciencePerPage = index * 4;256 console.log(index);257 $scope.showMoreScienceClicked = false;258 }259 $scope.showMoreScience = function (index) {260 $scope.numberofSciencePerPage = index * 100;261 console.log(index);262 $scope.showMoreScienceClicked = true;263 }264 function sciencepaginationFunc() {265 var science = $scope.science.filter(function (item) {266 return !item.filtered267 });268 $scope.enumbers = Math.ceil(science.length / $scope.numberofSciencePerPage);269 if ($scope.currentSciencePage < 1) $scope.currentSciencePage = 1;270 if ($scope.currentSciencePage > $scope.enumbers) $scope.currentSciencePage = $scope.enumbers;271 var begin = (($scope.currentSciencePage - 1) * $scope.numberofSciencePerPage),272 end = begin + $scope.numberofSciencePerPage;273 $scope.filteredScienceVideos = science.slice(begin, end);274 }275 // Getting Computing Videos276 db.collection("Videos").onSnapshot(function (querySnapshot) {277 $scope.computing = [];278 querySnapshot.forEach(function (doc) {279 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Computing") {280 var videoJson = {281 id: doc.id,282 data: doc.data(),283 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')284 }285 $scope.computing.push(videoJson);286 287 $scope.computing.sort($scope.orderByDate);288 }289 });290 $scope.$apply();291 });292 $scope.currentComputingPage = 1;293 $scope.numberofComputingPerPage = 4;294 $scope.showMoreComputingClicked = false;295 $scope.reverseSortComp = true,296 $scope.orderByFieldComp = 'timestamp'297 $scope.$watch("computing.length", computingpaginationFunc);298 $scope.$watch("currentComputingPage + numberofComputingPerPage", computingpaginationFunc);299 $scope.showLessComputing = function (index) {300 $scope.numberofComputingPerPage = index * 4;301 console.log(index);302 $scope.showMoreComputingClicked = false;303 }304 $scope.showMoreComputing = function (index) {305 $scope.numberofComputingPerPage = index * 100;306 console.log(index);307 $scope.showMoreComputingClicked = true;308 }309 function computingpaginationFunc() {310 var computing = $scope.computing.filter(function (item) {311 return !item.filtered312 });313 $scope.cnumbers = Math.ceil(computing.length / $scope.numberofComputingPerPage);314 if ($scope.currentComputingPage < 1) $scope.currentComputingPage = 1;315 if ($scope.currentComputingPage > $scope.cnumbers) $scope.currentComputingPage = $scope.cnumbers;316 var begin = (($scope.currentComputingPage - 1) * $scope.numberofComputingPerPage),317 end = begin + $scope.numberofComputingPerPage;318 $scope.filteredComputingVideos = computing.slice(begin, end);319 }320 // Getting English Language Videos321 db.collection("Videos").onSnapshot(function (querySnapshot) {322 $scope.englishLanguage = [];323 querySnapshot.forEach(function (doc) {324 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "English Language") {325 var videoJson = {326 id: doc.id,327 data: doc.data(),328 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')329 }330 $scope.englishLanguage.push(videoJson);331 332 $scope.englishLanguage.sort($scope.orderByDate);333 }334 });335 $scope.$apply();336 });337 $scope.currentEnglishPage = 1;338 $scope.numberofEnglishPerPage = 4;339 $scope.showMoreEnglishClicked = false;340 $scope.reverseSortEnglish = true,341 $scope.orderByFieldEnglish = 'timestamp'342 $scope.$watch("englishLanguage.length", englishpaginationFunc);343 $scope.$watch("currentEnglishPage + numberofEnglishPerPage", englishpaginationFunc);344 $scope.showLessEnglish = function (index) {345 $scope.numberofEnglishPerPage = index * 4;346 console.log(index);347 $scope.showMoreEnglishClicked = false;348 }349 $scope.showMoreEnglish = function (index) {350 $scope.numberofEnglishPerPage = index * 100;351 console.log(index);352 $scope.showMoreEnglishClicked = true;353 }354 function englishpaginationFunc() {355 var english = $scope.englishLanguage.filter(function (item) {356 return !item.filtered357 });358 $scope.enumbers = Math.ceil(english.length / $scope.numberofEnglishPerPage);359 if ($scope.currentEnglishPage < 1) $scope.currentEnglishPage = 1;360 if ($scope.currentEnglishPage > $scope.enumbers) $scope.currentEnglishPage = $scope.enumbers;361 var begin = (($scope.currentEnglishPage - 1) * $scope.numberofEnglishPerPage),362 end = begin + $scope.numberofEnglishPerPage;363 $scope.filteredEnglishVideos = english.slice(begin, end);364 }365 // Getting Post Graduate Coursework Videos366 db.collection("Videos").onSnapshot(function (querySnapshot) {367 $scope.postgraduateCoursework = [];368 querySnapshot.forEach(function (doc) {369 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Postgraduate (Coursework)") {370 var videoJson = {371 id: doc.id,372 data: doc.data(),373 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')374 }375 $scope.postgraduateCoursework.push(videoJson);376 377 $scope.postgraduateCoursework.sort($scope.orderByDate);378 }379 });380 $scope.$apply();381 });382 $scope.currentPgCoursePage = 1;383 $scope.numberofPgCoursePerPage = 4;384 $scope.showMorePgCourseClicked = false;385 $scope.reverseSortPC = true,386 $scope.orderByFieldPC = 'timestamp'387 $scope.$watch("postgraduateCoursework.length", pgCoursepaginationFunc);388 $scope.$watch("currentPgCoursePage + numberofPgCoursePerPage", pgCoursepaginationFunc);389 $scope.showLessPgCourse = function (index) {390 $scope.numberofPgCoursePerPage = index * 4;391 console.log(index);392 $scope.showMorePgCourseClicked = false;393 }394 $scope.showMorePgCourse = function (index) {395 $scope.numberofPgCoursePerPage = index * 100;396 console.log(index);397 $scope.showMorePgCourseClicked = true;398 }399 function pgCoursepaginationFunc() {400 var pgCourse = $scope.postgraduateCoursework.filter(function (item) {401 return !item.filtered402 });403 $scope.pgcnumbers = Math.ceil(pgCourse.length / $scope.numberofPgCoursePerPage);404 if ($scope.currentPgCoursePage < 1) $scope.currentPgCoursePage = 1;405 if ($scope.currentPgCoursePage > $scope.pgcnumbers) $scope.currentPgCoursePage = $scope.pgcnumbers;406 var begin = (($scope.currentPgCoursePage - 1) * $scope.numberofPgCoursePerPage),407 end = begin + $scope.numberofPgCoursePerPage;408 $scope.filteredPgCourseVideos = pgCourse.slice(begin, end);409 }410 // Getting Post Graduate Research Videos411 db.collection("Videos").onSnapshot(function (querySnapshot) {412 $scope.postgraduateResearch = [];413 querySnapshot.forEach(function (doc) {414 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Postgraduate (Research)") {415 var videoJson = {416 id: doc.id,417 data: doc.data(),418 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')419 }420 $scope.postgraduateResearch.push(videoJson);421 422 $scope.postgraduateResearch.sort($scope.orderByDate);423 }424 });425 $scope.$apply();426 });427 $scope.currentPgResearchPage = 1;428 $scope.numberofPgResearchPerPage = 4;429 $scope.showMorePgResearchClicked = false;430 $scope.reverseSortPR = true,431 $scope.orderByFieldPR = 'timestamp'432 $scope.$watch("postgraduateResearch.length", pgResearchpaginationFunc);433 $scope.$watch("currentPgResearchPage + numberofPgResearchPerPage", pgResearchpaginationFunc);434 $scope.showLessPgResearch = function (index) {435 $scope.numberofPgResearchPerPage = index * 4;436 console.log(index);437 $scope.showMorePgResearchClicked = false;438 }439 $scope.showMorePgResearch = function (index) {440 $scope.numberofPgResearchPerPage = index * 100;441 console.log(index);442 $scope.showMorePgResearchClicked = true;443 }444 function pgResearchpaginationFunc() {445 var pgResearch = $scope.postgraduateResearch.filter(function (item) {446 return !item.filtered447 });448 $scope.pgrnumbers = Math.ceil(pgResearch.length / $scope.numberofPgResearchPerPage);449 if ($scope.currentPgResearchPage < 1) $scope.currentPgResearchPage = 1;450 if ($scope.currentPgResearchPage > $scope.pgrnumbers) $scope.currentPgResearchPage = $scope.pgrnumbers;451 var begin = (($scope.currentPgResearchPage - 1) * $scope.numberofPgResearchPerPage),452 end = begin + $scope.numberofPgResearchPerPage;453 $scope.filteredPgResearchVideos = pgResearch.slice(begin, end);454 }455 // Getting Short Courses Videos456 db.collection("Videos").onSnapshot(function (querySnapshot) {457 $scope.shortCourses = [];458 querySnapshot.forEach(function (doc) {459 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Short Courses") {460 var videoJson = {461 id: doc.id,462 data: doc.data(),463 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')464 }465 $scope.shortCourses.push(videoJson);466 467 $scope.shortCourses.sort($scope.orderByDate);468 }469 });470 $scope.$apply();471 });472 $scope.currentSCPage = 1;473 $scope.numberofSCPerPage = 4;474 $scope.showMoreSCClicked = false;475 $scope.reverseSortSVID = true,476 $scope.orderByFieldSVID = 'timestamp'477 $scope.$watch("shortCourses.length", SCResearchpaginationFunc);478 $scope.$watch("currentSCPage + numberofSCPerPage", SCResearchpaginationFunc);479 $scope.showLessSC = function (index) {480 $scope.numberofSCPerPage = index * 4;481 console.log(index);482 $scope.showMoreSCClicked = false;483 }484 $scope.showMoreSC = function (index) {485 $scope.numberofSCPerPage = index * 100;486 console.log(index);487 $scope.showMoreSCClicked = true;488 }489 function SCResearchpaginationFunc() {490 var SC = $scope.shortCourses.filter(function (item) {491 return !item.filtered492 });493 $scope.scnumbers = Math.ceil(SC.length / $scope.numberofSCPerPage);494 if ($scope.currentSCPage < 1) $scope.currentSCPage = 1;495 if ($scope.currentSCPage > $scope.scnumbers) $scope.currentSCPage = $scope.scnumbers;496 var begin = (($scope.currentSCPage - 1) * $scope.numberofSCPerPage),497 end = begin + $scope.numberofSCPerPage;498 $scope.filteredSCVideos = SC.slice(begin, end);499 }500 // #region Getting Others Videos501 db.collection("Videos").onSnapshot(function (querySnapshot) {502 $scope.others = [];503 querySnapshot.forEach(function (doc) {504 if (doc.data().block_status === false && doc.data().video_visibility === "Public" && doc.data().editing === false && doc.data().video_category === "Others") {505 var videoJson = {506 id: doc.id,507 data: doc.data(),508 timestamp: moment(doc.data().date_uploaded.toDate()).format('DD, MMMM YYYY HH:mm')509 }510 $scope.others.push(videoJson);511 512 $scope.others.sort($scope.orderByDate);513 }514 });515 $scope.$apply();516 });517 $scope.currentOthersPage = 1, $scope.numberofOthersPerPage = 4, $scope.showMoreOthersClicked = false, $scope.reverseSortOthers = true, $scope.orderByFieldOthers = 'timestamp'518 $scope.$watch("others.length", otherspaginationFunc);519 $scope.$watch("currentOthersPage + numberofOthersPerPage", otherspaginationFunc);520 $scope.showLessOthers = function (index) {521 $scope.numberofOthersPerPage = index * 4;522 console.log(index);523 $scope.showMoreOthersClicked = false;524 }525 $scope.showMoreOthers = function (index) {526 $scope.numberofOthersPerPage = index * 100;527 console.log(index);528 $scope.showMoreOthersClicked = true;529 }530 function otherspaginationFunc() {531 var others = $scope.others.filter(function (item) {532 return !item.filtered533 });534 $scope.onumbers = Math.ceil(others.length / $scope.numberofOthersPerPage);535 if ($scope.currentOthersPage < 1) $scope.currentOthersPage = 1;536 if ($scope.currentOthersPage > $scope.onumbers) $scope.currentOthersPage = $scope.onumbers;537 var begin = (($scope.currentOthersPage - 1) * $scope.numberofOthersPerPage),538 end = begin + $scope.numberofOthersPerPage;539 $scope.filteredOthersVideos = others.slice(begin, end);540 }541 // GETTING VIDEOS END ---------------------------------------------------------------------------------------------------542 // ORDER BY DATE FUNCTION543 $scope.orderByDate = function (a, b) {544 // Turn your strings into dates, and then subtract them545 // to get a value that is either negative, positive, or zero.546 return new Date(b.timestamp) - new Date(a.timestamp);547 };548}]);549app.filter('range', function () {550 return function (input, total) {551 total = parseInt(total);552 for (var i = 0; i < total; ++i) input.push(i);553 return input;554 };...

Full Screen

Full Screen

avis.js

Source:avis.js Github

copy

Full Screen

1export default {2 getBasiasParcelle (value) {3 // console.log('getBasiasParcelle')4 let avis = {5 lib: '',6 liste: []7 }8 avis.numberOf = value.entity.siteIndustrielBasiasSurParcelleDTOs.length9 if (avis.numberOf === 0) {10 avis.lib = 'N’est pas référencée dans l\'inventaire des sites ayant accueilli par le passé une activité susceptible d\'avoir pu généré une pollution des sols (BASIAS).'11 } else {12 avis.lib = 'est référencée dans l\'inventaire des sites ayant accueilli par le passé une activité susceptible d\'avoir pu généré une pollution des sols (BASIAS).'13 value.entity.siteIndustrielBasiasSurParcelleDTOs.forEach(function (element) {14 avis.liste.push(element)15 }, this)16 }17 return avis18 },19 getBasiasProximiteParcelle (value) {20 // console.log('getBasiasProximiteParcelle')21 let avis = {22 lib: '',23 liste: []24 }25 avis.numberOf = value.entity.siteIndustrielBasiasProximiteParcelleDTOs.length26 if (avis.numberOf !== 0) {27 avis.lib = avis.numberOf === 128 ? 'dans le voisinage immédiat de la (ou des) parcelle(s), un site ayant accueilli par le passé une activité susceptible d\'avoir pu générer une pollution des sols (BASIAS). Vous pouvez consulter la fiche consacrée à cette activité industrielle à l\'adresse suivante : '29 : 'dans le voisinage immédiat de la (ou des) parcelle(s), des sites ayant accueilli par le passé une activité susceptible d\'avoir pu générer une pollution des sols (BASIAS). Vous pouvez consulter les fiches consacrée à cette activité industrielle à l\'adresse suivante : '30 value.entity.siteIndustrielBasiasProximiteParcelleDTOs.forEach(function (element) {31 avis.liste.push(element)32 }, this)33 }34 return avis35 },36 getBasiasRaisonSocialeParcelle (value) {37 // console.log('getBasiasRaisonSociale')38 let avis = {39 lib: '',40 liste: []41 }42 avis.numberOf = value.entity.siteIndustrielBasiasParRaisonSocialeDTOs.length43 if (avis.numberOf !== 0) {44 avis.lib = 'un site dont la localisation est imprécise mais ayant potentiellement appartenu au même propriétaire (' + value.entity.nomProprietaire + ') : '45 value.entity.siteIndustrielBasiasParRaisonSocialeDTOs.forEach(function (element) {46 avis.liste.push(element)47 }, this)48 }49 return avis50 },51 getBasiasRayonParcelle (value) {52 let avis = {53 lib: '',54 liste: []55 }56 avis.numberOf = value.entity.siteIndustrielBasiasRayonParcelleDTOs.length57 if (avis.numberOf > 0) {58 value.entity.siteIndustrielBasiasRayonParcelleDTOs.forEach(function (element) {59 avis.liste.push(element)60 }, this)61 }62 // console.log(avis)63 return avis64 },65 getBasiasNonGeoreferencees (value) {66 let avis = {67 lib: 'Liste des sites BASIAS non géoréférencés',68 liste: []69 }70 avis.numberOf = value.entity.siteIndustrielBasiasNonGeorerenceesDTOs.length71 if (avis.numberOf !== 0) {72 value.entity.siteIndustrielBasiasNonGeorerenceesDTOs.forEach(function (element) {73 avis.liste.push(element)74 }, this)75 }76 return avis77 },78 getBasolParcelle (value) {79 let avis = {80 lib: '',81 liste: []82 }83 avis.numberOf = value.entity.siteIndustrielBasolSurParcelleDTOs.length84 if (avis.numberOf === 0) {85 avis.lib = 'N’est pas référencée dans l\'inventaire des sites pollués BASOL.'86 } else {87 avis.lib = 'Est référencée dans l\'inventaire des sites pollués BASOL.'88 value.entity.siteIndustrielBasolSurParcelleDTOs.forEach(function (element) {89 avis.liste.push(element)90 }, this)91 }92 return avis93 },94 getBasolProximiteParcelle () {95 return {numberOf: 0, lib: ''}96 },97 getBasolRayonParcelle (value) {98 let avis = {99 lib: '',100 liste: []101 }102 avis.numberOf = value.entity.siteIndustrielBasolRayonParcelleDTOs.length103 if (avis.numberOf > 0) {104 value.entity.siteIndustrielBasolRayonParcelleDTOs.forEach(function (element) {105 avis.liste.push(element)106 }, this)107 }108 return avis109 },110 getBasolNonGeoreferencees (value) {111 let avis = {112 lib: 'Liste des sites BASOL non géoréférencés',113 liste: []114 }115 avis.numberOf = value.entity.siteIndustrielBasolNonGeorerenceesDTOs.length116 if (avis.numberOf !== 0) {117 value.entity.siteIndustrielBasolNonGeorerenceesDTOs.forEach(function (element) {118 avis.liste.push(element)119 }, this)120 }121 return avis122 },123 getICSurParcelle (value) {124 let avis = {125 lib: '',126 liste: []127 }128 avis.numberOf = value.entity.installationClasseeSurParcelleDTOs.length129 if (avis.numberOf === 0) {130 avis.lib = 'N’est pas référencée dans l\'inventaire des installations classées en fonctionnement ou arrêtées.'131 } else {132 avis.lib = 'Est référencée dans l\'inventaire des installations classées sous le nom de :'133 value.entity.installationClasseeSurParcelleDTOs.forEach(function (element) {134 avis.liste.push(element)135 }, this)136 }137 return avis138 },139 getICProximiteParcelle () {140 return {numberOf: 0, lib: ''}141 },142 getICRayonParcelle (value) {143 let avis = {144 lib: '',145 liste: []146 }147 avis.numberOf = value.entity.installationClasseeRayonParcelleDTOs.length148 if (avis.numberOf > 0) {149 value.entity.installationClasseeRayonParcelleDTOs.forEach(function (element) {150 avis.liste.push(element)151 }, this)152 }153 return avis154 },155 getICNonGeoreferencees (value) {156 let avis = {157 lib: '',158 liste: []159 }160 avis.numberOf = value.entity.installationClasseeNonGeorerenceesDTOs.length161 if (avis.numberOf === 0) {162 avis.lib = 'Aucune Installation Classée non géoréférencée dans la commune'163 } else {164 avis.lib = 'Le résultat de cette recherche ne tient pas compte des ' + avis.numberOf + ' sites identifiés sur la commune qui n’ont pu être géolocalisés faute d’une information suffisante : '165 value.entity.installationClasseeNonGeorerenceesDTOs.forEach(function (element) {166 avis.liste.push(element)167 }, this)168 }169 return avis170 },171 getSISSurParcelle (value) {172 let avis = {173 lib: '',174 liste: []175 }176 avis.numberOf = value.entity.secteurInformationSolSurParcelleDTOs.length177 if (avis.numberOf === 0) {178 avis.lib = 'N’est pas situé en secteur d’information sur les sols (SIS).'179 } else {180 avis.lib = 'Est référencée dans l\'inventaire des secteurs d\'informations sur les sols'181 value.entity.secteurInformationSolSurParcelleDTOs.forEach(function (element) {182 avis.liste.push(element)183 }, this)184 }185 return avis186 },187 getSISNonGeoreferencees (value) {188 let avis = {189 lib: 'Liste des secteurs d\'information sur les sols non géoréférencés',190 liste: []191 }192 avis.numberOf = value.entity.secteurInformationSolNonGeorerenceesDTOs.length193 if (avis.numberOf !== 0) {194 value.entity.secteurInformationSolNonGeorerenceesDTOs.forEach(function (element) {195 avis.liste.push(element)196 }, this)197 }198 return avis199 }...

Full Screen

Full Screen

ChartMonth.js

Source:ChartMonth.js Github

copy

Full Screen

1import React, { useState, useEffect, useContext, createRef } from "react";2import { auth, db, storage, firebaseConfig } from "../config";3import {4 Chart as ChartJS,5 CategoryScale,6 LinearScale,7 BarElement,8 Title,9 Tooltip,10 Legend,11} from "chart.js";12import { Bar } from "react-chartjs-2";13import { display, height } from "@mui/system";14// /-------------Import pagination-------------/15import TablePagination from "@mui/material/TablePagination";16import NavigateNextIcon from "@mui/icons-material/NavigateNext";17import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";18import TooltipButton from "@mui/material/Tooltip";19import { Padding } from "@mui/icons-material";20ChartJS.register(21 CategoryScale,22 LinearScale,23 BarElement,24 Title,25 Tooltip,26 Legend27);28const ChartMonth = () => {29 const [isUsers, setUsers] = useState([]);30 var NumberofMonth = [];31 var msec = 86400000;32 var SumCheckofMonth = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];33 var [Next, setNext] = useState(0);34 const SettimeCurrent = () => {35 for (var i = 1; i < 13; i++) {36 let date = new Date(Date.now() - msec * Next);37 NumberofMonth.push(i + "/" + date.getFullYear());38 }39 return NumberofMonth;40 };41 const SettimeFirebase = () => {42 SettimeCurrent(NumberofMonth);43 for (var i = 0; i < isUsers.length; i++) {44 const DataFirebase = new Date(isUsers[i].regisDate.seconds * 1000);45 let Timeconfirm =46 DataFirebase.getMonth() + 1 + "/" + DataFirebase.getFullYear();47 if (NumberofMonth[0] == Timeconfirm) {48 SumCheckofMonth[0] += 1;49 } else if (NumberofMonth[1] == Timeconfirm) {50 SumCheckofMonth[1] += 1;51 } else if (NumberofMonth[2] == Timeconfirm) {52 SumCheckofMonth[2] += 1;53 } else if (NumberofMonth[3] == Timeconfirm) {54 SumCheckofMonth[3] += 1;55 } else if (NumberofMonth[4] == Timeconfirm) {56 SumCheckofMonth[4] += 1;57 } else if (NumberofMonth[5] == Timeconfirm) {58 SumCheckofMonth[5] += 1;59 } else if (NumberofMonth[6] == Timeconfirm) {60 SumCheckofMonth[6] += 1;61 } else if (NumberofMonth[7] == Timeconfirm) {62 SumCheckofMonth[7] += 1;63 } else if (NumberofMonth[8] == Timeconfirm) {64 SumCheckofMonth[8] += 1;65 } else if (NumberofMonth[9] == Timeconfirm) {66 SumCheckofMonth[9] += 1;67 } else if (NumberofMonth[10] == Timeconfirm) {68 SumCheckofMonth[10] += 1;69 } else if (NumberofMonth[11] == Timeconfirm) {70 SumCheckofMonth[11] += 1;71 }72 }73 return SumCheckofMonth;74 };75 const [Chartdata, setChartdata] = useState({76 labels: [],77 datasets: [],78 });79 const [Chartoption, setChartoption] = useState({});80 useEffect(() => {81 db.collection("users").onSnapshot((snapshot) => {82 setUsers(83 snapshot.docs.map((doc) => {84 return {85 id: doc.id,86 email: doc.data().email,87 uid: doc.data().uid,88 password: doc.data().password,89 username: doc.data().username,90 age: doc.data().age,91 weight: doc.data().weight,92 height: doc.data().height,93 imageUrl: doc.data().imageUrl,94 regisDate: doc.data().regisDate,95 };96 })97 );98 });99 SettimeFirebase();100 setChartdata({101 labels: [102 NumberofMonth[0],103 NumberofMonth[1],104 NumberofMonth[2],105 NumberofMonth[3],106 NumberofMonth[4],107 NumberofMonth[5],108 NumberofMonth[6],109 NumberofMonth[7],110 NumberofMonth[8],111 NumberofMonth[9],112 NumberofMonth[10],113 NumberofMonth[11],114 ],115 datasets: [116 {117 label: "Month",118 data: [119 SumCheckofMonth[0],120 SumCheckofMonth[1],121 SumCheckofMonth[2],122 SumCheckofMonth[3],123 SumCheckofMonth[4],124 SumCheckofMonth[5],125 SumCheckofMonth[6],126 SumCheckofMonth[7],127 SumCheckofMonth[8],128 SumCheckofMonth[9],129 SumCheckofMonth[10],130 SumCheckofMonth[11],131 ],132 borderColor: "rgba(23, 19, 68, 0.857)",133 backgroundColor: "rgba(34, 26, 125, 0.857)",134 },135 ],136 });137 setChartoption({138 responsive: true,139 plugins: {140 legend: {141 position: "top",142 },143 title: {144 display: true,145 },146 },147 });148 }, []);149 setTimeout(() => {150 SettimeFirebase();151 setChartdata({152 labels: [153 NumberofMonth[0],154 NumberofMonth[1],155 NumberofMonth[2],156 NumberofMonth[3],157 NumberofMonth[4],158 NumberofMonth[5],159 NumberofMonth[6],160 NumberofMonth[7],161 NumberofMonth[8],162 NumberofMonth[9],163 NumberofMonth[10],164 NumberofMonth[11],165 ],166 datasets: [167 {168 label: "Month",169 data: [170 SumCheckofMonth[0],171 SumCheckofMonth[1],172 SumCheckofMonth[2],173 SumCheckofMonth[3],174 SumCheckofMonth[4],175 SumCheckofMonth[5],176 SumCheckofMonth[6],177 SumCheckofMonth[7],178 SumCheckofMonth[8],179 SumCheckofMonth[9],180 SumCheckofMonth[10],181 SumCheckofMonth[11],182 ],183 borderColor: "rgba(23, 19, 68, 0.857)",184 backgroundColor: "rgba(34, 26, 125, 0.857)",185 },186 ],187 });188 }, 1000);189 return (190 <div191 style={{192 transition: "box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",193 color: "rgba(0, 0, 0, 0.87)",194 boxShadow:195 "0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)",196 width: "100%",197 // backdropFilter: "blur(5px)",198 // backgroundColor: "rgba(179, 187, 211, 0.605)",199 backgroundColor: "rgba(255, 255, 255)",200 position: "relative",201 margin: "0 auto",202 height: "100%",203 top: "33px",204 padding: "25px 70px 25px 40px",205 borderRadius: "4px",206 display: "flex",207 flexWrap: "wrap",208 }}209 >210 <p211 style={{212 fontWeight: "700",213 position: "relative",214 top: "20px",215 left: "10px",216 color: "rgb(70, 73, 90)",217 }}218 >219 Users220 </p>221 <Bar222 style={{ position: "relative", top: "-40px" }}223 width={200}224 height={80}225 options={Chartoption}226 data={Chartdata}227 ></Bar>228 <p229 style={{230 fontWeight: "700",231 position: "relative",232 top: "-85px",233 right: "-1580px",234 color: "rgb(70, 73, 90)",235 }}236 >237 Month238 </p>239 <NavigateNextIcon240 sx={{241 color: "black",242 position: "relative",243 left: "780px",244 bottom: "10px",245 fontSize: "26px",246 }}247 onClick={() => setNext(Next - 365)}248 ></NavigateNextIcon>249 <NavigateBeforeIcon250 sx={{251 color: "black",252 position: "relative",253 left: "680px",254 bottom: "10px",255 fontSize: "26px",256 }}257 onClick={() => setNext(Next + 365)}258 ></NavigateBeforeIcon>259 </div>260 );261};...

Full Screen

Full Screen

logic.js

Source:logic.js Github

copy

Full Screen

1function countBtn() {2 let price = document.getElementById("price").value3 let sum = document.getElementById("sum").value4 price = parseFloat(price)5 sum = parseFloat(sum)6 console.log(price, sum)7 let change = sum - price 8 let result = "du ska få tillbaka \n"9 10 11 if(change < 0) {12 result = "du får inte handla något"13 } else if(Number.isNaN(change)) {14 result = "både pris och summa måste anges"15 } else {16 let numberOf = change / 100017 numberOf = Math.floor(numberOf)18 if(numberOf > 0) {19 result = result + numberOf + " tusenlappar \n"20 change = change - numberOf * 100021 } 22 numberOf = change / 50023 numberOf = Math.floor(numberOf)24 25 if(numberOf > 0) {26 result = result + numberOf + " femhundralappar \n"27 change = change - numberOf * 50028 } 29 numberOf = change / 20030 numberOf = Math.floor(numberOf)31 32 if(numberOf > 0) {33 result = result + numberOf + " tvåhundralappar \n"34 change = change - numberOf * 20035 } 36 numberOf = change / 10037 numberOf = Math.floor(numberOf)38 39 if(numberOf > 0) {40 result = result + numberOf + " hundralappar \n"41 change = change - numberOf * 10042 } 43 numberOf = change / 5044 numberOf = Math.floor(numberOf)45 46 if(numberOf > 0) {47 result = result + numberOf + " femtiolappar \n"48 change = change - numberOf * 5049 } 50 51 numberOf = change / 2052 numberOf = Math.floor(numberOf)53 54 if(numberOf > 0) {55 result = result + numberOf + " tjugolappar \n"56 change = change - numberOf * 2057 } 58 numberOf = change / 1059 numberOf = Math.floor(numberOf)60 61 if(numberOf > 0) {62 result = result + numberOf + " tiokronor \n"63 change = change - numberOf * 1064 } 65 numberOf = change / 566 numberOf = Math.floor(numberOf)67 68 if(numberOf > 0) {69 result = result + numberOf + " femkronor \n"70 change = change - numberOf * 571 } 72 numberOf = change / 273 numberOf = Math.floor(numberOf)74 75 if(numberOf > 0) {76 result = result + numberOf + " tvåkronor \n"77 change = change - numberOf * 278 } 79 80 numberOf = Math.floor(change)81 82 if(numberOf > 0) {83 result = result + numberOf + " enkronor \n"84 change = change - numberOf * 185 } 86 console.log(numberOf)87 }88 89 console.log(result)90 alert(result)...

Full Screen

Full Screen

CzechLang.js

Source:CzechLang.js Github

copy

Full Screen

1"use strict";2(function(){3setup.c10s.CzechLang = function(4) {5};6let thatProto = setup.c10s.CzechLang.prototype;7/**EXAMPLE:8 * czechLang.numberOf(['kámen','kameny','kamenů'], 7): returns '7 kamenů'9 * czechLang.numberOf(['kámen','kameny','kamenů'], 1): returns '1 kámen'10 * czechLang.numberOf(['kámen','kameny','kamenů'], 4): returns '4 kameny'11 * czechLang.numberOf(['kámen','kameny','kamenů'], 0): returns '0 kamenů'12 * 13 EXAMPLE OF OMITTING INTEGER IN RETURN VALUE:14 * czechLang.numberOf(['kámen','kameny','kamenů'], 7, false): returns 'kamenů'15 * czechLang.numberOf(['kámen','kameny','kamenů'], 1, false): returns 'kámen'16 * czechLang.numberOf(['kámen','kameny','kamenů'], 4, false): returns 'kameny'17 * czechLang.numberOf(['kámen','kameny','kamenů'], 0, false): returns 'kamenů'18 */19thatProto.numberOf = function(20 oneTwoFiveOfItArray,21 amount,22 returnWithInteger = true23 ) {24 let [oneOfIt, twoOfIt, fiveOfIt] = oneTwoFiveOfItArray;25 let prepender = '';26 if(returnWithInteger) {27 prepender = `${amount} `;28 }29 if(amount === 1) {30 return `${prepender}${oneOfIt}`;31 } else if((amount > 1) && (amount < 5)) {32 return `${prepender}${twoOfIt}`;33 } else { // this is also, if the amount equals to zero34 return `${prepender}${fiveOfIt}`;35 }36 };...

Full Screen

Full Screen

vezba04.js

Source:vezba04.js Github

copy

Full Screen

1//1.Vezba 2// var name = prompt ("Enter student name");3// var numberofSubjects = prompt ("Enter number od subject..");4// numberofSubjects = parseInt(numberofSubjects);5// var subjects = [];6// for (i=0 ; i < numberofSubjects; i++){7// let temp = prompt("Enter grade");8// temp = parseInt(temp);9// subjects.push(temp);10// }11// var sum = 0 ;12// subjects.forEach(element =>{13// sum += element ;14// });15// console.log(sum);1617// var avg = sum/numberofSubjects;18// console.log("Studentot" + name + "ima prosek od " + avg);19// console.log(name);20// console.log(numberofSubjects);21// console.log(subjects);2223//2.Vezba24var name = prompt ("Enter student name");25var numberofSubjects = prompt ("Enter number of subject");26numberofSubjects = parseInt(numberofSubjects);27var subjects = [];28var i = 0;2930 do {31 let temp = prompt("Enter grade");32 temp = parseInt(temp);33 subjects.push(temp);34 i++35 }36 while(i.numberofSubjects);3738 var sum = 0 ;39 subjects.forEach(element =>{40 sum += element ;41 });4243 var avg = sum/numberofSubjects;44 console.log("Studentot " + name + " ima prosek od " + avg);45463. ...

Full Screen

Full Screen

Task_6.js

Source:Task_6.js Github

copy

Full Screen

1/*26 Спросите у пользователя номер месяца 3(это будет число из интервала от 1 до 12) . 4Определите в какую пору года попадает этот месяц (зима, лето, весна, осень).5*/6let numberofMonth = prompt('Введите номер месяца');7if (numberofMonth ==12 || numberofMonth <=2){8 alert ("Зима");9}else if (numberofMonth >=3 && numberofMonth <=5){10 alert ("Весна");11}else if (numberofMonth >5 && numberofMonth <9){12 alert ("Лето");13}else if (numberofMonth >=9 && numberofMonth <12){14 alert ("Осень");...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 const numberOfElements = await page.$$eval('input', NumberOf);7 console.log(numberOfElements);8 await browser.close();9})();10function NumberOf(elements) {11 return elements.length;12}13const numberOfElements = await page.$$eval('input', NumberOf);14const numberOfElements = await page.$$eval('input', NumberOf);15const numberOfElements = await page.$$eval('input', NumberOf);16const numberOfElements = await page.$$eval('input', NumberOf);

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 const elementHandle = await page.$('input[name="q"]');7 await elementHandle.press('A');8 await elementHandle.press('B');9 await elementHandle.press('C');10 await elementHandle.press('D');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 await page.screenshot({ path: `example.png` });7 await browser.close();8})();9const { chromium } = require('playwright');10const { NumberOf } = require('playwright/lib/internal');11(async () => {12 const browser = await chromium.launch();13 const context = await browser.newContext();14 const page = await context.newPage();15 await page.screenshot({ path: `example.png` });16 await browser.close();17})();18const { chromium } = require('playwright');19const { NumberOf } = require('playwright/lib/internal');20(async () => {21 const browser = await chromium.launch();22 const context = await browser.newContext();23 const page = await context.newPage();24 await page.screenshot({ path: `example.png` });25 await browser.close();26})();27const { chromium } = require('playwright');28const { NumberOf } = require('playwright/lib/internal');29(async () => {30 const browser = await chromium.launch();31 const context = await browser.newContext();32 const page = await context.newPage();33 await page.screenshot({ path: `example.png` });34 await browser.close();35})();36const { chromium } = require('playwright');37const { NumberOf } = require('playwright/lib/internal');38(async () => {39 const browser = await chromium.launch();40 const context = await browser.newContext();41 const page = await context.newPage();42 await page.screenshot({ path: `example.png` });43 await browser.close();44})();45const { chromium } = require('playwright');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 const numberOfElements = await page.$$eval('div', (divs) => {7 return divs.length;8 });9 console.log(numberOfElements);10 await browser.close();11})();12const { chromium } = require('playwright');13(async () => {14 const browser = await chromium.launch();15 const context = await browser.newContext();16 const page = await context.newPage();17 const numberOfElements = await page.$$eval('div', (divs) => {18 return divs.length;19 });20 console.log(numberOfElements);21 await browser.close();22})();23const { chromium } = require('playwright');24(async () => {25 const browser = await chromium.launch();26 const context = await browser.newContext();27 const page = await context.newPage();28 const numberOfElements = await page.$$eval('div', (divs) => {29 return divs.length;30 });31 console.log(numberOfElements);32 await browser.close();33})();34const { chromium } = require('playwright');35(async () => {36 const browser = await chromium.launch();37 const context = await browser.newContext();38 const page = await context.newPage();39 const numberOfElements = await page.$$eval('div', (divs) => {40 return divs.length;41 });42 console.log(numberOfElements);43 await browser.close();44})();45const { chromium } = require('playwright');46(async () => {47 const browser = await chromium.launch();48 const context = await browser.newContext();49 const page = await context.newPage();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const page = await browser.newPage();5 const numberOf = await page.evaluate(() => {6 return window.playwrightInternal.numberOf;7 });8 console.log(numberOf);9 await browser.close();10})();11const { chromium } = require('playwright');12(async () => {13 const browser = await chromium.launch();14 const page = await browser.newPage();15 const numberOf = await page.evaluate(() => {16 return window.playwrightInternal.numberOf;17 });18 console.log(numberOf);19 await browser.close();20})();21const { chromium } = require('playwright');22(async () => {23 const browser = await chromium.launch();24 const page = await browser.newPage();25 const numberOf = await page.evaluate(() => {26 return window.playwrightInternal.numberOf;27 });28 console.log(numberOf);29 await browser.close();30})();31const { chromium } = require('playwright');32(async () => {33 const browser = await chromium.launch();34 const page = await browser.newPage();35 const numberOf = await page.evaluate(() => {36 return window.playwrightInternal.numberOf;37 });38 console.log(numberOf);39 await browser.close();40})();41const { chromium } = require('playwright');42(async () => {43 const browser = await chromium.launch();44 const page = await browser.newPage();45 const numberOf = await page.evaluate(() => {46 return window.playwrightInternal.numberOf;47 });48 console.log(numberOf);49 await browser.close();50})();51const { chromium } = require('playwright');52(async () => {53 const browser = await chromium.launch();54 const page = await browser.newPage();55 const numberOf = await page.evaluate(() => {56 return window.playwrightInternal.numberOf;57 });58 console.log(numberOf);59 await browser.close();60})();61const { chromium } =

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('playwright');2(async () => {3 const browser = await chromium.launch();4 const context = await browser.newContext();5 const page = await context.newPage();6 const numberOfElements = await page.internal.numberOf('text=Get Started');7 console.log(numberOfElements);8 await browser.close();9})();10page.internal.numberOf(selector[, options])11const numberOfElements = await page.internal.numberOf('text=Get Started', { timeout: 5000 });

Full Screen

Using AI Code Generation

copy

Full Screen

1const {InternalAPI} = require('playwright');2const {BrowserContext} = require('playwright/lib/server/browserContext');3const {Page} = require('playwright/lib/server/page');4const {Frame} = require('playwright/lib/server/frame');5const numberOf = new InternalAPI().numberOf;6const browserContext = new BrowserContext();7const page = new Page(browserContext, 'pageId');8const frame = new Frame(page, 'frameId');9console.log(numberOf(page));10console.log(numberOf(frame));

Full Screen

Using AI Code Generation

copy

Full Screen

1const { test, expect } = require('@playwright/test');2test('test', async ({ page }) => {3 const numberOfElements = await page.$$eval('a', (links) => links.length);4 expect(numberOfElements).toBe(8);5});6 at Object.<anonymous> (test.js:4:5)7 at TestImpl._runBody (node_modules/playwright/lib/test/test.js:86:7)8 at TestImpl.run (node_modules/playwright/lib/test/test.js:59:7)9 at Runner._runTest (node_modules/playwright/lib/test/runner.js:263:7)10 at Runner._runQueue (node_modules/playwright/lib/test/runner.js:333:7)11 at processTicksAndRejections (internal/process/task_queues.js:93:5)12 at async Runner.run (node_modules/playwright/lib/test/runner.js:188:7)13 at async main (node_modules/playwright/

Full Screen

Using AI Code Generation

copy

Full Screen

1const { InternalBinding } = require('internal/test/binding');2const { NumberOf } = InternalBinding('playwright');3console.log(NumberOf());4const { InternalBinding } = require('internal/test/binding');5const { NumberOf } = InternalBinding('playwright');6console.log(NumberOf());7const { InternalBinding } = require('internal/test/binding');8const { NumberOf } = InternalBinding('playwright');9console.log(NumberOf());

Full Screen

Playwright tutorial

LambdaTest’s Playwright tutorial will give you a broader idea about the Playwright automation framework, its unique features, and use cases with examples to exceed your understanding of Playwright testing. This tutorial will give A to Z guidance, from installing the Playwright framework to some best practices and advanced concepts.

Chapters:

  1. What is Playwright : Playwright is comparatively new but has gained good popularity. Get to know some history of the Playwright with some interesting facts connected with it.
  2. How To Install Playwright : Learn in detail about what basic configuration and dependencies are required for installing Playwright and run a test. Get a step-by-step direction for installing the Playwright automation framework.
  3. Playwright Futuristic Features: Launched in 2020, Playwright gained huge popularity quickly because of some obliging features such as Playwright Test Generator and Inspector, Playwright Reporter, Playwright auto-waiting mechanism and etc. Read up on those features to master Playwright testing.
  4. What is Component Testing: Component testing in Playwright is a unique feature that allows a tester to test a single component of a web application without integrating them with other elements. Learn how to perform Component testing on the Playwright automation framework.
  5. Inputs And Buttons In Playwright: Every website has Input boxes and buttons; learn about testing inputs and buttons with different scenarios and examples.
  6. Functions and Selectors in Playwright: Learn how to launch the Chromium browser with Playwright. Also, gain a better understanding of some important functions like “BrowserContext,” which allows you to run multiple browser sessions, and “newPage” which interacts with a page.
  7. Handling Alerts and Dropdowns in Playwright : Playwright interact with different types of alerts and pop-ups, such as simple, confirmation, and prompt, and different types of dropdowns, such as single selector and multi-selector get your hands-on with handling alerts and dropdown in Playright testing.
  8. Playwright vs Puppeteer: Get to know about the difference between two testing frameworks and how they are different than one another, which browsers they support, and what features they provide.
  9. Run Playwright Tests on LambdaTest: Playwright testing with LambdaTest leverages test performance to the utmost. You can run multiple Playwright tests in Parallel with the LammbdaTest test cloud. Get a step-by-step guide to run your Playwright test on the LambdaTest platform.
  10. Playwright Python Tutorial: Playwright automation framework support all major languages such as Python, JavaScript, TypeScript, .NET and etc. However, there are various advantages to Python end-to-end testing with Playwright because of its versatile utility. Get the hang of Playwright python testing with this chapter.
  11. Playwright End To End Testing Tutorial: Get your hands on with Playwright end-to-end testing and learn to use some exciting features such as TraceViewer, Debugging, Networking, Component testing, Visual testing, and many more.
  12. Playwright Video Tutorial: Watch the video tutorials on Playwright testing from experts and get a consecutive in-depth explanation of Playwright automation testing.

Run Playwright Internal automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful