Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

dom manipulation

  1. yumedoll

    JavaScript [SOLVED] Can anyone help me figure out why these specific EventListeners aren't working?

    I have this: document.documentElement.addEventListener("load", function(){ document.getElementById("loading").style.display = "block"; document.getElementById("okthanks").style.display = "none"; }); window.addEventListener("load", function(){...
  2. yumedoll

    JavaScript drawImage on a canvas in the position where an element has been dropped into it?

    I'm making a game about baking a decorating a cake using Interact.js. Everything is done so far but I'm trying to figure out how to make it so the image that is dragged onto the cake (which has a canvas in it's div) will be printed on the canvas at the exact position it was dropped. The idea...
  3. yumedoll

    JavaScript Why is the placement of the declaration of my let variables being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt =...
  4. yumedoll

    JavaScript Why is the placement of the first declaration of my let variable being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt = 0...
Back
Top Bottom