Learn ReactJS & React Native With Me
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Facebook
  • Twitter
  • LinkedIn
  • Email
Learn ReactJS & React Native With Me

Code, Bugs, Pitfalls, Tricks of React Js & React Native

  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact

Browsing Category

JavaScript

19 posts
web scraping of static and dynamic websites using reactjs nodejs and nightmarejs
  • JavaScript
  • React Js

    Web Scraping dynamic & static websites in Nodejs and Reactjs

    • Teresia Wachira
    • September 5, 2022
    Introduction Web scraping is a technique used for extracting data from websites. And a piece of code or software that helps you to scrape data is known as a scraper.…
    View Post
    threejs - installation creating a scene
    • JavaScript

      Getting started with three.js

      • Akash Mittal
      • September 5, 2022
      In this article I am going to show you how you can get started with three.js. We will look at installation, creating a scene and loading a 3d model. You…
      View Post
      javascript remove element from ghost array
      • JavaScript

        Javascript remove element from Ghost array

        • Akash Mittal
        • September 5, 2022
        In this article we will learn how to remove element from javascript ghost array. I will also show you the way to remove any element from non-ghost arrays. First of…
        View Post
        jumbled javascript array to string no commas
        • JavaScript

          Convert a jumbled javascript array to string without commas

          • Akash Mittal
          • September 5, 2022
          Are you getting the requirements of converting a javascript array to string without commas? If yes, then this article is for you. Generally when we convert array to string we…
          View Post
          javascript random array element no repeat
          • JavaScript

            Access random array element in javascript without repeating

            • Akash Mittal
            • September 5, 2022
            In this article we will show you the code to access javascript random array element, no repeat. Without further delay, let’s check out the code –     Tweet this to help…
            View Post
            How to find the longest string in javascript array?
            • JavaScript

              How to find the longest string in javascript array?

              • Akash Mittal
              • September 5, 2022
              To find the longest string in javascript array, we need to loop through all the elements and compare their lengths. The one which has the maximum length is the longest.…
              View Post
              How to remove duplicate objects from array in JavaScript?
              • JavaScript

                How to remove duplicate objects from array in JavaScript?

                • Akash Mittal
                • September 5, 2022
                (Jump to Code | Demo) In order to find the duplicates, we need to compare two values. In case of numbers and strings, this is very simple. But when it…
                View Post
                How to remove duplicate elements from array in JavaScript?
                • JavaScript

                  How to remove duplicate elements from array in JavaScript?

                  • Akash Mittal
                  • September 5, 2022
                  In this article we are going to create a function to remove duplicate elements from javascript array. Our function will be able to handle strings and numbers inside the provided…
                  View Post
                  How to remove first element from array in javascript
                  • JavaScript

                    How to remove first element from array in JavaScript?

                    • Akash Mittal
                    • September 5, 2022
                    When we remove an element from array, a null or undefined remains in its place. One of the option is to use removeNullUndefinedEmptyFromArray() function to clean the array. But if…
                    View Post
                    remove null, undefine and empty values from array in javascript
                    • JavaScript

                      Remove null, undefined and empty values from array in JavaScript

                      • Akash Mittal
                      • September 5, 2022
                      In this article we are going to learn how to remove null, undefined and empty values from array in Javascript. We get null or undefined values in array when we…
                      View Post
                      combine and merge two javascript objects
                      • JavaScript

                        Combine two javascript objects – Code Example & Live Demo

                        • Akash Mittal
                        • September 5, 2022
                        (Jump to Code | Demo) We can combine and merge two javascript objects using triple dot (…) notation of ES6. This is a very handy feature as it allows to…
                        View Post
                        Open file upload dialog using javascript
                        • JavaScript

                          Open File Upload Dialog Using JavaScript – Code Example & Live Demo

                          • Akash Mittal
                          • September 5, 2022
                          (Jump to Code | Demo) When we design an application, we get the requirements to upload images, pdfs, videos and all other sorts of files. We do this using html…
                          View Post
                          change position of element in array using javascript
                          • JavaScript

                            Change position of element in array using JavaScript code example

                            • Akash Mittal
                            • December 29, 2020
                            We can use splice() method to move an element of an array from one position to another in javascript. We will use latest coding principles of JS (ES6). Check the…
                            View Post
                            javascript date_format like php
                            • JavaScript

                              JavaScript date_format() function – Convert datetime like Php

                              • Akash Mittal
                              • September 4, 2022
                              Php has a date_format() function which can convert the datetime into any custom format. But sadly javascript do not have any such thing. So, we have implemented one for it.…
                              View Post
                              convert javascript object to formdata for post request
                              • JavaScript

                                Convert Javascript Object into FormData for POST request

                                • Akash Mittal
                                • December 19, 2020
                                There are many ways to send data from html form to backend through POST request. Out of them, the primary way is FormData. This is ideal when you have simple…
                                View Post
                                convert object to array in javascript to use in for loop
                                • JavaScript

                                  Convert Object to Array in JavaScript to use in for loop

                                  • Akash Mittal
                                  • December 29, 2020
                                  To convert JavaScript object to array, we can use two functions – Object.keys() and Object.values(). Suppose, our javascript object is – Now, if you want to for loop through this…
                                  View Post
                                  top 10 javascript linter libraries
                                  • JavaScript

                                    Top 10 linter for javascript to help you write clean, error free code

                                    • Akash Mittal
                                    • December 29, 2020
                                    In this article I am going to list top 10 linter libraries for javascript. Linter makes your code readable and error free. They prettify and inform you about your syntax…
                                    View Post
                                    javascript array splice() add remove values auto adjusting size
                                    • JavaScript

                                      JavaScript Array Splice() – add / remove values at any position

                                      • Akash Mittal
                                      • December 29, 2020
                                      To add or remove values from any position of an array in JavaScript, we can use splice() function. Here is the code – This function has 2 required parameters and…
                                      View Post
                                      football game crud application using javascript and localstorage
                                      • JavaScript

                                        Football Game CRUD Application in Javascript & LocalStorage

                                        • Akash Mittal
                                        • September 5, 2022
                                        In this application we are not going to use any backend. Instead, we will use browser’s localstorage as our database. We will learn CRUD principles by developing football game application…
                                        View Post

                                        Learn ReactJS & React Native With Me
                                        Copyright AkashMittal.com | Privacy Policy