Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Apply this popup feature for infinite users

I made a popup feature, which shows the phone number of a user. I was able to apply this feature to one instance. A single user. Normally, each user has a unique phone number. But then, I thought, what if I have lots of users as they come, ...

Change product image by selecting only one attribute in Woocommerce Variable Products

This relates to an online clothing store. We have variable products set up with colour and size attributes, for example a product might have 2 variations; Green/Any Size and Black/Any Size. There is an image of the product in the corresponding...

How to convert an object of objects into object of arrays of objects? Using JavaScript.

How to convert an object of objects (initial form of object) into object of arrays of objects (target form of object) I am  interested in every way to do this, but I am particularly interested in exploring reduce metho...

moving between section page using next and previous button in javascript

In the same page i have multiple section. One section will be show and this will happen using a class active. In the same page i have li buttons 1, 2 and 3 when i click on one of them the section related appear and the old one disappea...

Truncating Collection description text in Shopify

I am trying to add "Read more" and "Read less" buttons to collection descriptions for my Shopify store how can I add Html with liquid conditions? Currently, {{ collection.description }} is the only thing on collection.descrip...

Modal dialog getting closed on submit and without processing form

I have a modal that when opened through ajax displays a form with a submit button. The modal is getting opened successfully but when I am submitting the data in the form the modal disappears without doing the requisite function. I have tried m...

Data Structures: How to Remove Items?

Hi.  Is there an order of operations of sort when de-constructing or constructing arrays? Example: I have a n array with eight numbers. I want to .shift( ) the the first number in index "0" then .splice( ) the ...

How to Canvas HTML script Animate shapes

I have created a Canvas and I am working with HTML and inside the HTML script tags I have created shapes that I want to move to animate. I want to add an animation to my Canvas. I Want to animate the Triangle and the Hexagon so that they rotate a...

How do I adjust the top position of a div with a dynamically fixed position?

I have a page with a fixed top bar and a section menu that fixes to the bottom of the viewport on small devices and at the top, below the top bar, on devices with viewports wider than 1080px. There's also an element at a certain point down...

Unable to display the screen as a video in the video tag using Javascript code

I am making a kind of proctoring website and for it I needed access to the user's screen and display it as a video to the proctor, so that he can monitor it. here is my code: <div id="userscreen"></div> <script> d...

How to write the following Java Program

design and implement the following structure for your organization. You must follow the instructions given below 1 – Name of you organization is your surname. For example, if your name is “john wicki”, then “wicki”...

I need help making JavaScript remember user input

I used HTML and JavaScript to allow a user to enter text and then push submit. When the user pushes submit, his text is displayed on the page. The problem is that when the page is reloaded, the text goes away. Obviously. Here is the code I have: ...

How to Read Data from Firebase in NoSQL?

//Signup const signupForm = document.querySelector("#signup-form"); signupForm.addEventListener("submit", e => { e.preventDefault(); // feel free to change the object keys to match your data model db.ref("users/").push({ ch...

How to Create Server for Multi-user Quiz using HTML, CSS, & JavaScript?

I am designing one quiz for my team members using HTML, CSS, and JavaScript but don't know how to make it available to multiple users at the same time. I want to build a real-time quiz as we have in any online entrance exam.   I kn...

How to Split String From a Javascript File into Two Array String

I want split string from file into two array string......   file contain this-   Bangladesh= 109.408 India= 92.7478 Pakistan= 200.550 USA= 1.29221 Europe= 1.16989 UK= 1 SA= 4.85180 Australia= 1.90035 Can...

How to Get Coordinates of Shapes Like Triangle, Polygon On Canvas in JS?

See Below Code:   import { Component, OnInit } from '@angular/core'; import { fabric } from "fabric/dist/fabric.js"; @Component({ selector: 'app-p-five', templateUrl: './p-five.component.html', styleUr...

How to Convert Jquery Code in Javascript?

See Below:    var min = 99; var max = 999999; var polygonMode = true; var pointArray = new Array(); var lineArray = new Array(); var activeLine; var activeShape = false; var canvas $(window).load(function(){    ...

Meteor SocketIO Client-server Connection Not Established

I’m trying to connect a client app locally deployed to a server app I deployed to heroku, using socket.io. The app works great locally but I can’t establish the web sockets when deployed to heroku.   My server code: &nbs...

How to Start Developing a Web Application?

Hi there,   I am trying to create a Web Application but not sure where to start! Any ideas or any link for article or tutorial/video/post?   I know HTML, CSS, JS, Python, C and C++   Also, PHP, MySQL and MongoDB ...

Senior Front-end Developer Job Opportunity!

Senior Front-end Developer   We are looking for talented front-end programmers who attach importance to details. Wrocaw (Poland) Codemachine 10 000 - 15 000 PLN net / month   Your key skills: - technologies: Java...

Senior Node.js Developer Job Opportunity!

Senior Node.js Developer Wrocaw (Poland) Codemachine 10 000 - 20 000 PLN net / month   We are looking for talented Node.js programmers who attach importance to every detail.   Your key skills: - technologies: Nod...

Full Stack Developer wanted!

Full Stack Developer Wrocaw Codemachine 10 000 - 20 000 PLN net/month   Your key skills: - you have at least three years’ experience as a programmer, - you have a very good knowledge of Node.js, JavaScript, HTML5 a...

Four Easy Ways To Test Your NestJs Application Using Jest

As the top web programmers strive to remain at the forefront of the current changes in the developing world. Also, we strive to work with recent additions in terms of tools and software for web development that can improve software development. S...

Senior Front-end Developer Wanted!

We are looking for talented front-end programmers who attach importance to details.   Wrocaw (Poland) Codemachine 10 000 - 15 000 PLN net / month   Your key skills: - technologies: JavaScript, HTML5, CSS3 - nice-to-h...

Why You Should Stop Using CSS in JavaScript for Web Development

In these times, CSS has lost a lot of popularity. The community believes that CSS is an obsolete and unnecessary tool, and that is why they are increasingly betting on JavaScript and its frameworks. And that is a mistake. In this article I hope t...

Why Finding Quality JavaScript Developer is a Herculean Task?

The popularity of JavaScript is increasing by leaps and bounds while the availability of skilled and competent quality JavaScript developer is decreasing. It is really very tough to find experienced and good quality JavaScript developers today. R...

POST/GET Method not Working in Heroku with MongoDB / Node.js

I am deploying an small app that was working with my localhost but now on Heroku i am getting some problems with the GET and POST methods. I have tried investigating for several hours but haven't found the correct answer yet.   Bel...

Vue vs ReactJS - Which is Better Front-end Development Framework

Any developer will tell you that front-end development can be confusing especially with the new JavaScript libraries sprouting now and then. When a developer starts a project in an app development company in India, he or she faces a tough choice ...

Getting Error When Trying to Pass JSON PHP to JS with Ajax!

Hey, I'm in desperate need. I have made a JSON object with PHP named userAuth and I am trying to pass it to a JS file with Ajax, here is my PHP code (auth.php):   $userAuth->access = 1; json_encode($userAuth);   ...

React Native vs Real Native Framework Which is better for Mobile Apps?

  Today, the development of mobile applications is more important than ever, and there are many programmers dedicating more on mobile development for iOS and Android. This is the era of smartphones. According to Statista, mobile apps ...

How to Get the API Calling in AngularJS Application?

Assume that there are 3 APIs. Each API does exactly the same task(to give you weather details) but has different endpoints as follows: API 1: Can only be used for India. Has methods named requestWeather(), requestWeatherDataForWeek() ...

Why my Javascript Ajax Function Return False Always? How to Fix it?

I need to create ajax php registration page but i have some errors i could not solve.   The function (CheckExamineeNameAvailability AND CheckExamineeEmailAvailability) return false value even if the username or email were available ...

Dynamic Custom Checkbox Angular5

A checkbox is a GUI widget which allows user have to select or make a choice out of the two or more given items, such serious are handled by checkbox. But Angular5 has some different features lets see it along with the example to create Dynamic c...

JavaScript Validator for String Expression that Allow Arithmetic Expressions

I need a help in writing a validator in javascript or JQuery for a string expression that will allow arithmetic expressions like (),+,-,*,/,min(),max(),avg(). In the string, min(),max(),avg() should allow only two arguments. Sample string...

How to Run One JavaScript Function After Other Using Delays

First things first, I added the JS to the HTML so I don't have to attach multiple files. Hopefully this helps.   I've been having some trouble running one function that slowly displays a message, waits, then fades out. However,...

Why React.js Programming Framework is in Demand

React.js is a JavaScript framework launched in 2013. It has become one of the most in-demand frameworks in the technical world since then. Even after 5 years from the launch, developers prefer using React.js because of its simplicity, high-speed ...

How to Fix Javascript Code for Getting Href Content of a Link

I am trying to get the href content of a link that i click on with the class of sessionBtn.   Here is my code:  $('.sessionBtn').on('click', function (e) {   e.preventDefault();  var url_string &nb...

Angular CLI Application - Introduction, Installation & Creation

The Angular CLI is an essential tool used in JavaScript that helps to initialize, develop, structure and maintain Angular applications. In Angular CLI, CLI stands for Common Line Interface. In other words, Angular CLI is a common Line Interface t...

What's New in Angular 6 Framework - Top 6 Features Revealed

Angular.js is a google maintained framework that is basically a library written in JavaScript. It has recently launched Angular 6 that holds exciting features for web application developers. It will be hailed by most of the developers as the fram...

React Native vs. React.JS - Which is better for Mobile Apps?

Introduction Today, Mobile Development Companies and app developers need much better ways to develop web apps. Since more and more people are now using their mobile phones to surf the Internet than PCs or laptops, mobile app development has be...

Clone a division and creates a unique id for each created division

I want to clone a division and want that each sub division created should have a different id

5 JavaScript Techniques a Programmer Must Know

JavaScript is a vast platform. It covers many advanced programming techniques. If you are a beginner, it’s crucial for you to know a few JavaScript strategies. Without knowing them, it is quite tough to build complex JS applications. From v...

Why My Quiz Web App Not Displaying Result on Submit?

Every time I click the button to submit my answers the page refreshes and no grade is shown and I don't know why.   Any help would be greatly appreciated.   My code is below: <!DOCTYPE html> <html> <h...

Why isAuthenticated() Function In JavaScript App Always Returns False in express-passport?

The req.isAuthenticated() function of api.js always returns false regardless whether the user is logged in or not. This particular function doesn't seem to work. I don't know what to do. I am stuck on this for a long time.   I...

Configuring Basic Routing in Angular 4 JavaScript Application

In Angular Router is like an object that can be used in our app component to describe the routes we want to use. In Angular, there are three components that can be used to configure routing: * Routes:  It describes routes of the applicat...

Comparing Angular 2 Vs React In JavaScript Application Development

Dozens of libraries and frameworks in JavaScript are increasing in popularity. It has become overwhelming for the programmers to decide which one is right for their project. Among all new frameworks, Angular 2 and React are the most recommend fra...

AngularJS Web Development - Advantages & Disadvantages for Programmers

Angular JS is an open source framework for building web applications. Tech giant Google maintains it. Coders face many issues while developing and testing any code. It resorts many of the challenges which the coders may face. AngularJS mixes HTML...

Advanced JavaScript Objects: An Overview

JavaScript is one of the most powerful object-oriented programming languages used all over the world. This language uses the independent fragments of codes to build web applications. These fragments are known as objects that usually work as build...

JavaScript Library that Never Lets Developers Down - Why is jQuery so Popular and Lovable?

What do you do if you have to add some cool animation effects to your website? Unless the answer is use jQuery, you are taking the long road home. This very powerful JavaScript library can change the way you look at website design and the way you...

7 Useful JavaScript Hacks for better Coding - Tips to Web Developers

JavaScript is one of the most famous programming languages among programmers.  Conquering JavaScript is a never ending trend in the market. Here are 7 tips and tricks for programmers to master JavaScript -   !! Operator - Boole...
prev 1 3 13
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: