Project-3: LED Control

Hello, everyone! I did LED control project(Project-3), I followed the instructions in lectures, everything is going well. But I need to know in doing code(js), how can I display the ON and OFF button in a single line?

Hey there!
If you take a close look at your code, the output of the ON and OFF buttons will be in the same line only on the screen. If you want the buttons on the next line to each other, you can always modify your HTML code by


Can you share the code that you have written?

singleButton({name:“Led On”, action:“digitalWrite”,
pin:“0”, value:“HIGH”})

singleButton({name:“Led Off”, action:“digitalWrite”,
pin:“0”, value:“LOW”})

I want these two buttons inline.


Can you check this?