I am just getting started on my first web scraping project. Before I go and install a headless browser etc, I thought I would just save the page manually and wo
I have a problem on how to make my dropdown remain open after clicking and avoid closing after refresh. Here's what I've done. <button class="dropdown_btn"&g
So I want to add to a variable every time someone clicks a button on my website. I am very new to HMTL so I don't know how to do this. All the examples I've goo
I have 0 experience in front end, but going for it anyway. I currently have this Javascript: <script> function openCity(evt, cityName) { //
I have the following code in which is implemented a simple drag and drop with an image. for some reason the first image works the second no, when I drug it insi
I am making a whack the mole game with Vanilla JS and I am trying to make the person whack whatever he wants by letting them upload an image by input file but
When given a structure of one record, how can I randomly simulate n records of the same structure? Example Consider that I have an array of records such as: [
How would I go about highlighting a cell based on the row name and column value from the first column? I have included a fiddle. $('tr').each(function() {
I have an array of category ids in order, I have to make a map and fetch the items from these categories and in the end keep the original order of the array wha
I have a problem with react-native. I'm trying exercise to do todo app from how I watch on youtube lessons. Can't understand where is my fault? Youtuber instruc
How can I change the default font-family of the admin Strapi v4 dashboard? because I found nothing of how we can change the default Strapi v4 font-family
I have a project built using Javascript, jQuery, and Vite.js. I need to share functions and variables between one JS file that is a module, and another JS file
Firstly, I allow users to upload multiple files. Then I use loop with fileReader to read all the uploaded files. Next I edit some data of each file and create n
I am trying to use fingerprints to login to a pwa on mobile devices only. I found the code from an example at https://developer.mozilla.org/en-US/docs/Web/API/W
I have a simple paypal button implementation for subscriptions <div id="paypal-button-container-P-7WX14668TE0595539MJ4J77A"></div> <script src="h
While trying to push element in array, I receive an error: main.js:1 Uncaught TypeError: Cannot read properties of null (reading 'document') at main.js:1:50 H
I am to make a script that will ask the user to enter numbers until they type quit. I have this working, but I am struggling with the final element where I hav
It is known that you should not customize the built-in prototypes in JavaScript. But, what is the best way to add custom properties/methods to specific instance
I am trying to split this array into two different arrays using the values inside the first array. This is my initial array: "carList": [ { "b
I am using Next.js for one of the projects that I work on. I wonder if someone could help me with an advice on how to show a popup (popup component, I think it