New to coding and doing an interview challenge. They’ve asked for a dashboard made from JQuery (which I’ve never used before). Lots of help from W3schools and here in stack has me accomplished 100% of the functionality I need (even if the design could be improved: functionality first polish later!…
Why does audioContext mute the sound
I’m trying to do a visualiser like this: Visualiser Audio js But with the file that is on my pc not one that the customer can choose. Like here the file is on my pc. I found this person doing it but it’s the customer who choose the file they want, so how can I do it ? I tried
Discord Bot – Wait for Reply after Interaction
Probably I didn’t understand quite well how Discord API works when we use awaitMessages. What I’m trying to do is to wait for a message from the user after a button was clicked in a private channel: As you can see, the user clicks on the button, a message is sent asking for the dialogue. After tha…
How to remove a key from inner object through lodash
I want to delete the color key under users. For this, I have written the following code snippet in Lodash. But it gives me the following { … } How can achieve the following output? Answer You have to loop over the array and use omit Arguments of omit is 1) object: The source object. 2) [paths] (…(string…
Javascrit .createTextNode output is giving errors
I created a website where it tells you your age. I use document.createTextNode to store the output but the output is not working properly. Here is the output code When I run my code, it only outputs the first part, “You are”. Is there any way to output the entire message. Answer In JavaScript you …
how to insert array of data per column in MySQL?
I have arrays stacked in 1 array and I would like to insert each array per column in MySQL. I have reached to insert all data in arrays to 1 column, but I want to insert an array per column. Please see the screenshot and code below. Image of array stack Answer I just found a solution for this case.
How to display a model data dynamically in Html?
I have a model and in a function this model is updating. I want to display this model’s data dynamically. So, new values should display without refreshing the page. How can I do it? models.py views.py functions.py setup_wizard.html All my function works fine. When I looking the MyLongProcess from Django…
Need help combining class, active and before selectors
I’m trying to make an accordian menu (I’m a massive noob at HTML, CSS and JS as you can probably tell). My main goal is to make the “+ Work” and “+ Social” buttons change to “- Work” and “- Social” respectively when active. I tried using the ::before…
Javascript: check if word in input is placed after an other word
I have a question but I can’t find the answer for my problem. Hope you can help me! Here’s my HTML: Here’s my Javascript: Demo What this script does I’m making a login form where the input focuses on the second input when a user has typed his email. In my code: it focuses on the next i…
Angular – interpolating values after every forEach iteration
I’m building an Angular app, and I’m trying to interpolate value of a string in every forEach iteration on an array of strings. (quotesData is array of strings from which I’m taking values from) My function looks like this: } The problem is that the value in HTML interpolation for {{quote}} …