Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in CH 17, block 17-javascript-2 #374

Open
martinherrerias opened this issue Aug 23, 2023 · 0 comments
Open

Error in CH 17, block 17-javascript-2 #374

martinherrerias opened this issue Aug 23, 2023 · 0 comments

Comments

@martinherrerias
Copy link

The explanation below does not match the code in the example.

  • Currently:
library(shiny)
fluidPage(
  titlePanel("Hello Shiny"), 
   textInput("act", "Ipt")
)
<div class="container-fluid">
  <h2>Hello Shiny</h2>
  <div class="form-group shiny-input-container">
    <label class="control-label" for="act">Ipt</label>
    <input id="act" type="text" class="form-control" value=""/>
  </div>
</div>
  • Should probably read:
library(shiny)
fluidPage(
  titlePanel("Hello Shiny"), 
   actionButton("act", "Ipt")
)
<div class="container-fluid">
  <h2>Hello Shiny</h2>
  <button id="act" type="button" class="btn btn-default action-button">Ipt</button>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant