JavaScript
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Remove duplication to improve code
In a recent thread about validating form fields, I noticed a lot of duplication in the code, and that duplication has been making it tricky for people to examine the code. This thread is dedicated to exploring how to eff… |
![]() ![]() ![]() |
49 | 7578 | August 4, 2021 |
Converting jQuery to vanilla JavaScript, a step by step guide
Frequently I see on here people asking to deal with jQuery, for example with converting it to vanilla JavaScript. As a result I thought that I’d provide a worked example of converting code from jQuery to vanilla JavaScr… |
![]() ![]() ![]() ![]() ![]() |
14 | 9345 | July 16, 2020 |
An introduction to debugging code
Recently while helping someone make improvements to an SVG shape editor being developed on JSFiddle, we were setting the currently active shape with a thicker stroke. That worked when one of the Stroke input fields was a… |
![]() ![]() ![]() |
2 | 11735 | April 26, 2018 |
Calculating a quiz score in Javascript - Not working
|
![]() ![]() |
2 | 37 | August 18, 2022 |
Svelte toggle class for a group of buttons
|
![]() |
1 | 68 | August 18, 2022 |
Setting up single-player tests before adding spinner
|
![]() ![]() ![]() ![]() ![]() |
2245 | 53679 | August 18, 2022 |
How to infinite loop automatic carousel
|
![]() ![]() ![]() |
4 | 270 | August 18, 2022 |
How do I add _blank to window.location function?
|
![]() ![]() |
2 | 124 | August 17, 2022 |
Need help on fetch
|
![]() ![]() ![]() |
8 | 311 | August 17, 2022 |
Not understanding the alert() in the for loop
|
![]() ![]() ![]() ![]() |
9 | 514 | August 16, 2022 |
Typehead ajax not populate the suggestion
|
![]() ![]() ![]() ![]() ![]() |
7 | 375 | August 16, 2022 |
Multiple filters? Should be simple
|
![]() ![]() ![]() |
5 | 216 | August 16, 2022 |
Can't get Bootstrap carousel to work
|
![]() ![]() ![]() |
9 | 381 | August 15, 2022 |
Render image conditionally
|
![]() ![]() |
1 | 301 | August 15, 2022 |
Reset drag-drop div in jquery
|
![]() ![]() ![]() ![]() |
6 | 303 | August 15, 2022 |
Using one function to toggle text of two button
|
![]() ![]() ![]() |
3 | 299 | August 13, 2022 |
Glitch in color of property
|
![]() ![]() |
1 | 173 | August 13, 2022 |
How to open/close modal in tailwind-elements with javascript function?
|
![]() ![]() ![]() |
5 | 279 | August 13, 2022 |
Defining parameters vs defining variables in function
|
![]() ![]() |
1 | 204 | August 12, 2022 |
Assigning array values to generated HTML via forEach & for loop
|
![]() ![]() ![]() |
6 | 399 | August 12, 2022 |
Any idea why I can't see two separate rectangles?
|
![]() ![]() |
20 | 695 | August 12, 2022 |
Expand/collapse problem
|
![]() ![]() ![]() |
20 | 528 | August 11, 2022 |
Is this book a recent enough book to learn well JavaScript?
|
![]() ![]() ![]() ![]() ![]() |
11 | 477 | August 10, 2022 |
Colored console.logs()
|
![]() |
0 | 437 | August 10, 2022 |
Understanding objects
|
![]() ![]() ![]() |
3 | 274 | August 10, 2022 |
How to click multiple buttons with the same answer
|
![]() ![]() ![]() ![]() |
8 | 247 | August 9, 2022 |
Send SMS function in Javascript
|
![]() ![]() |
3 | 284 | August 9, 2022 |
Why am I seeing the the htmlWebpackPlugin.options.title tag in my Firebase site?
|
![]() |
0 | 143 | August 9, 2022 |
Sort onlineshop catalog
|
![]() |
0 | 148 | August 9, 2022 |
Input element
|
![]() ![]() |
2 | 282 | August 9, 2022 |