Making navbar fixed extends it s width – CSS
I created a navbar for a web application with React. First I designed a card element in order to define the site content and in this card I added a custom navbar, but when I set the position of navbar…
I created a navbar for a web application with React. First I designed a card element in order to define the site content and in this card I added a custom navbar, but when I set the position of navbar…
How can I use autocomplete for Chakra UI similar to IntelliSense with Tailwind CSS in VSCode?
The answer in Unmitigated helped me, if you are searching from google scroll down order: [ "567", "645", "852", "645", "852", "852", ] database: [ { "userId": 567, "userName": "tjk23", "department": "Sales", "remarks": "" }, { "userId": 645, "userName": "gfn23",…
I'm writing my web app in Next.js and I'm hosting it on Github Pages (an outside constraint, would personally use Vercel or something else). I have a dynamic route: webapp.com/experiments/[id]. ID needs to be dynamically generated whenever a users creates…
I am trying to learn what seems to be a simple async call within a useEffect in React. My code is as follows: useEffect(() => { async function fetchConstitution() { let response = await fetch(constitution_text); console.log(response.text()); return response } fetchConstitution()…
I want a program that can generate the date of first date of every week, so that I can insert it into the code below const dateOfTheFirstDay = null; //preferred format: "April 9, 2023 00:00:01" const d = new Date(dateOfTheFirstDay);…
I would like to make a multiple Select with MUI in my form that is made with Formik, it is my first time using MUI and Formik so I have the question below. Following the MUI documentation I made the…
Having the following interface for a React component: export interface MyInterface { name: string; isEasy?: boolean; isMedium?: boolean; isHard?: boolean; } It must accept maximum one property of the last three (isEasy, isMedium or isHard) For example <MyComponent name='John' />…
I want setTickets to wait for the getTickets function to get the data... but it doesn't. i tried using async await and by making setTicket(getSavedTickets()) my function. How can I fix this? Console logs show everything running before the DB…
I have a line of dates with different lengths, and I want to make them all the same height so that the line looks uniform. Specifically, I have a text in the line "TUE" in date 28 that is longer…