Skip to main content
Filter by
Sorted by
Tagged with
0 votes
3 answers
77 views

export const Table = () => { const employees: Employee[] = [ { name: "John Doe", position: "Manager", employed: "23/04/18" }, { name: "Alex Nar", ...
Michael Xia's user avatar
1 vote
0 answers
81 views

I’m building a React application with TypeScript that processes real-time data streams. Using useState and useEffect causes excessive re-renders, impacting performance. How can I optimize state ...
JJ Marks's user avatar
4 votes
4 answers
1k views

I am using Laravel Livewire for navigation within my application. My default layout includes the following scripts: <div class="flex grow"> <x-layouts.sidebar /> &...
Muhammad Umar's user avatar
-1 votes
1 answer
53 views

I’m building a microservices-based application and in the front-end I'm using React and TypeScript. In one of the services, I fetch post data to display to users. Each post has a user field containing ...
Abdallah Benassloune's user avatar
0 votes
1 answer
70 views

I have one issue. I have function add() on buttons with number parameter. So when I click button in console there error Uncaught ReferenceError: add is not defined at HTMLButtonElement.onclick This ...
ILoveWalking Walking's user avatar
1 vote
2 answers
88 views

Sorry I'm quite new at coding, and also working with WordPress and ACF, and I'm trying my best but I can't figure this out: I'm trying to load my taxonomy description in rich text. Currently I'm using ...
Casper Boon's user avatar
1 vote
4 answers
97 views

I want to achieve this look for the header on my website. Check the image for reference. For example, in the word "Creative," I want the "t" to be a different font and have no fill....
Sofia Liashcheva's user avatar
-1 votes
1 answer
30 views

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"/> <ul class="navbar-links"> <li class="li-link"><a href="" class="nav-link"...
ProgrAngel's user avatar
0 votes
1 answer
33 views

When I visit any app page this overload happens, Is this normal!? I do not know what code caused this problem. POST /user 200 in 3605ms POST /user 200 in 488ms POST /user 200 in 48ms POST /user ...
Ahmed Badran's user avatar
1 vote
0 answers
91 views

this.router.navigate(['/d/admin', this.uuid], { state: { username: this.user.username }, }); I'm using this to navigate to a different page in an Angular project, but the issue that I'm facing is ...
Mohit Patel's user avatar
2 votes
1 answer
51 views

I have a logic issue and I’m not sure how to proceed. I have an auth method that sends email and password, and my API responds with a JWT token. Then, I need a getCurrentUser method, but I have ...
Zed's user avatar
  • 95
1 vote
0 answers
34 views

I'm developing a web app with Vue and have also developed a backend with FastAPI, which is already deployed on Azure. Now, from my web app running on localhost, I'd like to call some APIs of the ...
LordAssalt's user avatar
-1 votes
1 answer
65 views

I have a web app that provides links to all system's dashboards for user's convenience. It has a button for kubernetes-dashboard too. When a user clicks on a button, i would like to open a new page ...
vanyans's user avatar
-1 votes
1 answer
80 views

I am trying to create a share-button bar, but none of them work: Whatsapp: Shares the text and link, but the link doesn't appear in blue nor getting a preview. I care about the link being clickable. ...
Gulzar's user avatar
  • 28.8k
0 votes
1 answer
65 views

I want to make a scrolling button, where the text part scrolls out when you hover on it and scroll back when you stop hovering, but the animation is really inconsistent. This code works on the first ...
黃柏瑋's user avatar
0 votes
1 answer
598 views

In my angular application i was trying to use ng-select for showing drop downs. my angular version is 17 and it only supports ng select v12. i use standalone components in my application , when i am ...
hafis's user avatar
  • 133
0 votes
1 answer
22 views

Trying to write an unit test for changeFunctionalityStatus(). facing the issue like fControl.get is not a function . Stuck with this Anyone pls help me why this issue coming. TIA ...
web_in's user avatar
  • 125
0 votes
1 answer
63 views

I have a funcion y typescript that download a csv file, but the rows in the files shows as undefined and dont know why, I think that is a problem with async of the data that I bring but I dont know ...
elgalanazo16's user avatar
3 votes
3 answers
547 views

How can double-tap zoom be disabled on Safari mobile? There are some rules for default behaviour: With text it somehow depends on font-size. Other types of elements also allow to be double tapped and ...
Adler's user avatar
  • 2,887
0 votes
1 answer
86 views

In the Student Details column, I want to stack data values from three columns: Name, Major, and Year. Is it possible to do this while still maintaining the ability to filter by the individual columns? ...
Kelsey Butler's user avatar
1 vote
1 answer
41 views

ERROR in ./src/App.js 55:65-72: export 'BpkCode' (imported as 'BpkCode') was not found in '@skyscanner/backpack-web/bpk-component-code/src/BpkCode' (possible exports: default) I am facing this error ...
Are Bk's user avatar
  • 11
1 vote
3 answers
1k views

I am using the TailwindCSS grid function to show the stats and their value. I want to know how to decrease the distance/gap between the state and its value so that I can bring them closer to each ...
Praveen Kumar's user avatar
2 votes
1 answer
2k views

I want to remove the console.logs in the build but don't want to remove the console.errors, is there a way to do this? This is what I currently have. esbuild: { drop: mode === 'production' ? ...
itsDanial's user avatar
  • 395
0 votes
2 answers
229 views

Currently, when I hover over an item in the navbar, a horizontal drop-down menu opens like this (note the width of the drop-down menu): What would I like to achieve? I would like to widen the ...
Nodigap's user avatar
  • 307
-1 votes
1 answer
513 views

I configured my server like below. app.use(cors({ origin: 'http://localhost:5173', // Allow requests from your frontend methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], // Specify allowed ...
GuanHong Jiang's user avatar
0 votes
1 answer
179 views

Just using expo to build an app which needs to connect with Epic, I'm using expo-auth-session as the auth library and here's the code: import { useAuthRequest, CodeChallengeMethod, ...
wuguidashi's user avatar
0 votes
1 answer
79 views

I encountered an issue where the text extends outside a skewed div. I managed to straighten the text inside the paragraph, but this caused the text to overflow from the div. .leftStyle { ...
Pranshe's user avatar
-1 votes
1 answer
91 views

I'm using vite in a project and my folder structure is like this youtube_comments/ src/ js/ script.js sass/ styles.sass index.html When i move the index.html file in the root ...
Sahand Pourjavad's user avatar
0 votes
1 answer
436 views

I'm using Next.js version 14, the App router, and Next.js's Link component from next/link. File structure: Folder app/a contains: page.tsx which fetches the API, and passes the data to the <Table/...
bunny's user avatar
  • 19
0 votes
1 answer
129 views

I'm using React Hook Form in my project to handle form validation. I have a custom hook useFormField that integrates with useController from React Hook Form. However, I'm encountering an issue where ...
arista's user avatar
  • 3
1 vote
0 answers
2k views

I am trying to do it according to the instructions, but I am getting this error: Error screenshot [plugin:vite:css] Preprocessor dependency "sass-embedded" not found. Did you install it? Try ...
Никита Аксютин's user avatar
2 votes
0 answers
74 views

I am using this tutorial for testing a Directus/Nuxt project: https://docs.directus.io/blog/nuxt-directus-getting-started.html I modified the code because I have a collection called "playgrounds&...
winnewoerp's user avatar
-1 votes
1 answer
51 views

The Width of the h1s is too much for mobile devices so i Want to add a scrollable property but the overflow-x-scroll isn't working <div> <div className="mt-16"> ...
Beast's user avatar
  • 1
1 vote
0 answers
56 views

I can't get CSS to work in one particular part of my project. Works fine with other components. index.tsx const toggleMenu = () => { setMenuOpen(!menuOpen); } return ( .... ...
Nazlul Rizan's user avatar
4 votes
1 answer
781 views

I'm working on a chatbot interface using Gradio, and I'm trying to customize the height of the gr.ChatInterface component. I attempted to set the height using the height argument in the ChatInterface ...
SHDDSFFDSDSAF's user avatar
0 votes
2 answers
282 views

I keep getting the error: "WebSocket is closed before the connection is established" logged to my console when I run my vite application. I have tried everything I know to solve this error ...
Josh's user avatar
  • 123
0 votes
1 answer
52 views

I want make hamburger menu <HamburgerMenu className="Hamburger-Menu" id="HamMenu" style={styles}/> slide on clicking hamburger icon(checkbox) <Hamburger id="ham-icon&...
Ahsan914's user avatar
0 votes
1 answer
67 views

I have react project, that created with create-react-app and webpack as builder (ts, sass, css modules). YA-webvisor records are displayed without css styles (project in production mode). At the same ...
R. Rustan's user avatar
0 votes
1 answer
430 views

html code: <angular-editor [placeholder]="'Enter task...'" formControlName="task_note" [config]="editorConfig"> </angular-editor> <div class="icon" style="cursor: pointer" (...
Joshna J.U's user avatar
1 vote
1 answer
797 views

There was a Webpack configuration that I used to build a separate bundle for a JS worker (it must be in a separate file) and everything worked well. Here is the webpack config: const path = require('...
Roman Kaymakov's user avatar
1 vote
1 answer
105 views

Here's a photo of what I have in mind: I have a simple card component like so: function Card({ width, height, text }) { return ( <div className="card" style={{ width, height }}> ...
Berry's user avatar
  • 2,300
0 votes
2 answers
86 views

I have a PagesContainer component that renders multiple Page components like this: <PagesContainer> <Page /> <Page /> <Page /> <Page /> </PagesContainer> I ...
Berry's user avatar
  • 2,300
0 votes
1 answer
64 views

My code computes the number of characters the user has input. I allows users to save the entered text to localstorage and then when they visit the page the character count is shown. This is how I load ...
Arsh Sharma's user avatar
  • 1,371
-1 votes
2 answers
45 views

I have the following error when I run the ng serve command: error This is my directory structure: structure app.component.html: component html app.component.ts: component ts app.module.ts: module ts ...
Juan Guillermo Rozo Chicue's user avatar
0 votes
1 answer
147 views

I have a website that I created a while back. Recently, I built a languages switching feature locally, and pushed it up through GitHub and into Vercel, expecting it to work just fine. The page should ...
Ben Leevey's user avatar
0 votes
1 answer
67 views

import { useToast } from "@chakra-ui/toast"; import React, { lazy, Suspense, useContext, useEffect, useState } from "react"; import { Outlet, useNavigate } from "react-router-...
MR. WOLF's user avatar
0 votes
1 answer
52 views

I have an Angular application following a Feature-Based Architecture. I need to create a shared component that will be used across multiple feature components. This shared component should call an API ...
abdou_behind_the_code's user avatar
0 votes
1 answer
39 views

I have a requirement where I have forms in expansion panels, and I need to allow the user to navigate to succeeding accordions only after the form in the current accordion is filled. For example, if ...
MrSrv7's user avatar
  • 820
2 votes
2 answers
59 views

I can give a div this gradient and make it absolute and place it at the right position, but how do I make it semi-circle? <div className="absolute top-[50%] right-[-600px] w-[50%] h-[...
Noor Fatima's user avatar
1 vote
1 answer
408 views

I am new to storybook and frontend development. I have this checkbox.tsx import React from 'react'; import styles from './checkbox.module.css'; // Ensure this import points to the correct CSS module ...
Sup's user avatar
  • 11

1
3 4
5
6 7
290