2,529,009 questions
0
votes
1
answer
48
views
How to create and manipulate JavaScript Date objects from Brython
I am using Brython without importing the Python standard library.
I would like to write Brython code to do the work of routine date manipulation in JavaScript:
var foo = new Date()
foo.setHours(4)
var ...
0
votes
0
answers
22
views
How to make a variable content format on a page for the user? [closed]
Need advice from experienced programmers on how best to organize variable content on a blade template page in Laravel, where data is received.
The task is as follows. Make the ability for users to ...
3
votes
2
answers
46
views
JavaScript DOM manipulation in the Browser [closed]
I am trying to get an element, and element's fontSize property and update the size with keypresses. I press the up'ArrowUp' and down 'ArrowDown' but nothing happens, the fontSize property does not ...
0
votes
0
answers
36
views
404 not found error Django URL with JavaScript fetch function
I'm building a Todo app with Django and JavaScript. I've reached the point where when I click a "trash" button, the note should be deleted, but it shows an error in the console, the reason ...
-1
votes
0
answers
42
views
Cart shows item after adding but disappears on refresh (MERN Stack)
I'm building an e-commerce website using the MERN stack (MongoDB, Express, React, Node.js) and I'm stuck on a strange bug with the cart system.
đź§© Problem:
When I log in with User A and add a product ...
-4
votes
1
answer
95
views
Using multiple programming languages in one project [closed]
How can I use multiple languages like C++, python, and JavaScript in a single project? For example, using C++ for performance-heavy tasks, Python for scripting, and JavaScript for the frontend. How do ...
2
votes
2
answers
35
views
Navbar animation flickering only on IOS Device
This is for a Navbar component that only shows up after the user scrolls to a certain section.
At start it should not take up any space in the view.
This works fine as intended.
But observing a ...
-5
votes
0
answers
43
views
how do I use JavaScript variables in PHP, or a PHP array with JS? [duplicate]
I only really understand the basics of JavaScript, so I really can't wrap my head around this problem.
i'm currently using the modal code below to add a new user (data-open). I want to use the same ...
0
votes
0
answers
23
views
3D Model Compression for Website Integration [closed]
I am developing website, and the requirements of client is to add interactive 3D model as well. I am in collaboration with 3D model artist as well. but the problem is that size of that model is too ...
0
votes
0
answers
15
views
Implementing Lightweight chart custom plugin with konva
I am developing a trading terminal using TradingView’s Lightweight Charts and want to create custom interactive drawing tools.
The Lightweight Chart custom plugin system requires drawing directly on ...
1
vote
4
answers
62
views
Why does the input field lose focus after typing a character unless I add autofocus, but still the whole page reloads?
I have an input field that loses focus and reloads the entire page after every letter added, and when I add an autofocus the page maintains focus but still reloads the page. How do I fix this?
...
0
votes
1
answer
58
views
Adding a list of variables to a spreadsheet [closed]
I have a Google Sheets Macro which under certain conditions generates an email with 3 variables in them.
I want it to also place these 3 values on a new line into the same spreadsheet, but on a ...
2
votes
2
answers
30
views
Disable closing of popup
I have a slightly odd use case for Fancybox 6. I want to open a popup and prevent it from closing.
I can disable the Close button easily enough as an option but I can't seem to remap the keyboard ...
0
votes
1
answer
74
views
Countdown Timer, struggling with allowing user input and connecting timer with the buttons [closed]
I'm an absolute beginner at JavaScript, CSS, and HTML. I'm trying to make a timer, and I'm finding myself struggling to code the JavaScript part. Do you guys have any advice on where to start? I know ...
-2
votes
1
answer
38
views
How to implement security when communicating from Node.js to MongoDB using Mongoose [closed]
i have successfully perform CRUD from Node.js to MongoDB using Mongoose.
from node.js file i did a npm install mongoose and npm init -y and name the file index.js
and for package.json i only install ...