Posts by Fábio Nova • 91 points
10 posts
-
0
votes2
answers186
viewsQ: How to use appendchild
I wanted to know how to do so so that instead of appearing that sentence appears ul when clicking the button, what I should use in createTextNode for this to happen. function mais() { var x =…
-
-1
votes1
answer27
viewsQ: How to concatenate without changing the existing content
My goal is that by clicking the gray button adding a postit without changing what is already there, using the loop and += to concatenate will change what is already there, I wonder if there are any…
-
0
votes1
answer33
viewsQ: Enable disabled by clicking the javascript button
In this code the button is disabled leaving it useless so I wanted to know if I can activate the disabled after clicking the button. var btn = document.querySelector(".btn-apagar");…
-
2
votes1
answer42
viewsQ: Loop and how to enable editing to write in javascript
I’m making a notepad and I’m having some doubts, I want when you click on the "add" button add one more postit for this, I can use the loop or I have to use another command? On the button with the…
-
1
votes1
answer36
viewsQ: Remove DOM elements with javascript
I am trying to make that whenever I click the button the image is removed, I did this code but it only hides the image and whenever I do Load appears again, I wonder how I do to remove the content…
-
0
votes2
answers39
viewsQ: how to place the local date on the web page
I’m trying to make a page that shows the date and the time but I’m only getting the time someone can tell me how to put the date. I wanted to put the date on H1 like I did then but I’m not getting…
-
-4
votes2
answers201
viewsQ: how to do console.log by clicking the button
I wanted to do console.log by clicking only the button, but what I did makes console log if I click anywhere can explain to me how to make console.log work only by clicking the buttons. var div =…
javascriptasked Fábio Nova 91 -
0
votes2
answers71
viewsQ: position elements on a grid
I’m trying to make a calculator and I’m not being able to let the round buttons get a little flat, also I’m not being able to leave the 0 the same way it is in the picture I wanted to know how to…
-
0
votes1
answer35
viewsQ: how to pass a javascript phrase to html
I am learning to work with javascript and I wanted to ask how I can make it appear only one sentence at a time. I want to know how to make one of the javascript phrases appear in the html and that…
-
0
votes1
answer53
viewsQ: elements one over the other
I’m learning to use some tags and I’m not being able to put the button on top of that text, the goal would be to have the title and the text and the button and the little text on the side of someone…