Line 31: | Line 31: | ||
var question4=1; | var question4=1; | ||
var question5=1; | var question5=1; | ||
− | + | var divi = document.createElement("div"); | |
− | var link = | + | function createLink(url,desc,p){ |
+ | link = document.createElement("a"); | ||
+ | link.href=url; | ||
+ | link.innerHTML= desc; | ||
+ | link.target= "_blank"; | ||
+ | p.appendChild(link); | ||
+ | divi.appendChild(p); | ||
+ | |||
+ | } | ||
Line 197: | Line 205: | ||
document.getElementById("yes").style.visibility="hidden"; | document.getElementById("yes").style.visibility="hidden"; | ||
document.getElementById("no").style.visibility="hidden"; | document.getElementById("no").style.visibility="hidden"; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
link4 = document.createElement("a"); | link4 = document.createElement("a"); | ||
link5 = document.createElement("a"); | link5 = document.createElement("a"); | ||
Line 217: | Line 213: | ||
para1 = document.createElement("p"); | para1 = document.createElement("p"); | ||
para1.innerHTML="For more information about yeast infections in men and as an STI check out this link."; | para1.innerHTML="For more information about yeast infections in men and as an STI check out this link."; | ||
+ | createLink("https://www.bmj.com/content/2/6079/93.abstract","Click here for more info about men's yeast infection",para1); | ||
para2.innerHTML="For more information about C.Albicans and its two different form, check out this link."; | para2.innerHTML="For more information about C.Albicans and its two different form, check out this link."; | ||
+ | createLink("http://journals.plos.org/plospathogens/article?id=10.1371/journal.ppat.1003661","Click here for more info on C.Albicans.",para2); | ||
para3.innerHTML="For more information about pH used to detect yeast infections, check out this link."; | para3.innerHTML="For more information about pH used to detect yeast infections, check out this link."; | ||
− | + | createLink("https://www.fda.gov/MedicalDevices/ProductsandMedicalProcedures/InVitroDiagnostics/HomeUseTests/ucm126074.html", See what FDA say about pH tests for yeast infections,para3); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
document.body.append(divi); | document.body.append(divi); | ||
Revision as of 16:25, 11 June 2018
Question 1
Men can also get yeast infections?