Skip to main content
0 votes
1 answer
19 views

Problem: I am trying to display a user's address from a nested user object in my React component. When the component first loads, I get an Uncaught TypeError: Cannot read properties of undefined (...
Osama Mirza's user avatar
-3 votes
1 answer
79 views

I am learning web development and sometimes I get type errors when running my project. I understand that a type error usually means the program is trying to use a value in the wrong way, but I’m not ...
peter office's user avatar
-3 votes
1 answer
37 views

First, I retrieve the data from the database using PHP oop called it $details. $details contain several object array totally about 7. Each object array has a PHP object fields are service_idno, ...
rick_8040's user avatar
-3 votes
2 answers
83 views

I have an JavaScript array like this: let myArray = [ { name: 'Alice', children: ['Bob', 'Bill'] }, { name: 'Bob', children: 'Cindy' }, { name: 'Bill', children: [] }, { name: 'Cindy', ...
Wernfried Domscheit's user avatar
Best practices
1 vote
4 replies
64 views

How can i create a mini quiz app with pure vanilla JavaScript which takes questions and presents options which include the correct answer and output the scores with a next button which switches the ...
Ekedegba Benedict's user avatar
Best practices
0 votes
1 replies
48 views

I'm making a quiz-type program and I have 8 preset answer keys that each have an array of 15 binary values. User answers the same 15 questions, I compare their array against all 8 and then return the ...
Joe Bonachea's user avatar
Best practices
2 votes
2 replies
43 views

I am building a browser-based electrical training simulator in JavaScript. The goal is to simulate industrial control circuits (contactors, overloads, push buttons, and three-phase motors) and allow ...
Badr Eddine's user avatar
-9 votes
0 answers
141 views

I want to remove all special characters from a string except emojis. var stringWithEmoji = "test 😎"; var cleanedString = stringWithEmoji.replace(/[^a-zA-Z0-9\s]/g, ''); The above replace ...
Paul Kendal's user avatar
-1 votes
0 answers
48 views

I am building a real time collaborative editor in JavaScript where multiple clients edit a shared JSON document. Updates are sent over WebSockets as JSON Patch style operations. Constraints: Clients ...
alato22's user avatar
Advice
0 votes
0 replies
37 views

I usually use @fontsource/{font} NPM packages for open-source fonts, but it happens one open-source font I like to use for code sections isn't that popular and isn't anywhere on NPM. I need to embed ...
Matheus's user avatar
  • 148
4 votes
3 answers
146 views

Problem: I have an <input type="date"/> element, and it looks like this: normal date selector as you see there is a "calendar" icon which can be used to select a date. but ...
Noah Favelo's user avatar
1 vote
1 answer
63 views

I'm trying to customise my site on Cargo, and I'm hoping to have a slideshow gallery that also has a thumbnail index of the images below it. Right now I have just created two galleries of the same ...
Coco Yuan's user avatar
  • 117
Best practices
0 votes
2 replies
87 views

so to fetch from an API in react we can either use the useEffect(), or a combination of useEffect() and useCallback(), but there is a very annoying problem that I see most of the time where we get ...
Mahmoud Alfalah's user avatar
-3 votes
0 answers
96 views

This should be simpler. I am writing a demo of some proposed solution. I need to initialize a react component (a react-quill editor if it matters) with the contents of a file. In our final solution,...
boing's user avatar
  • 541
Advice
1 vote
15 replies
162 views

I am looking for languages that serve as the best foundational languages I would need to step into full stack development, and use that base and experience to maybe switch to ML, AI, Data Science, ...
Deepaansh Deepak Sial's user avatar

15 30 50 per page
1
2 3 4 5
168335