Posts by Dom Domdomdom • 192 points
7 posts
-
1
votes2
answers196
viewsQ: How to create a motion script for a div?
<!doctype html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Character Movement Script</title> <style> body { background-color: rgb(166, 166,…
javascriptasked Dom Domdomdom 192 -
1
votes2
answers142
viewsQ: Why doesn’t the click event work?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> </head> <body> <button type="button">click</button> <p></p> <script>…
javascriptasked Dom Domdomdom 192 -
0
votes3
answers71
viewsQ: Because when I click the button, you don’t calculate?
I’m making a simple calculator with Javacript and when I type the values in input they are grouped and not summed up what I am doing wrong? follows the code. <!DOCTYPE html> <html…
javascriptasked Dom Domdomdom 192 -
7
votes3
answers1969
viewsQ: What’s the difference of using background to background-color?
I have that code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…
cssasked Dom Domdomdom 192 -
-2
votes2
answers84
viewsQ: Why doesn’t my if return true?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <img src="image/img1.jpg" alt="">…
javascriptasked Dom Domdomdom 192 -
-6
votes1
answer246
viewsQ: What is the addListener function for?
I know how to use the addEventListener, but I don’t know what the addListener, I searched and found no specification on this function. <!DOCTYPE html> <html> <head> <meta…
javascriptasked Dom Domdomdom 192 -
8
votes2
answers178
viewsQ: What is this if trying to say?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…