In Cloud Firestore, data is stored in collections. To add data to Firestore, import the Collection and addDoc functions. We also import the db initialized in the firebase.js file. When the button is clicked, the Cloud Firestore creates a collection (we have named it todos) and adds data as a document to the todos collection. For importing addDoc and Collection we first have to initialize the app… Continue reading How to save data to a firebase database (firestore) using firebase function using ReactJS
Month: November 2023
What is hooks and type of hooks used in the react.Js
React Hooks are simple JavaScript functions that we can use to isolate the reusable part from a functional component. Hooks can be stateful and can manage side-effects. React provides a bunch of standard in-built hooks: useState: To manage states. Returns a stateful value and an updater function to update it. useEffect: To manage side-effects like… Continue reading What is hooks and type of hooks used in the react.Js
How to create a slider that compares two images using Css and JavaScript
Image Comparison Slider Create an Image Comparison Slider Step 1) Add HTML: Example Step 2) Add CSS: The container must have a “relative” positioning. Example Step 3) Add JavaScript: Example Step 4) Execute Script: Example
Proposal To setup GA4 E-commerce Tracking
Proposal To setup GA4 E-commerce TrackingThis proposal covers the development steps for setup tracking events add to carts, begin checkout, purchase event in GA4. This proposal also covers the engagement scope of Jobin and Jismi It Services LLP, as official implementation partner of Oracle NetSuite. Proposal Summary This proposal explains how to add extra tracking… Continue reading Proposal To setup GA4 E-commerce Tracking
Machine Learning in Software Testing
Introduction: Machine learning (ML) has emerged as a transformative force in various industries, and the realm of software testing is no exception. In recent years, the integration of machine learning techniques into software testing processes has shown significant promise in enhancing efficiency, accuracy, and overall quality assurance. This article explores the intersection of machine learning… Continue reading Machine Learning in Software Testing
Employee Recognition Programs
Employee Recognition Programs are systematic initiatives established to acknowledge and reward employees for their exceptional contributions and achievements within the organization. These programs are instrumental in cultivating a positive workplace culture, elevating employee morale, and enhancing overall job satisfaction. Recognition extends beyond mere monetary rewards and encompasses various forms, including verbal commendations during team meetings,… Continue reading Employee Recognition Programs
How can we set it so that when we click on the download link in an HTML page, the download is done on the same page using JavaScript?
Its possible to we can download the file from current page by using javascript. In <p>, we are using the onClick method to download the file and passing the URL as a parameter
How can we solve the ‘Error: EBUSY: resource busy or locked’ issue when running the ‘gulp extension:local’ command?
Its possible to we can remove ‘Error: EBUSY: resource busy or locked’ issue when running the ‘gulp extension:local’ command . Method 1 : use command npm cache clean Method 2: If cache cleaning does not solve the issue, then we try uninstalling Node.js and reinstalling Node.js.
Style The Add to cart button on PLP page based n the item is in the cart or not
We have to give unique style to the “Add to cart” button if the item is belonging to the cart, if it is not in cart we have to show different styles. The code is added below: To change the cart icon on the button based on the status of the item whether it in… Continue reading Style The Add to cart button on PLP page based n the item is in the cart or not
Attach Multiple Files to Item Records
Scenario Ability to associate or attach multiple files into an Item Record. Solution User can create a custom record that will store the files and associate it with the Item Records. 1. Create a Custom Record via Customization > List, Records & Fields > Record Types > New Set Name: to Files On Item Uncheck Include Name Field Check Show Creation Date On Record and On List Check Allow Quick Add and Enable… Continue reading Attach Multiple Files to Item Records