Updated comment in css
Coded html doc with js script
Cleared js file for use.
coded required js comment
added purpose statement concerning medical treatment.
added comment and definition of variable prompting for systolic pressure.
added comment and definition of variable for erectile disfunction meds and prompt.
added true false variable for ed use. added comment and defined nitro dose variable.
added validation comment and coded if statement comparing variables in OR logic.
added comment and console log for data entry error.
added else statement and comment for console display for correct data display.
commented on equation for determining remaining doses available. defined available nitro variable.
commented on contraindication of ed meds. stated use of ternary.
coded ternary to compare possible spellings of yes input for ED and wrote statements.
added comment and coded display to console with ed use yes or no variable.
added comment for if statement concerning systolic pressure comparison and intent to use AND boolean conditional.
coded if statement comparing ed "no" answer posibilities, systolic pressure, and available nitro.
added comment for console messages for true results of if statement.
coded console display with message including systolic pressure, nitro eligibility and remaining doses with supporting info.
added else component and comment for results of false indications of boolean statement.