Input Field Function on JS
Hey guys can I ask how can I implement a function on js. This is my brain thinks when click on a input field the h1 title should be change to somewhat any color to make the title h1 focus.
I have a h1 title which is Question 1 that has color black and I have also a Input where they should put an answer....
Website jumps around when virtual keyboard is up
I have a login page. ( used in full screen mode like a PWA. Added to home screen )
When the user clicks on one of the input boxes the virtual keyboard pops up. When the user finishes typing the username he either wants to click away from the box to be able to click to the login button or wants to click to the password input box. When the user clicks away the virtual keyboard hides but bring the page with itself to the bottom. And if the user clicks again, the website jumps back to it's normal position.
I have included a gif demonstrating the problem. and here is a codepen link: https://codepen.io/drrandom/pen/eYLbBdq...

Need help regarding cubic-bezier function
Recently, I came across a function named cubic-bezier function through this article:
https://css-tricks.com/advanced-css-animation-using-cubic-bezier/#comment-1803198
I, however, almost got this article, except for the 'Math Part' for Parabolic approximation when the article reached the line "...We used V = 500 in the last example, so the max value there would come out to 375 (or 37500%) and we get the following:"....
Scroll like in ChatGPT
I developed a ChatGPT-like app with React and Nextjs, I need to scroll while streaming the output, but couldn't find the logic behind it! anyone has an idea?
header height
Good day everyone.
Some confusion abt this project: https://github.com/bedimcode/responsive-halloween-website/blob/main/index.html
```media screen and (min-width: 767px)
.nav {...
Confused between Web And Game Developement.
I am confused between Web and game developement, I have some experience in Front end developement but recently Game developement excites me more, so I am confused. Also, I lost all my previous works and projects and Now am low in motivition to do that thing again.
Checkbox Problem or my HTML?
Hi guys I.ve been debugging this for almost an hour. The problem is when checking the button it does not stay in active and wont stay on the checkbox
Image provided of desired solution. Active state + checkbox
https://codepen.io/pen?template=XWPyZMm...

CSS solution for this
Hey guys, to get the notch in middle I've used two divs with border radius. But now because of that text inside one div wont expand. I can I use css so that the blockquote expands all the the way across ??
CSS:...

.box:hover:after fade in transition
I'm trying to animate a fade-in transition for a .box:hover:after property, and am not having much luck.
Codepen; https://codepen.io/rainbow_blacklight/pen/qBMQXXB
Would I need to make use of the animation property to achieve this?...
Fit image inside div whilst maintaining aspect ratio and border radius
I know most people here are HTML/CSS purists but I donβt think this leans too heavily on other toolsets for some relevance to here. Would anyone be able to help with this StackOverflow question? https://stackoverflow.com/questions/75816452/fit-next-image-component-inside-div-whilst-maintaining-aspect-ratio-and-border-r
How can I make my navbar responsive with 8 links?
I've made responsive navbars before, but only with 3 or 4 links. I'm developing a digital portfolio, but the navbar has 8 links in it. This Jsfiddle will show what I have: https://jsfiddle.net/7nwg6v5k/7/.
I'll make it so that when the screen gets too narrow it transitions to a hidden menu. On full-size screens my current nav works well, but even at slightly smaller screens the text wraps and some links overflow.
I'm not sure of a good way to make this work. I don't want it to change to a menu before screen with gets below one third of full size. Sorry if I've not worded this well. Anyone have any ideas? Thanks...
vite can't find sass variables
Hey guys, hope you're doing well. Today I faced with the problem, idk why it's happening, but here's the problem:
- I made a file, called _variables.scss
- put some custom variables there
- import that file to my global.scss
- import global file in my main.tsx...

Position sticky doing werid jumps on mobile
Hi there. So I have a button that is sticky on mobile. It should only show when the user scrolls past a certain element. However it's acting up quite bad, and moving all over the place. Any idea what could be causing this? I tried using both top and bottom as the position.
The button is always sticky, the class "in-view" that gets applied via javascript changes the opacity.
Pased an image of the element in question...
[solved] Img behave different in Chome?
I have an issue with images:
They are above each other and I make one visible when hovering, this works just fine in any browser but Chrome.
In chrome for some reason they height is different.
They are the same size so that cant be it.
...

How does this example from React documentation work?
Hello guys, I'm reading the new React documentation but I don't understand a little thing. In the step 5 in this page https://react.dev/learn/reacting-to-input-with-state the
handleSubmit function updates the status state 2 times (one at the top level and one inside try/catch). How is that possible? Shouldn't state be updated with just the last value?
I tried to add a new counter state and increment it by 1 every time that setStatus is called, and it actually gets incremented only by one per submit, as I expected... so why is setStatus different?...Working VS Code extension for Custom Property intellisense
Hello!
So I've been trying about 3 or 4 different extensions to get intellisense going for custom properties coming from an external file, when working with multiple .scss partials, but apparently, I'm not setting those correctly or they just don't work.
You guys have a working setup that has been working for you ? What settings were tweaked to get there ?
...
Force Grid Box to align at top
New to Discord so please forgive me if this post is not as it should be. I'm having an issue with content alignment within a grid box. The first image illustrates my desired result of a page using a grid. The Menu, Heading, and Footer are not part of the grid structure. I have 10+ pages that use this same structure. The attached text file is a mixin I use to include the grid structure.
The four parts of the grid can all be of variable height.
The problem is related to the height of the page_Table area. The area is populated with a dataTable from my database. Because the table length is greater than the height of the image everything looks fine (2nd image, i.e., table aligned to the top of the grid area). But, if one of the alpha letters is selected, which has fewer rows than the base table (3rd image) the table appears in the middle of the grid area....

Custom hr in CSS
Is it possible to achieve something like this with css ? I dont even know how to start with this.
