Skip to main content

All Questions

Tagged with
1 vote
0 answers
36 views

Multiple adding to cart in JavaScript doesn't work

when I add products to the shopping cart at some point it stops updating the table, it is refreshed when I click the previous product and the product I want to add. Live site: https://frontend-mentor-...
Kajetan Ślęga's user avatar
-1 votes
3 answers
72 views

Todo list using array and loop

I want to create a todo list using array and loop and display the list in div container. I am able to display the list but it is muliplying the same list stored and is displayed. <body> <...
Sam Sandy's user avatar
1 vote
3 answers
75 views

HTML audio with javascript: playback of playlist is not correct -> index 2 is always skipped

Need someone to help me understand, why index 2 of the playlist array that is passed to the audio element is skipped - no matter what. This is the console output: 0: /track01.mp3 1: /track02.mp3 2: /...
nBar's user avatar
  • 37
-1 votes
0 answers
56 views

How to get an object of value from dropdown menu instead of a string? [closed]

Running the code I have a string but I need an object. Any way to do that? <!-- language: lang-html --> <select name="plates" id="degrees"> <option ...
Igor's user avatar
  • 1
0 votes
1 answer
18 views

Is it possible to limit results from Svelte {#each} loop by a certain amount?

I'm using an {#each} loop to showcase data, but I'm curious if Svelte has a way to limit the results by an integer. For example, if I had the following array and loop: const object = [1, 2, 3, 4, 5]; ...
Sam Sabin's user avatar
  • 742
-1 votes
1 answer
40 views

How to write values into empty array from a loop dedicated to another function in Javascript?

I am doing a random sort of values according to the Fisher Yates method, and to explore the inside of this process I tried to out the random numbers (arsam1 is the number fixed set, iValue1 and ...
Adam Givon's user avatar
0 votes
1 answer
30 views

Implement Edit and Delete functions using buttons

I have this HTML file of a website that includes a form to enter recipes and display them below. Every recipe has a title, an ingredients section and an instructions section and every recipe must have ...
user25460651's user avatar
2 votes
1 answer
60 views

Why won't my Javascript audio skip button work?

I am fairly new to any sort of web programming and trying to create an audio player for my website. I'll paste all the code below for reference. I cannot for the life of me get the skip button to work....
isabelgrace756's user avatar
0 votes
0 answers
57 views

Checkbox array gets undefined array key error when submitted

I'm making a form with multiple checkboxes for each product category. However, when I submit the form, my php file doesn't get the contents of the array. This is the div where the checkboxes are, it ...
zurg's user avatar
  • 1
0 votes
2 answers
98 views

The three dots menu apears on the last video (Multiple HTML videos)

I am rendering some HTML video tags to play videos. Now the problem is when the user click on the three dots menu, the menu should appear near the button that triggered it but the menu shows near the ...
ali abbas's user avatar
1 vote
0 answers
21 views

Unable to Extract Element based on Webpage Using Google Chrome Extension

I am trying to work on a Google Chrome extension where I have an array called userCompletedQuestions to match another array called jobrequirementQn. the idea is to 435. Non-overlapping Intervals based ...
lum wenkang's user avatar
0 votes
0 answers
28 views

Adding a Button with cookie durations

To frame what im trying to do. I work for a small reatailer and we had an idea for a promotion where we put a gift card in a small safe. The Safe has the numbers 1,2,3,4,5 and needs 5 a digit code to ...
VinsonCernuto 's user avatar
0 votes
0 answers
17 views

Detect State using js Display Data from Arry and Show in Fields Issue

I have and js Script that i have write it the scrip is use from State Prediction of State . How its Working for Example if the number Comes from Dialers and Display IN HTML number is 415-5299*** it ...
Imran Niaz's user avatar
0 votes
1 answer
61 views

How do I stop the array from updating itself and only displaying the last task

<h1>Calendar and Task Creator</h1> <div class="navigation-text">Click the arrows to switch between months</div> <div class="navigation-text">...
buffalo09's user avatar
0 votes
0 answers
23 views

Repeater ACF WORDPRESS is not wordking

<?php // Check rows exists. if( have_rows('accordion') ): // Loop through rows. while( have_rows('accordion') ) : the_row(); // Load sub field value. $sub_value1 = ...
Nam Hoàng Phương's user avatar

15 30 50 per page
1
2 3 4 5
510