├── README.md ├── style.css ├── app.js └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # covid -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | body 2 | { 3 | color: mintcream; 4 | background: black; 5 | font-family: cursive; 6 | } 7 | hr{ 8 | background-color:inherit; 9 | border-style: none; 10 | border-top-style: dotted; 11 | border-color: wheat ; 12 | border-width: 6px; 13 | width: 20%; 14 | } 15 | .blogs 16 | { 17 | box-shadow: 0 0 50px #fff,-10px 0 80px #f0f,10px 0 80px #0ff; 18 | } -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | console.log('index.js loaded'); 2 | // request(`https://api.covid19india.org/state_district_wise.json`,function (err,response,body) { 3 | let submitBtn=document.getElementById('submitBtn'); 4 | submitBtn.addEventListener('click',handleClick); 5 | function handleClick(evt){ 6 | evt.preventDefault(); 7 | let selectedState=document.getElementById('state').value; 8 | //console.log(selectedState); 9 | let xhr=new XMLHttpRequest(); 10 | xhr.open("GET",'https://api.covid19india.org/state_district_wise.json',true); 11 | xhr.onload=function() 12 | { 13 | let myData=JSON.parse(this.responseText); 14 | // console.log(myData); 15 | let state=myData[`${selectedState}`]; 16 | let str=`
| ${distName[i]} | 26 |Active : ${distCasesArr[i].active} | 27 |Confirmed : ${distCasesArr[i].confirmed} | 28 |Deceased : ${distCasesArr[i].deceased} | 29 |Recovered : ${distCasesArr[i].recovered} | 30 | 31 | ` 32 | str+=row1; 33 | }; 34 | str+=`
This is a stressful time to say the least. Everything is impacted by COVID-19 in some way, including our work. 63 | Once we’ve taken time to acknowledge how lucky we are to work in digital, it’s time to assess if our current content strategy needs any adjusting based on current events. 64 | Wanting to write about something topical 65 | Needing to add more content to their calendars.
66 | Read Full Post 67 |As global communities respond to the COVID-19 pandemic, there has been an increasing emphasis on public health strategies, like social distancing measures, to slow the rate of transmission. In Google Maps, we use aggregated, anonymized data showing how busy certain types of places are—helping identify when a local business tends to be the most crowded....
73 | Read Full Post 74 |With the coronavirus pandemic continuing to spread, the WHO has said that Covid-19 will be with us for a long time. This is based on the assessment that the pandemic is still in its early stages in many parts of the world such as Africa and Central and South America......
80 | Read Full Post 81 |Separate yourself from other people 87 | 88 | As much as possible, stay in a specific room and away from other people and pets in your home. If possible, you should use a separate bathroom. If you need to be around other people or animals in or outside of the home, wear a cloth face covering. 89 | Monitor your symptoms..
90 | Read Full Post 91 |