Can I make the tab buttons change color without duplicating the buttons?
Hi , I recreated this tabbed example of W3Schools : https://www.w3schools.com/howto/howto_js_full_page_tabs.asp I duplicated the buttons in order to show or hide them based on the view . Can we do this dynamically with style variables ? And maybe we can have a few more videos about using style variables . How to update them and use them with the styling tab . For me there 's still some confusion . Translating javascript into an action formula , was a bridge too far . I got confused by the variables in the function . I used the above solution . Does it really matters if we duplicate things , if the logic is easier to understand ? Lots of questions . But , I am happy that it works . In the example , the active button displays the same color as the visible body div . I want the button (eg Home ) to go from a gray state to a red color when the Home page view is active . Or , if I have a variable isActive ; how can I change styles based on either a boolean or a string value of that variable and tie it to an event ? i understand the logic , but not entirely how to translate that into a Toddle workflow .


.jpeg/public)