Showing 17 problems with active filters

CSS position: absolute vs fixed vs sticky

I'm confused about CSS positioning. When should I use: - position: absolute - position: fixed - position: sticky I tried making a sticky header but it's not working. What are the requirements for sti...

Alex Kumar Web Development beginner 1434 0 87

SEO basics for developers

What SEO techniques should developers know? How do I make my website rank better?...

Lisa Park Web Development beginner 655 0 42

Authentication: JWT vs Sessions

What's the difference between JWT and session-based authentication? When should I use each?...

David Miller Web Development intermediate 879 0 56

How to center a div - all the methods

This is embarrassing, but I still struggle with centering divs in CSS. What are all the different ways to center a div both horizontally and vertically? I want to understand: - Flexbox method - Grid ...

Emily Chen Web Development beginner 2433 0 156

Responsive design best practices

What are the best practices for making a website responsive? Should I use mobile-first approach?...

Kevin O'Brien Web Development beginner 758 0 48

What is CORS and how to fix it?

I keep getting CORS errors in my web app. What is CORS and how do I fix these errors?...

Robert Brown Web Development intermediate 1321 0 87

Understanding React hooks

Can someone explain useState, useEffect, and useContext with practical examples?...

Mike Johnson Web Development intermediate 1175 0 79

Server-Side Rendering vs Static Site Generation

I'm building a Next.js app and confused about when to use: - getServerSideProps (SSR) - getStaticProps (SSG) - getStaticPaths What are the trade-offs? When should I use each approach?...

Sarah Chen Web Development intermediate 946 0 58

useEffect cleanup function explained

I don't understand the cleanup function in React's useEffect. When does it run and why do I need it? ```jsx useEffect(() => { // setup return () => { // cleanup - when does this run? }; }, ...

Kevin O'Brien Web Development intermediate 1057 0 62

Understanding REST API design

What makes a good REST API? What are the best practices for designing endpoints?...

Jennifer Lee Web Development intermediate 1039 0 71

GraphQL vs REST API

When should I use GraphQL instead of REST? What are the pros and cons of each?...

Sarah Chen Web Development advanced 744 0 51

CSS specificity explained

I don't understand why some CSS rules override others. Can someone explain specificity clearly?...

Emily Chen Web Development beginner 606 0 36

What is the Virtual DOM in React?

I hear about the Virtual DOM in React but I don't understand what it is or why it makes React fast....

Maria Garcia Web Development intermediate 936 0 62

Understanding React context API

I keep hearing that "Context API can replace Redux" but I'm not sure how to use it properly. Can someone show me: 1. How to create a context 2. How to provide values 3. How to consume the context 4. ...

Mike Johnson Web Development intermediate 1170 0 71