New to dash and plotly and frontend development, need help

HI @mariasmo54, could you please format your code for better readability?