Strikethrough Text on App Lab?

Link to the project or level:(App Lab - Code.org)
What I expect to happen: My student is creating a cafe simulator for the final project for the micro:bit unit. She wants to cross off the menu item if the correct button is pressed. I did some research and found that the setStyle block can be used to apply a strikethrough to the text, but it does not appear to be working within her function. Please help!!
What actually happens: Strikethrough does not apply to text
What I’ve tried: We also tried creating a hidden line element and making it appear when the button is pressed, but that does not work either.

Hi @mpestorius,

Great idea! Here is the good news…the setStyle works. On this very simple app, if you press one button or the other (button A or button B), the labels become crossed out.

The not as good news is I am not really sure what the app is doing. One thing to note is I can’t get the app to run with the board. Perhaps this is because I do not have the pins and wires setup - I’m not sure. I have many questions about the code. Some tips I might give are remember that variables connected to buttons will not change unless the onBoardEvent is used to capture that the user has input something on the board and clicked a button. So, if the app is intended to capture what buttons the user is clicking, there should be several onBoardEvents. Perhaps I am missing something because I can’t run the board and app so maybe others will have other ideas. I might suggest get it working with just onBoardEvents and then add the functions if they make sense.

Hope that helps,
~Michelle