Hello World!
Exercise 1.0 - Hello World
Exercise
Modify the app to add “Hello World” to the main heading.
#| standalone: true
#| components: [viewer]
#| layout: horizontal
#| viewerHeight: 800
from shiny import Inputs, Outputs, Session, App, ui
app_ui = ui.page_fluid(ui.h1("Hello world!"))
def server(input: Inputs, output: Outputs, session: Session):
None
app = App(app_ui, server)
Exercise
Modify the app to add “Hello World” to the main heading.
#| standalone: true
#| components: [editor, viewer]
#| layout: horizontal
#| viewerHeight: 800
from shiny import Inputs, Outputs, Session, App, ui
app_ui = ui.page_fluid(ui.h1(""))
def server(input: Inputs, output: Outputs, session: Session):
None
app = App(app_ui, server)
Exercise
Modify the app to add “Hello World” to the main heading.
#| standalone: true
#| components: [editor, viewer]
#| layout: horizontal
#| viewerHeight: 800
from shiny import Inputs, Outputs, Session, App, ui
app_ui = ui.page_fluid(ui.h1("Hello world!"))
def server(input: Inputs, output: Outputs, session: Session):
None
app = App(app_ui, server)