Skip to content

Tag: javascript

How to rewrite code without the .video element in it? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 months ago. Improve this question How would that be done here? https://jsfiddle.net/bqfv5j06/ Those were the instructions I w…

create a route with vue router

I have some issues creating a router using router on vuejs. My file main.js was just like the code below and then when I changed to add some routes I got the error below MAIN.JS BEFORE (WORKING WELL) MAIN.JS AFTER ERROR The pages don’t render anymore. I’ve been a while trying to fix it. Anyone kno…

can’t invoke yarn after installing with npm

I just got a upgraded my laptop and installed yarn via npm and for some some reason when I try to invoke yarn –v it throws, although, when i run yarn.cmd –v it works fine? is this an issue with path? Answer This might have to do something with powershell 5, returns restricted I fixed it by running…

javascript carousel not showing first slide

So i took this code off of w3schools to try and learn how to build a carousel from scratch and adapted IT to my own project but i’ve run into a problem where it won’t show the first slide by default when the page loads. the carousel works fine otherwise once you click on the balls(dots?) meant to …

Build nodes like array from flat array

I’m trying to restructure the following javascript flat array without parent_id. I want to have a structure for React Tree Table like example in this page: https://www.robinwieruch.de/react-tree-table/ I want a another array that dynamically group according to this array’s keys: I want to have a s…