Skip to main content

All Questions

Tagged with
2 votes
1 answer
472 views

make html table in sync with javascript array

I have an array of users containing user name with their rules on my practice project I have generated a table in HTML from that array in JS, So I can change the ...
TAHER El Mehdi's user avatar
4 votes
0 answers
287 views

Creating Multiple Carousels by storing them in an Array with JavaScript

I created a code where I can add multiple carousels to a page. I did this by storing the carousel in an array and accessing it by clicking on the previous/next arrows. I was trying to prevent any ...
Saul Diaz's user avatar
4 votes
1 answer
220 views

Displaying Media with HTML and JavaScript

I have a personal website that I use to share videos and images with friends. Below is a media generator using JavaScript and HTML. Its main purpose is to display one image at a time at the click of a ...
user avatar
0 votes
1 answer
70 views

Data selection and filtering

Here i have javascript code where is 'animals' object and 'people' array of objects. User selects the data from select box and accordingly table fills with selected data(which is array of objects) and ...
user222442's user avatar
2 votes
1 answer
102 views

Suggestion for improving this code to be more readable and easy for beginners? [closed]

I'm a JavaScript beginner trying to learn by doing. Here I have a table with different values: I have used two for loops. Is there an easier way to achieve this? For example having just one for loop, ...
user222442's user avatar
3 votes
1 answer
66 views

Partial Sudoku Verifier

To practice my JavaScript for future employment, I've decided to take up the challenge of writing a javascript sudoku verifier. This code only verify's one of the ...
Ben A's user avatar
  • 10.7k
0 votes
2 answers
190 views

Convert HTML input string to JavaScript Array literal

I am trying to accept JavaScript array literals in an HTML text input. The problem is that HTML text inputs are captured as strings, such that an input of ...
Oguntoye's user avatar
  • 144
5 votes
1 answer
3k views

Generating an HTML table with colspan and rowspan from a one-dimensional array

I will be given the following input: ...
Chris's user avatar
  • 153
11 votes
3 answers
10k views

Displaying random quotes from an array

Is there anything that I could have done better in this code? ...
udb's user avatar
  • 279
4 votes
1 answer
2k views

Cross-browser DOMTokenList object and wrapper function. Failures and improvements?

I have been looking for a Cross-browser solution for DOMTokenList and element.classList. I wasn't able to find much for ...