Skip to content

Category: Questions

unable to use babel to run file

I’m trying to get more familiar with modern javascript and am following a tutorial. Early setup includes running a file from another file. I have a server.js file with a simple ‘import ‘./config’; command. As a test that repo setup is correct, I should be able to run ‘babel serve…

Javascript, get the number of time an imput value occured in Table

I am generating a table onclick, in my html when this function triggers This is how the table is. In the input there is an onchange() function. IN that function I need to get how many times the value is present in the table. For example if I change the first row, I should get 1. Because there were two

GSAP Animations(TweenMax) not triggering in React,

I cannot figure out for the life me what how to get this Gsap animations to work. I’m still learning react but I was able to get everything to work properly in a standard project using html, css, and javascipt but i wanted to try and recreate the effect in React. There’s much more code, it’l…