Javascript hashmap
```js
function zappa(nums) {
const mapObj = new Map();
for (let i = 0; i < nums.length; i++) {
mapObj.set(nums[i], i);...
I want when you click the button text to appear
I want when you click the button text to appear so I can make the divs the same height and size before the button is clicked
https://codepen.io/Boeroe/pen/OJdXwBv...
Need help with CSS Flex
https://codepen.io/Yasssh-Patel/pen/xxMOWYw?editors=0100
here is the code but the problem is TopLeft div is working perfectly but all the other divs are not working...
Can't get rid of space on right!
Is anyone good at css ? I have been stuck at this problem for a long time now . And I don't know how to resolve it . I am trying to get rid of extra space on the right side in the image below but I have bi luck with it, can someone help me?

How to achieve smooth scrolling in react
Hi Folks,
I came across this site website "https://olaolu.dev/" and i'm trying to recreate this using React and SASS. Now i have no idea how he managed to achieve the scroll for each pages. i don't know how it smoothly scrolls to next page. Can somebody help me on this...
can someone explain it to me how this is made
```jsx
<div className={Css.Specifications}>
<h3>Specifications</h3>
<div className={Css.cards}>
<div className={Css.card}>...

Grid-area, why is my header not spanning across both areas?
https://github.com/callum-laing/react-first-app
I think I've written the code where it needs to be, however could someone please take a look and see if you can find out where I'm missing?
the header is inside Heading.jsx, which has imported inside a <header> tag in app.jsx....
CSS Reset - Does anyone have a solid one?
Tried googling some, they all vary very differently, since this discord is full of chads and chadettes, I'm hoping one of you can provide a good one 😄
meta title attribute and title tag
Do these both accomplish the same thing? Should you use one or the other? Both?
Animation causing high CPU
Hi,
I wanted to include some funky looking blobs on the background of a page using blur filter, similar to how a lot of websites are doing it these days. The problem is that after a short while I notice that CPU usage is climbing for some reason.
Here's a pen showing something like what I'm doing at the moment, just a couple of divs with some classes applied to blur it and make it spin: https://codepen.io/D10f/pen/vYbGqbp. I'm using Tailwind for this one, if that makes any difference but I've looked at the output CSS and looks quite straight forward as expected.
...
Very simple flex not working and I need your help.
I am trying to achieve something that seems relatively simple, but I'm tearing my hair out trying to work out what I've done wrong.
https://codepen.io/Dan-Brownson/pen/Rwvazex
Issue #1...
Carousal on a mobile device
If i wanted to make carousel like this
:https://mejuri.com/world/en/shop/products/chunky-medium-hoops
On small screens, it becomes carousel and on big screens it shows all images in grid structure, how can I acheive this, like how to makecarousal on small screens and grid of images on larger screens?...
all td cells the same height?
https://www45.myfantasyleague.com/2023/options?L=59840&O=113&CMD=GRID&DISPLAY=LEAGUE&ARCHIVE=*
In the above site, I have a bunch of rows with data. In some cases there are tables within td elements. When that happens, it makes the td’s with only one draft pick stretch to reach the height of the entire tr. how can I make it so those td elements with one draft pick stay at a specific height and align to the top of other td elements within the row?...
useState in React - creating state to track the click of a button?
https://codesandbox.io/p/sandbox/musing-bash-5hdgh5?embed=1&file=%2Fsrc%2FApp.jsx%3A11%2C31
"Add a new state variable to keep track of the number of times the background color has been changed. Display the number of times the background color has been changed on the page."
So far I have gotten as far as ...
card image out of box help
Hello everybody,
I've design this in html, but when I tried to make the grey part the image put over the previous section. You can watch my codepen in this link.
¿There's any way to do the gray part? I would appreciate the help. Thank you. https://codepen.io/agilardino/pen/wvNGmYQ...

Layout
How do I make make my elements start from where the logo begin:
i tried margin, padding. the problem is when i resize it does not stay the same. I want something like the second photo...

Wordpress Graphql Registration/Login User Resources?
any good resources on how to create graphql schemas and endpoints? How to use JWT and such with wordpress?