Property ‘updated’ in type ‘CdsIcon’ is not assignable to the same property in base type ‘LitElement’

What is The Error? This issue is caused because of the latest push done at CDS (Clarity design systems) by miss they have not updated the ‘LitElement‘ dependency plugin. Actual error:   Solution : For now, you can temporarily downgrade @lit/reactive-element to version 1.2.1: npm install @lit/reactive-element@<1.2.2 else Just add the below code in the package.js “resolutions”: { “@lit/reactive-element”: “1.2.1” } Then run npm install Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
C#(cSharp) Javascript jQuery PHP 

Shuffle Array and array of object values in javascript, PHP

#1 Javascript: in javascript, there is no array shuffle inbuilt function, so we need to find some custom solution solution1: Solution 2: #2 PHP: In php array shuffle is very easy to implement because, there is a inbuilt function provided “shuffle()“ #3 C# : In c# there is no direct shuffle function, so we need to use random and orderby to get the output #4 Java : Implemented via custom function Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
Javascript jQuery 

Javascript errors you should be aware of

Javascript is one of the most popular programming languages in recent days, so we tried to find some most common errors in javascript. After working on many projects, we found some common javascript error based on errors that occurred in different browsers. There are many Javascript errors that occur when you run your code, Below are some error which is browser-centric and some are common in all browsers.  Google Chrome:  Uncaught TypeError: Cannot read property.  It occurs when you read a property or call a method on an undefined object.…

Read More
Ajax ASP.net C#(cSharp) Javascript 

How to upload file to ftp using C#(C-Sharp) – aspx,ashx and ajax

In this article, we are going to explain how to upload the file to FTP using C# Generic handler(.ashx), HTML and Ajax. Please follow the steps below In visual studio create a solution with empty web app with aspx project solution. Create a file called index.aspx by adding a new item to the solution, in aspx page add the below code Add jquery plugin to <head> tag section Add HTML form fields to upload a file At bottom add the ajax file upload ajax script. After this create a File…

Read More
Ajax C#(cSharp) Javascript PHP 

How to create server side session using javascript

It is possible to create a server-side session using javascript for any server-side programming language like PHP, C#, Python etc. by just calling server side function using ajax calls as shown below. To do that, first create a server side application file and write the session variables which you want to set, then in client side javascript just pass the data which you need to set as a session to the server side application function using Ajax call as shown in below examples First, we will take an Example of C#/Asp.net. Javascript…

Read More
CSS CSS Library 

List of Responsive CSS Library

CSS Frameworks is one of useful  tool for faster and better development. With this a well structured, maintainable and up-gradable website can be Created. It also helps you save much on your time. 1.Bootstrap Bootstrap is a popular, modern front-end/UI development framework. It’s feature-packed and will have most of the things you’ll need for developing responsive sites and apps. Bootstrap has a 12-grid responsive layout, 13 custom jQuery plugins for common UIs like carousels and modal windows, a Bootstrap customizer, and more. Bootstrap is well-documented, and this open source project has plenty of coverage…

Read More
Ajax PHP 

PHP with Ajax multiple file upload

Please go through the following steps to implement PHP with Ajax multiple file upload. Step 1: Create a file called index.php and add below codes Step 2: First create folder called “images”, and then create 2nd file  called upload.php Click here for github file Repository Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
Chat-window Bootstrap CSS HTML Javascript 

Chat window Functionality Using Jquery, and Style in CSS

Nowadays Chat in every website is becoming popular, so here is one Chat window Concept For your Website. You can integrate this in any Backend coding  and also with “WebRTC Chat Concept”. Step 1:First you need to include these Libraries – jquery and bootstrap Step 2: then include this Html Step 3: After HTML then include CSS for Style. Step 4: At last, But Most Important Javascript part should be included You can also download code from GITHUB : Click Here to Download Arjun JSArjun is a Full-stack developer, who…

Read More