diff --git a/index.html b/index.html new file mode 100644 index 0000000..2d36fe6 --- /dev/null +++ b/index.html @@ -0,0 +1,37 @@ + + + + + + UNDP and the Global Fund Provide Malaria Tests and Drugs Where They Are Most Needed + + + + + + + + +

UNDP and the Global Fund Provide Malaria Tests and Drugs Where They Are Most Needed

+
+

14 November 2016, Jalalabad, Nangarhar – On a scorching July afternoon several years ago, a farmer rushed into a laboratory in downtown Jalalabad with his two-year-old son, Sabawoon, fainting in his arms. “I’m here to test him for malaria!” he blurted out.

+

Sabawoon had already been sick for two monthstwo months in his rural village, but no one knew what was wrong. Even though Afghanistan has the fourth-largest malaria burden outside of sub-Saharan Africa, diagnostic facilities were extremely limited. This laboratory in Jalalabad was the only place in the whole province with a track record of diagnosing the most severe form of malaria. Just one sharp-eyed technician and his ageing microscope meant the difference between diagnosis and disaster.

+

Highlights

+ + + + + +

These days, things are different. Thanks to new testing kits provided by UNDP and the Global Fund to 14,500 clinics across Afghanistan, village health workers can now prick a villager’s finger and get an accurate blood test in just 30 minutes. In a country with only one physician for every 3,750 people, these kits save lives because they can be used even by local health workers with minimal training.

+ Read the full story here. + + + + + + diff --git a/main.css b/main.css new file mode 100644 index 0000000..de81c8f --- /dev/null +++ b/main.css @@ -0,0 +1,20 @@ +body { + font-family: Arial, Helvetica, sans-serif; + background-color:cornsilk +} + + +h1 { + font-size:"50"; + color:black; +} + +#malaria-stat { + font-size:"20"; + color:dimgrey; +} + +.malaria-story { + color:darkviolet; + font-family:monospace +} \ No newline at end of file diff --git a/main.js b/main.js new file mode 100644 index 0000000..bc68260 --- /dev/null +++ b/main.js @@ -0,0 +1,40 @@ + +let captchaArray = ["CC25l", "DDeF9", "qRSTu9", "55JjK", "TTl09", "66iUJ", "rSTU8", "Pgh2m", "Wfz5m", "werP8", "98EezJ","ZzYu6"]; +let captcha = captchaArray[Math.floor(Math.random() * captchaArray.length)]; + +alert("We would appreciate if you can take this survey"); +let captchaResponse = prompt("Let's check you are a human. Please type this below: " + captcha); + +if (captcha == captchaResponse){ + + let name = prompt("What\'s your name?"); + let origin = prompt("Thanks, " + name + ". Where are you from?"); + console.log(name); + console.log(origin) + + let malariaCountries = prompt(name + ", can you tell me where malaria is so common?"); + + malariaCountries = ["Afghanistan", "Nigeria", "Uganda"]; + + for (let i=0; i