made qs note update
added the dropdown functionality, bt is by tranfering variable from one function to another, simply made a local variable into global vriable based on fucniton execttuion of dropdown element