Are shadows only added to buttons and images?
Help me decide between the two and educate me a little bit more about shadows.

TypeScript review
I have the following TS code:
```ts
const input: Array<string | number> = [3, "a", "a", "a", 2, 3, "a", 3, "a", 2, 4, 9, 3];
...
Design advice
as you can see in my image i have a accoridan can any one tell me best framework to make this tyoe of accordian which will be easy to modify in react js or i should build it custom.
Thanks...
Alarm timer
Hi all! Tell me what is the error?
The number n is given. n minutes have passed since the beginning of the night. Determine how many hours and minutes the digital clock will show at the moment. The program should output two numbers: the number of hours (from 0 to 23) and the number of minutes (from 0 to 59). Please note that n can be greater than the number of minutes in a day. ```let n = 1441;
let h = Math.floor(n/60);
let m = (n % 60);
if (h >= 24){...
Customizing Forms - What are some tips and tricks?
I'm building a food ordering site, very simple one for now, and I'm trying to customize the form layout without much success.
https://codepen.io/Laing91/pen/bGOaEwr
There will only be a few sections until I get it up and running and look to add more, potentially, so I'm not sure how you would separate each selection?...
Repeated SVGs and patterns on website background help
Hello Friends. I'm currently working on a coding challenge and I'm faced with a problem I can't seem to wrap my head around yet.
Here's the deal. I want to implement an almost pixel-perfect replica of the UI design below.
The doozy for me is how I'm going to implement all the little stars scattered around the whole website. And the little gradients that looks like a glow of light is also scattered around the whole page. I've been thinking about this for a while now and I very much need help at this point....

Integrating 3rd Party Library Challenge: Carousel Styling in NextJS Migration
As a junior developer, I am currently grappling with a challenge related to the integration of a third-party library into our company's website. Our previous website was constructed using AngularJS and JSP, technologies with which I have limited proficiency. Adding complexity to the situation, the carousel styling on this website is being overridden by a mandatory 'toolkit.css' file that incorporates the header and footer from Kentico. My assigned task is to recreate the Product Details Page on...
Why is a TextNode in the dom 20 px high when its set to 1rem/16px?
Hello people! I recognized that pure TextNodes in the dom have a box size of 20px height. See the first screenshot.
The box of the text grows larger than its content. This causes my button to look not appealing, as even though I have set it to flex and centered it vertically, it still looks like the text is a few pixels too near to the bottom line.
And then there is another thing: When zooming in, the actual center line changes. See the second screenshot.
I know this is probably caused by how images are rendered by the browser and that such a rendering process is a very complex thing and nearly impossible to do it perfect. But is there anything I can do about that?...

How to crop overflowing element?
Hello, I am facing with an issues with an overflowing element. I added overflow-x as hidden on my body element but it didn’t work. What else should I do? Or is it because of Safari? It requires -webkit?
Website:
http://minesa.live...

Getting Astro to work with prettier-plugin-tailwindcss
I can't for the life of me get the Tailwind plugin to work with Astro files in VS Code. I've tried several approaches I've found online, including the guide linked from the Astro website: https://straffesites.com/en/blog/integrate-prettier-astro-tailwindcss
Has anyone had success getting this working? I've also got the Astro extension installed....
Why is this overflowing in x axis?
When I pass textarea's rows as "10" it creates and overflow in y and x axis, I don't get why height have anything to do with x axis? I also passed it "1" for comparison

JS Concatenation
I'm working with a sample API in JavaScript. My code is the following:
```
let index = 4;...
why h1 is overwriting a class
Hi! I came across with a weird behaviour and wanted to know if I'm missing something.
So, in HTML it looks like this:
`<div class="content-quote">...
JavaScript shenanigans with user input
Hello everyone,
Im trying to create really simple page calculating users BMI and desired calorie intake for mass loss/gain. I'm just learning JavaScript so most of code in there is made with the help of YT examples, no way I could write that up myself.
I would be really grateful for any/all suggestions how to refactor my code and how to finish up BMI, current level and desired level of calorie intake. I'm really having issues in finding a way to wrap this up.
Here's my GH link:
https://klukas18.github.io/fitness-website/...
Lazy Loading
Hello,
I was watching this video by Kevin explaining a method on how to lazy load. (https://m.youtube.com/watch?v=mC93zsEsSrg&t=52s&pp=ygUPTGF6eSBsb2FkIGtldmlu)
In this video, he uses data-src attribute to hide / reveal images based on the Intersection Observer API in JS. However, after reading more about data attributes:...
Gaps in a grid make an element of the grid overflow
As you can see, the grid which contains the image and the div with 2 text blocks has some gaps, and for this reason text overflows. Any idea how can I prevent it?

DOM under the hood
Hello guys,
I am confused about the DOM and have several questions.
DOM is just specification for browsers developers that specifies necessary interfaces?...


