Antibiotics Are Man's Greatest Invention

Test Your Superbug IQ

E coli

Getty Images

“,o=document.querySelector(e);o&&o.insertAdjacentHTML(“beforeend”,r),c=”.long-results-“+u}},g={“?”:p.Question,”+”:p.Choice,”-“:p.Choice,”!”:p.Feedback,”/”:p.Paragraph,”~”:p.Results};return void 0===r?p.Break():”function”!=typeof g[r]?p.Paragraph():g[r]()}u.classList.add(“rendered”),function(e){var o,n,a,s,l=document.querySelector(e);i=0,o=l.innerHTML,l.innerHTML=””,(s=document.createElement(“ol”)).classList.add(“quiz”,”js-quiz-ol”),l.appendChild(s),l.style.display=”block”,o=o.replace(/^n/gm,””).replace(/t/gm,” “).replace(/ +/gm,” “).replace(/n /gm,”n”).replace(/n+/gm,”n”).replace(/(!img[(.*?)]((.*?)) */!)/gm,’

$1

‘).replace(/(! *(.*?)!)/gm,””),n=o.split(“n”);var c={token:void 0,value:void 0,options:void 0,line:void 0};function p(e,t,r,o,n){c.token=void 0,c.value=void 0,c.options=void 0,c.line=void 0,””===r&&(r=0,”+”===t&&(r=1)),-1!==”?+-!/#~”.indexOf(t)?(c.token=t,c.value=r,c.options=void 0===o?””:o,c.line=void 0===n?””:n):c.token=void 0}for(var g=0;gn

{passfail} ‘+t.resultstitletext+’

n

‘+(t.resultstext||””)+’n

n n

‘;document.querySelector(“ol.js-quiz-ol”).insertAdjacentHTML(“afterend”,f),”single”===t.quiztype&&document.querySelectorAll(“.answer-list”).forEach(function(e){var t=e.querySelector(“.feedback”);t&&(e.insertAdjacentHTML(“beforeend”,t.outerHTML),e.removeChild(t))});console.log(“buildQuiz”,t)}(e),function(){console.log(t);var e=encodeURIComponent(s(t.socialtextincomplete,t)),r=encodeURIComponent(t.socialurl),o=’x3c!– share menu–x3en ‘;document.querySelector(“#quizresultshare”).innerHTML=o}(),window.quizSettings=t},t.quizHandler=function(){var e=window.quizSettings;console.log(e);var t=window.onBeginQuizComplete||!1,r=window.onEndQuizComplete||!1,o=(0,i.default)();o.observe();var n=[],a=document.querySelector(“h3#resulttitle”),l=document.querySelector(“#resulttext”);e.resultstitletext=a.innerHTML,e.resultstext=l.innerHTML,e.quiztype=document.querySelector(“#aquiz”).dataset.quizType,e.passscore=parseInt(document.querySelector(“#aquiz”).dataset.passScore)||””,e.maxpoints=(c=Array.from(document.querySelectorAll(“.answer-list”)).map(function(e){return Array.from(e.querySelectorAll(“.choice”)).reduce(function(e,t){var r=parseInt(t.dataset.value);return(r>e||null===e)&&(e=r),e},null)}),console.log(c),c.reduce(function(e,t){return e+t},0)),console.log(e.maxpoints),-1!==e.resultstext.indexOf(“|”)&&(e.resultstext=e.resultstext.split(“|”),e.variableResults=!0,console.log(e.resultstext));var c;var u={};function d(){this.blur(),this.classList.add(“choice-selected”),console.log(e);var i=parseInt(this.dataset.value),c=this.dataset.options,d=this.parentNode;if(“personality”===e.quiztype?n.push(c):n.push(i),console.log(n),d.querySelectorAll(“.clickable”).forEach(function(e){e.classList.remove(“clickable”),e.setAttribute(“tabindex”,-1)}),”single”===e.quiztype){var p=d.querySelector(“.feedback”);d.querySelector(“.feedback”)&&this.insertAdjacentHTML(“afterend”,p.outerHTML),p=d.querySelector(“.feedback”),”personality”===e.quiztype||this.classList.contains(“yes”)?this.classList.add(“right”):setTimeout(function(){d.querySelector(“.yes”).classList.add(“right”)},200),i”+(e.wrongtext||”Sorry, that’s incorrect.”)+” “+(e.answeristext||”The answer is”)+” “+function(e){var t;return e.querySelectorAll(“li.choice:not(.feedback)”).forEach(function(e,r){e.classList.contains(“yes”)&&(t=”ABCDEFGHIJKLMNOPQRSTUVWXYZ”.charAt(r))}),t}(d)+”.

“))):p&&(p.classList.add(“right”),”single”===e.quiztype&&p.querySelector(“p”).insertAdjacentHTML(“afterbegin”,”“+(e.righttext||”Correct!”)+”

“)),p&&(p.classList.add(“display-answer”),setTimeout(function(){p.classList.add(“expand-answer”)}))}else{this.classList.add(“right”);var g=this.nextSibling;g&&g.classList.contains(“feedback”)&&(g.classList.add(“display-answer”),setTimeout(function(){g.classList.add(“expand-answer”)}))}document.querySelectorAll(“.question”).length===n.length&&(console.log(“full tally”),function(){t&&t(e);e.passfail=””,e.total_questions=document.querySelectorAll(“.quiz li.question”).length,e.score=”personality”===e.quiztype?u.type():u.scoreQuiz(),”personality”===e.quiztype&&-1!==[“a”,”e”,”i”,”o”,”u”].indexOf(e.score.charAt(0).toLowerCase())?e.article=”an”:e.article=”a”;console.log(s(e.resultstitletext,e)),document.querySelector(“#quizresult”).classList.add(“complete”),console.log(“passscore”,e.passscore),””!==e.passscore&&(e.passfail=u.scoreQuiz()>=e.passscore?e.passtext:e.failtext);if(e.variableResults){var n={},i=[];for(var c in e.resultstext.forEach(function(e,t,r){t>0&&(n[r[t-1].match(/d+$/)[0]]=e.replace(/d+$/,””))}),n)n.hasOwnProperty(c)&&i.push(c);i.sort().reverse().forEach(function(t){e.score’+i[2]+””}return n})}},function(e,t,r){ /*! lozad.js – v1.7.0 – 2018-11-08 * https://github.com/ApoorvSaxena/lozad.js * Copyright (c) 2018 Apoorv Saxena; Licensed MIT */ e.exports=function(){“use strict”;var e=Object.assign||function(e){for(var t=1;t

Source