Forum Discussion
Slider and Text Size Question
Robert,
You've done a great job with the code, but I'd like to present an alternate approach. You said: "Using different CSS classes for different font sizes and applying/removing these classes based on the slider value change is a clean and maintainable approach."
I agree it may be cleaner than a series of states, especially if by clean you mean more elegant and glamorous. It is not more maintainable. To maintain it, you need programming ability. That is a skill that is not necessarily in every Instructional Designer or Developer's toolkit. Very seldom is it even mentioned in searching for or hiring those people, and with good reason. Adding JS to a project should be done only as a very last resort, precisely because of the unlikelyhood that a future maintainer will be a former programmer, like you and I are.