edwin-chalmers / fitlit

FitLit project starter kit for students
0 stars 0 forks source link

refactor updateAccounts #55

Open edwin-chalmers opened 7 months ago

edwin-chalmers commented 7 months ago

 I appreciate the focus on SRP, but wonder how the various updateAccount functions could be refactored. Rather than having a function for updating each single value, could we have one function that updates the innerHTML of the entire section?

edwin-chalmers commented 7 months ago

I appreciate the focus on SRP, but wonder how the various updateAccount functions could be refactored. Rather than having a function for updating each single value, could we have one function that updates the innerHTML of the entire section?