My HTML with CSS has an issue where a custom HTML tag is not displaying the text while my CSS picks up another tag. Interestingly, replacing
<title>Layout Controls</title>
with <p>Layout Controls</p>
resolves the problem and shows the text.
I have uploaded a demo on JSFiddle. The JavaScript works on my browser and Coda2 but not on JS Fiddle. I must be missing something in how I am using Fiddle, so any guidance would be appreciated.
If there are any best-practice suggestions you can offer, feel free to share them as well. I'm here to learn.
<body>
<div class="input_group_box">
<title>Layout Controls</title><br />
<sub-title>X-Position</sub-title><br />
<input id="/layout/1/slider" class="slider" type="range" value="0" min="-1" max="1" step="0.001" onclick="bind('/layout/1', 'slider', parseInt(this.value*1000)/1000)" />
<input id="/layout/1/number" class="number-box" type="number" value="0" min="-1" max="1" step="0.01" onclick="bind('/layout/1', 'number', parseFloat(this.value))" /><br />
</div>
</body>
Can anyone explain why my JavaScript isn't binding the two inputs in the demo? Could it be related to changing the JSFiddle load settings? I'm a bit lost on that aspect.