r/JavaScriptProgramming • • Jun 05 '21

How to create a constructor function and creating an object using it in JavaScript

Post image
2 Upvotes

r/JavaScriptProgramming • • Jul 06 '21

How to Link JavaScript to HTML?

Thumbnail
getbasicidea.com
0 Upvotes

r/JavaScriptProgramming • • Jun 14 '23

Animated hamburger icon using HTML, CSS and JavaScript

Thumbnail
youtu.be
0 Upvotes

r/JavaScriptProgramming • • Jan 13 '24

How to Use ChatGPT for JavaScript Programming

Thumbnail
getbasicidea.com
0 Upvotes

r/JavaScriptProgramming • • Sep 17 '24

🦊 Jspreadsheet - Advanced JavaScript Data Grid for Developers

1 Upvotes

I'm excited to introduce Jspreadsheet – a JavaScript data grid packed with advanced spreadsheet controls. Whether you're dealing with large datasets or need a flexible solution for your web applications, Jspreadsheet has you covered.

✅ Lightning-fast performance✅ 400+ Excel-like formulas✅ Seamless integration with React, Angular, and Vue✅ Collaborative work-friendly✅ Lightweight & secure

Perfect for anyone looking to level up their web applications. I'd love your feedback and thoughts! Feel free to check it out here or let me know if you have any questions. 😊

webdev #javascript #datagrid #spreadsheet #developers


r/JavaScriptProgramming • • Jun 15 '23

Dark Mode Toggle | HTML, CSS and JavaScript Tutorials

Thumbnail
youtu.be
0 Upvotes

r/JavaScriptProgramming • • Jun 18 '21

How to set interval and clear interval in JavaScript

1 Upvotes
let countDown = 0;

//calling setInterval function and the assignning interval ID.
let intervalID = setInterval(() => {
  
  //The countDown will increment by 1 after every 1000 millisecond (1 second).
  countDown++;
  console.log(countDown);

  //When countDown is equal to 10 stopping the execution (clearing the interval).
  if (countDown == 10) clearInterval(intervalID);
}, 1000);

r/JavaScriptProgramming • • Jun 04 '21

Declare an Array and reading values of an Array using different methods in JavaScript

Post image
2 Upvotes

r/JavaScriptProgramming • • Mar 19 '22

How to Get Elements by Class Name in JavaScript

Thumbnail
getbasicidea.com
2 Upvotes

r/JavaScriptProgramming • • May 02 '25

🟪 Jspreadsheet CE v5 – A Lightweight, Excel-Like JavaScript Data Grid

Post image
4 Upvotes

We're excited to share Jspreadsheet CE v5, the latest version of our open-source JavaScript data grid component! Jspreadsheet CE (formerly known as JExcel) is a lightweight, Excel-like spreadsheet component with rich features

What's New in v5?

  • Performance Boost – Faster rendering & better handling of large datasets.

  • Modular Architecture – More flexible customization with an improved plugin system.

  • Enhanced UI/UX – Smoother interactions, better clipboard support, and improved selection behavior.

  • Better Mobile Support – Improved touch gestures for seamless mobile usage.

  • Bug Fixes & Stability – A more refined and stable experience.

Features Overview

  • Excel-Like UX with 400+ formulas, keyboard navigation, and data validation.

  • Customizable with a rich API, event listeners, and plugins.

  • Lightweight & Fast (~40KB gzipped).

  • Works with Vanilla JS & Frameworks (React, Vue, Angular).

You can check out the Jspreadsheet here:

https://bossanova.uk/jspreadsheet

https://github.com/jspreadsheet/ce

We're also launching on Product Hunt! If you find Jspreadsheet useful, show us some support there: 

https://www.producthunt.com/posts/jspreadsheet-ce


r/JavaScriptProgramming • • Jun 04 '21

JavaScript Digital Thorana - Fully Programmed by JavaScript Including Over 200 Dynamic Patterns | Without any framework (Running in web browser).

Thumbnail
youtube.com
2 Upvotes

r/JavaScriptProgramming • • Jun 07 '21

Declare an Array and reading values of an Array using different methods in JavaScript

1 Upvotes
//Define an Array
let arrayTest = ["Vidura", "Chathura", "Kasun"];

//Reading values of Array method-1
for (let index = 0; index < arrayTest.length; index++) {
  console.log(arrayTest[index]);
}

//Reading values of Array method-2
arrayTest.forEach(function (arrValue) {
  console.log(arrValue);
});

//Reading values of Array method-3
for (const arrValue of arrayTest) {
  console.log(arrValue);
}

//Reading values of Array method-4
for (const index in arrayTest) {
  console.log(arrayTest[index]);
}

r/JavaScriptProgramming • • Jun 11 '21

How to create an object using Class in JavaScript

Post image
2 Upvotes

r/JavaScriptProgramming • • Jun 07 '21

Read all values of an object's properties and execute functions of the object in JavaScript

1 Upvotes
//Declearing a object
const humanObject = {
  firstName: "Vidura",
  lastName: "Dananjaya",
  age: 31,
  getFullName() {
    return `${this.firstName} ${this.lastName}`;
  },
};

//Reading values of the object properties
for (const key in humanObject) {
  //Values of the object's properties
  console.log(humanObject[key]);

  //Executing functions of the object
  if (typeof humanObject[key] === "function") {
    console.log(humanObject[key]());
  }
}

r/JavaScriptProgramming • • Feb 03 '22

Any books or courses to learn OOAD in Javascript !

2 Upvotes

I have been looking and googling but couldn't find any course or book that teaches Object-Oriented Analysis and/or Object-oriented design in Javascript or Typescript or even in pseudocode ! Any recommenations please ! Edit : I'm aware of all the excuses related to Javascript prototypal-based object.


r/JavaScriptProgramming • • Jun 18 '21

How to set interval and clear interval in JavaScript

Post image
2 Upvotes

r/JavaScriptProgramming • • Mar 16 '22

I share my page. Full of games made by me in JavaScript. Criticisms are welcome. Thanks a lot.

Thumbnail
rubycave.com.ar
1 Upvotes

r/JavaScriptProgramming • • Jun 07 '21

Create a constructor function and creating an object using it in JavaScript

1 Upvotes
//Constructor function for creating the object (Human).
function Human(firstName, lastName) {
  this.firstName = firstName;
  this.lastName = lastName;
  this.getFullName = function () {
    return `${this.firstName} ${this.lastName}`;
  };
}

//Creating an object (Human) using constructor function.
const humanObject = new Human("Vidura", "Dananjaya");

//Calling functions in the object (Human).
console.log(humanObject.getFullName());

r/JavaScriptProgramming • • Jun 04 '21

Welcome to the JavaScript Learning Portal

Post image
1 Upvotes

r/JavaScriptProgramming • • Jun 06 '21

How to read all values of an object's properties and execute functions in JavaScript

Post image
2 Upvotes

r/JavaScriptProgramming • • Jun 04 '21

r/JavaScriptProgramming Lounge

1 Upvotes

A place for members of r/JavaScriptProgramming to chat with each other


r/JavaScriptProgramming • • Jun 07 '21

Adding a function to object prototype when use constructor function to create an object - JavaScript Programming

1 Upvotes
//Constructor function for creating the object (Human).
function Human(firstName, lastName) {
  this.firstName = firstName;
  this.lastName = lastName;
}

//Add a function to Human prototype
Human.prototype.getFullName = function () {
  return `${this.firstName} ${this.lastName}`;
};

//Creating an object (Human) using constructor function.
const humanObject = new Human("Vidura", "Dananjaya");

//Calling the function in the object (Human).
console.log(humanObject.getFullName());

r/JavaScriptProgramming • • Jul 15 '21

The Callback Example of JavaScript

Post image
1 Upvotes

r/JavaScriptProgramming • • Jun 07 '21

Adding a function to object prototype when use constructor function to create an object - JavaScript Programming

Post image
1 Upvotes