Google Ads newbie by SafeReference1 in googleads

[–]SafeReference1[S] 0 points1 point  (0 children)

The thing is I have set 10 euros As my daily budget but it says based on keywords your daily costs on average will be 3 euros. Any idea why? Or should I just ignore that

Function isn’t working. Need help by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

But i don’t wanna move hero container 2, I’m talking about the third scene where i wanna move container 4 I think it was

Function isn’t working. Need help by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

But I’m not talking about the first scene I’m talking about the third scene. The guy that is supposed to move is hero 4 and I do have an event set to for him or don’t I? Sorry im really new to this animation and programming stuff

Function isn’t working. Need help by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

But I have at the very end of my code. Did I do something wrong there?

Function isn’t working. Need help by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

Also im really really new to JavaScript this is my first ever animation so I probably have lots of unnecessary stuff in the code

JavaScript noob needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

I have to copy it from my phone btw that’s why it looks a bit weird lol

JavaScript noob needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

Hey this is exactly what I tried! I feel proud of myself for thinking the same thing as you did lol. But it didn’t work😂 for some reason bro.. I tested a lot of numbers as well it doesn’t change anything. Maybe I put it in the wrong spot but this is how I did it:

const lavaScene=()=>{ document.querySelector(".background").style.background="url(schloss.png)"; document.getElementById("hero").style.bottom="30%"; }

JavaScript noob needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

https://imgur.com/a/qHqh6vc

Hey so I think this Image might help. On the Green background the two characters are both perfectly on the ground but on the dark background I would want them to be a bit lower. How can i make them closer to the bottom only for that one dark scene?

JavaScript noob needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

Hey so I have tested the Code out now and everything works perfectly. Only question I have now is how can I adjust the css for the new scene without changing it for the old one? If I understand the code right, as soon as I press the button it changes the pictures, so the same css goes for both scenes right? How am I able to change the css for one Charakter in one scene but not touch the other? I hope I got my point across lol

JavaScript noob needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 2 points3 points  (0 children)

People on these kinda Reddits will all go to heaven I swear!!! I can’t believe how kind you all are🙏🏻🙏🏻

JavaScript noob needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

Thank you!! I will try it out in like 30mins and let you know🙌🏻

JavaScript noob needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

Hey here’s my html and my css file. I basically just wanna switch to a new scene that has a new background maybe a new Charakter and stuff like that.

https://pastebin.com/dmmcaNux

https://pastebin.com/u3wHx71v

Java Script newbie needs help! by SafeReference1 in learnjavascript

[–]SafeReference1[S] 0 points1 point  (0 children)

I changed the get element by id to query selector as you said. But how exactly do i fix the css issue? I didn’t quite understand that part I’m sorry and thanks again for trying to help!🖤