python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to append an Image on two or more dom elements?
I'm finishing up my battleship project and want to add ship images. Before if a player places a ship at a certain coordinate, I just change the color of the divs as an indication of ship being placed....
Rabten
Votes: 0
Answers: 1
DOM elements manipulation with javascript persists after reload or going to next page in pagination
I am trying to toggle a view between grid and list view mode on my frontend HTML page. I am able to do this fine with dom and HTML classes manipulation by toggling "display: none" between tw...
Youssef Fannichi
Votes: 0
Answers: 2
remove spell check on input WITH JAVASCRIPT
i have a JavaScript program that make input and a want to remove spell check.
let inp = document.createElement('input');
inp.placeholder = "enter line of code";
inp.autocomplete = "off&...
myrccar
Votes: 0
Answers: 2
How to append <img> as a <li> to a <ul>
I've created a forEach loop that is collecting the urls of 10 gifs and I want to append them to a I currently have in my html on line 33.
I have to display the gifs on the page.
I'm currently getting...
goatstash
Votes: 0
Answers: 3