PlutoUI is a set of functions that wrap HTML input controls to make it easier to create sliders, etc. in a Pluto notebook. You can bind any variable to the slider, and refer to the variable in a plot command, or anywhere else. It won’t solve your problem of using an undefined function. See my notebook for example code.
To display the value of the slider next to it, just interpolate the variable that it’s bound to right in the Markdown:
md"Time: $tslider $t Color: $ccpicker Line style: $lspicker"
Play with Pluto a bit more and it will click, be patient. It’s fun!
Most controls accept a default argument. I suggest looking through the sample notebooks that are provided when you run Pluto. They’re quite instructive!
My research area is solar physics, but I completed a course in stellar physics last semester. The program related to this thread was written for fun and to practice Julia, while using something I learned from the class!