diff --git a/pages/index.js b/pages/index.js index 7700463..4265341 100644 --- a/pages/index.js +++ b/pages/index.js @@ -224,7 +224,7 @@ export default function Home({ listOfElementsDefault }) { let nextStepSlider = ({ posList, binaryComparisons, sliderValue, Reasoning, element1, element2 }) => { if (sliderValue < 1 && sliderValue > 0) { - sliderValue = 1/sliderValue; + sliderValue = 1 / sliderValue; [element1, element2] = [element2, element1] } console.log(`posList@nextStepSlider:`) @@ -282,23 +282,18 @@ export default function Home({ listOfElementsDefault }) { { + onChange={(event) => { //console.log(event) //console.log(event.target.value) setSliderValue(event.target.value) }} - className="text-center" + className="text-center px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-lg border-0 shadow outline-none focus:outline-none focus:ring w-8/12 m-2 " />
{`times as valuable as ...`}
-
-