# External script and css links

**URL:** <https://community.plotly.com/t/external-script-and-css-links/32320>\
**Category:** Dash Python\
**Created:** [December 8, 2019, 5:51pm UTC](https://community.plotly.com/t/external-script-and-css-links/32320 "2019-12-08T17:51:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseMarqueses](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@JoseMarqueses](https://community.plotly.com/u/JoseMarqueses)\
**Post date:** [December 8, 2019, 5:51pm UTC](https://community.plotly.com/t/external-script-and-css-links/32320/1 "2019-12-08T17:51:59Z")

</div>

why external links doesnt work??

CODE:

```auto
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output, State
import dash_bootstrap_components as dbc
import visdcc
import datetime
import pandas as pd
import dash_dangerously_set_inner_html
    
external_scripts = ['https://demos.jquerymobile.com/1.4.2/js/jquery.mobile-1.4.2.min.js', 
                    'https://demos.jquerymobile.com/1.4.2/js/jquery.js']

external_stylesheets = ['https://demos.jquerymobile.com/1.4.2/css/themes/default/jquery.mobile-1.4.2.min.css']

app = dash.Dash( __name__ ,external_scripts = external_scripts,
                external_stylesheets = external_stylesheets)

app.layout = html.Div([
    visdcc.Run_js(id = 'javascript'),
    html.Div([
        dcc.Input(
            type="range",
            min=0,
            max=100,
            value=40,
        ),
        dcc.Input(
            type="range",
            min=0,
            max=100,
            value=40,
        )
    ],**{'data-role':'rangeslider'})
])

"""@app.callback(
    Output('javascript','run'),
    [Input('input1','value'),
    Input('input2','value')]
)
def kk(value1,value2):
    print("1")
    return value1"""
    
if __name__ == ' __main__':
    app.run_server()

```

Source from:  
[https://codepen.io/Pierre\_Hamel/pen/ocJEH](https://codepen.io/Pierre_Hamel/pen/ocJEH)

---

<div class="post-metadata">

**Author:** ![JoseMarqueses](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@JoseMarqueses](https://community.plotly.com/u/JoseMarqueses)\
**Post date:** [December 12, 2019, 10:40am UTC](https://community.plotly.com/t/external-script-and-css-links/32320/2 "2019-12-12T10:40:48Z")

</div>

can anyone tell me if the code works for him?
