tags$div(HTML) div markup combining class and style issue

I an building my landing page UI using this tag :

tags$div(HTML(''))

For example, I want to create a backround carousel using this snippet
https://codepen.io/nikhil/pen/RPOXya but divs combining "class" and "style" are not working in shiny.

for example :

<div class="item" style="background-image: url(https://unsplash.it/1600/840?image=545);">

and produce ERROR: attempt to apply non-function error

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.