Skip to content

Adjust tutorial template for correct ordering of dependency loading #499

@ghost

Description

In google chrome console window, it shows "ReferenceError: $ is not defined". I guess it is because the script below loads before jquery. I am using latest version of rmarkdown which fixed Invalid HTML code. PS - It also could not find favicon.

$(document).ready(function () {
--
  | window.buildTabsets("section-TOC");
  | });


---
title: "Hello, Tutorial!"
output: learnr::tutorial
runtime: shiny_prerendered
---

```{r setup, include=FALSE}
library(learnr)
```

This code computes the answer to one plus one, change it so it computes two plus two:

```{r addition, exercise=TRUE}
1 + 1
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions