Slider 适用于 JSFiddle,仅在我尝试时显示文本框

Slider works on JSFiddle, only shows text box when I try it

http://jsfiddle.net/gefkwqv6/8/我发现了这个,当我想自己实现的时候,它只显示一个文本框。

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Slider test</title>
    <link rel="stylesheet" href="css/c.css">

</head>
<body>
<h1>HTML Slider Test</h1>

<div class="range-slider">
    <input type="text" class="js-range-slider" value=""/>
</div>
<div class="extra-controls">
    From: <input type="text" class="js-input-from" value="0" readonly/>
    To: <input type="text" class="js-input-to" value="0" readonly/>
</div>

<script src="js/jquery-2.2.3.min.js"></script>
<script src="js/C.js" rel="script"></script>

</body>
</html>

这是我的 JS

var $range = $(".js-range-slider"),
    $inputFrom = $(".js-input-from"),
    $inputTo = $(".js-input-to"),
    instance,
    min = 0,
    max = 1000;

$range.ionRangeSlider({
    type: "double",
    min: min,
    max: max,
    from: 100,
    to: 900,
    onStart: updateInputs,
    onChange: updateInputs,
    onFinish: updateInputs
});

function updateInputs (data) {
    $inputFrom.prop("value", data.from);
    $inputTo.prop("value", data.to);
}

instance = $range.data("ionRangeSlider");

我错过了什么?我需要导入其他东西吗?因为此刻我觉得这么简单的代码行不通

我认为您缺少一些 js 和 css 文件,它们是:

ion.rangeSlider.js // js file
ion.rangeSlider.css //css file 
ion.rangeSlider.skinHTML5.css // css file