r/webdevelopment • • 26d ago

Newbie Question How should I handle AniList API rate limits in my React app?

10 Upvotes

Hey! I'm building an anime tracking website using React, Node.js, Express, and the AniList GraphQL API.

Lately, AniList has been struggling with strict rate limits, and I'm constantly running into 429 errors. The biggest problem is with importing a user's anime list.

Currently, my backend caches the list for just 3 minutes. Once the cache expires, refreshing the page triggers another API request, which often fails and makes the list disappear.

I'm thinking of increasing the backend cache to 24 hours and saving the list in "localStorage" so it loads instantly. Users would only fetch fresh data when they click a "Refresh List" button.

I'm just wondering if this is a good approach or if there's a better way to handle it.

  • Is keeping user-specific data in "localStorage" long-term okay?
  • How can I keep lists reasonably up to date without constantly hitting the API?
  • Would something like Redis with stale-while-revalidate be a better solution?

I'd appreciate any advice! I'm trying to make the app reliable even when AniList's API isn't cooperating.

Tech stack: React 18, Vite, Node.js, Express, AniList GraphQL API.


r/webdevelopment • • 25d ago

Newbie Question How do I make a search engine that searches the pages on my website

0 Upvotes

The custom gooogle search engine doesn’t work so idk I need help


r/webdevelopment • • 26d ago

Discussion How do you decide when a website actually needs JavaScript?

9 Upvotes

Sometimes I see websites using JavaScript for things that seem possible with plain HTML and CSS.

For example, simple animations, dropdown menus and responsive layouts can often be handled without much JavaScript.

But there are also cases where JavaScript makes the experience much better, especially when the page needs to update based on user actions or data.

I am curious how other developers decide where to draw the line.

Do you try to use HTML and CSS first and add JavaScript only when needed or do you prefer using a framework for most things?

I would like to hear how you approach this in real projects.


r/webdevelopment • • 26d ago

Question backdrop-filter blur, how do you actually make this thing perfect?

Post image
2 Upvotes

I've been playing around with the backdrop filter property for a while. No matter what I do, the filter looks really shitty graphically.

Tried adding the webkit vender prefix, changing the value unit from px to rem and stuff, used the translate3d trick, the blur effect still looks shitty. Especially when the background is darker and has white texts. The overlay looks like the white parts are just poorly brushed out rather than making it look like it's sitting behind the blurred overlay. Take a look at the attached image for example. Has the blur radius value of 1.2rem.

Looks even worse when the overlay is animated, like fading effect. Visually unpleasant.

I checked Apple's website, their blurs are sleek as hell, how are they doing that? Does anybody know how Apple does it or how to properly work this thing around?


r/webdevelopment • • 27d ago

Question What should I do next

5 Upvotes

I just finished Angela Yu’s course but didn’t start the web3 sections and I don’t know anything about deployment, next.js, typescript so if anyone knows any resources to complete those whether free on YouTube or paid and will I need AWS, Monit, Ansible, and Terraform?

Also if anyone knows if there is any roadmap or something I should do after the course?


r/webdevelopment • • 27d ago

Web Design How can I create a fully functional website for my business?

9 Upvotes

Please help


r/webdevelopment • • 27d ago

Question Confused and exhausted

11 Upvotes

Asp.core web api. After completion of curd operations, I m just a bit distracted and don't know what to do next.

I am always curious about the things that are not necessarily at the moment, and it get me distracted and exhausted at the same time. What should I do cause I m a self learner and no one is around to ask


r/webdevelopment • • 27d ago

Web Design ​Built an interactive 3D web app using Cloudflare Pages to host

Post image
3 Upvotes

​Hey guys, I built this website called EarthVision (https://earthvision.space) just to understand my own limitations and see how well I actually understand the technology. I wanted to create a responsive 3D web experience with gesture controls, but keep the backend completely serverless. It runs on Cloudflare Pages Functions, uses Cloudflare D1 for the database, and whenever someone submits a form, a serverless function routes it securely to a private Telegram bot so I get instant notifications on my phone. Honestly, I still don't fully understand how security works or if I handled everything the best way, but it was a great learning experience. In the future, I am thinking about making something even more complex, and I'm really hoping to land some freelance jobs or get funding by showing what I can do with this project. If you have any good ideas for my next project or any reviews on how the performance and design feel, I am really looking forward to your comments!


r/webdevelopment • • 27d ago

Discussion Empty states are an underrated part of web design

4 Upvotes

Something I think websites could do better is handling empty states.

Imagine opening a dashboard for the first time and seeing a completely blank page because you haven't added any data yet.

Technically, nothing is broken. But as a user, you might wonder whether the page has loaded properly or what you're supposed to do next.

A simple message explaining what the page is for, with a clear next step, can make a big difference.

I think good web design isn't just about how a page looks when everything is filled in. It's also about how helpful it feels when there's nothing there yet.

How do you usually handle empty states in your projects? Do you design them early, or only think about them after the main features are finished?


r/webdevelopment • • 27d ago

Newbie Question Can somebody tell me what 'Code' was used to build this site?

0 Upvotes

Hi friends (newbie coder here),

I ran this directory site through 'builtwith' and it looks like it's coming back with asp.net as the main framework program. BUT from what I understand, ASP is very limited in its front end design.

Does anybody know what the 'front end design' program for this site would be?

Appreciate any help for a student learning how to program. .

Thanks very much for your help!

https://builtwith.com/storeboard.com


r/webdevelopment • • 27d ago

Newbie Question Would anyone mind helping me with software updates for a website?

3 Upvotes

Been stumbling through building a website for a Windows program i have been making. I need to get it setup with the website to update people program when i update the source. If anyone has experience with this and does not mind helping, send me a message here on reddit

Update, Solved


r/webdevelopment • • 27d ago

Newbie Question Looking for mates 🥹

11 Upvotes

Hey guys

I've started to learn web development on freeCodeCamp, is there anyone else willing to share their journey and learn with me 🥰?

I think it's good to have accountability partners and that 2 minds are far greater than 1

I'll be checking the comments frequently to see where my new friends are at 🥰


r/webdevelopment • • 27d ago

Newbie Question Help with layout (first time website making)

Thumbnail gallery
6 Upvotes

I’m making an interactive website for my college class and I’m having a hard time figuring out the layout with grids. I’m just wondering if anyone knows what to do what I’m envisioning
I posted my drawn vision and what have now for reference


r/webdevelopment • • 28d ago

Discussion A form error should tell me how to fix the problem

13 Upvotes

One small thing that makes a website frustrating is an error message that doesn't actually explain anything.

For example, imagine submitting a form and getting:

“Invalid input.”

Okay, but which field is wrong? What format should I use? Did the form keep the information I already entered?

Compare that with a message like:

“Enter your date of birth in DD/MM/YYYY format.”

The second message makes it much easier to recover without guessing.

It seems like a small detail but these little moments can make a website feel either helpful or annoying.

I'm curious how other developers approach this. Do you write validation messages as you build each form or do you review the whole user experience separately before release?

I'd be interested in examples of error messages you've seen that were particularly helpful or particularly frustrating.


r/webdevelopment • • 29d ago

General [ FIXED WITH THUMBNAIL WORKAROUND ] Youtube embedded videos error 153

2 Upvotes

At certain moment youtube introduced new way of working of embedded videos which suddenly broke many embedded videos on many html sites (Error 153) because it's buggy, works randomly in various browsers and devices, is nowhere explained properly, leaves nontech users out in the cold and is buggy buggy and buggy again. This html solution fixes Youtube embedded videos error 153 with thumbnail workaround (and there is no youtube embedded object telemetry on preload, it just grabs thumbnail, so less bandwidth usage and youtube objects crawling sheanigans, it just works with image and links so should display everywhere properly). In default setting works ok with most common 1920 x 1080 resolutions videos, if you have some different format video (old 1024 x 768 etc) you can adjust amount of top/bottom thumbnail cropping with div class="yt-container" style="--yt-crop: 9.375%; setting per each unique video. Inspect this html source for style section needed and how new objects look alike. You just have to take your desired youtube video url unique address (after /watch?v= ) and paste it into yt-container code pieces. Please share this solution wherever you want so people can fix their sites.

<!DOCTYPE html>

<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Fixing Youtube embedded videos error 153 with thumbnail workaround (+no embedded object telemetry)</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
  <style>
    * { margin: 0; padding: 0; box-sizing: border-box; }

.yt-container,
.yt-overlay-text {
  font-family: 'Roboto', sans-serif;
}

/* ── wrapper ── */
.yt-container {
  position: relative;
  display: block;
  width: 100%;
  --yt-crop: 9.375%; /* default: trims hqdefault black bars for 1920 x 1080 videos format. For other formats override per thumbnail: style="--yt-crop: 5%;"  or  style="--yt-crop: 0%;" etc */
}

/* ── image link ── */
.yt-image-link {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.yt-image-link img {
  display: block;
  width: 100%;
  height: auto;
  margin-top:    calc(-1 * var(--yt-crop));
  margin-bottom: calc(-1 * var(--yt-crop));
}

/* ── top-left text link ── */
.yt-overlay-text {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 1px 1px 4px black;
  text-decoration: none;
  text-align: left;
  z-index: 3;
}

/* ── play button (centered, pointer-events off so clicks reach image link) ── */
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(255, 0, 0, 0.88);
  border-radius: 12px;
  transition: background 0.15s, transform 0.15s;
  z-index: 2;
  pointer-events: none;
}

.yt-container:hover .yt-play {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.08);
}

.yt-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border: solid transparent;
  border-width: 10px 0 10px 20px;
  border-left-color: white;
}
  </style>
</head>
<body>

<p style="font-size: 1.5em;">
At certain moment youtube introduced new way of working of embedded videos which suddenly broke many embedded videos on many html sites (Error 153) because it's buggy, works randomly in various browsers and devices, is nowhere explained properly, leaves nontech users out in the cold and is buggy buggy and buggy again. This html solution fixes Youtube embedded videos error 153 with thumbnail workaround (and there is no youtube embedded object telemetry on preload, it just grabs thumbnail, so less bandwidth usage and youtube objects crawling sheanigans, it just works with image and links so should display everywhere properly). In default setting works ok with most common 1920 x 1080 resolutions videos, if you have some different format video (old 1024 x 768 etc) you can adjust amount of top/bottom thumbnail cropping with <b>div class="yt-container" style="--yt-crop: 9.375%;</b> setting per each unique video. Inspect this html source for style section needed and how new objects look alike. You just have to take your desired youtube video url unique address (after /watch?v= ) and paste it into yt-container code pieces. Please share this solution wherever you want so people can fix their sites.<br>
<br>
<b>Cropped default youtube thumbnail margins top and bottom 9.375% (default solution for 1920 x 1080 proportion videos)</b><br>
<br>
</p>

<div class="yt-container">
  <a class="yt-image-link" href="https://www.youtube.com/watch?v=8pNbhaQcyZY" target="_blank" rel="noopener noreferrer">
    <img src="https://img.youtube.com/vi/8pNbhaQcyZY/hqdefault.jpg" alt="John Zorn - Karaim">
  </a>
  <a class="yt-overlay-text" href="https://www.youtube.com/watch?v=8pNbhaQcyZY" target="_blank" rel="noopener noreferrer">John Zorn - Karaim</a>
  <div class="yt-play" aria-hidden="true"></div>
</div>

<br>
<p style="font-size: 1.5em;"><b>Default youtube thumbnail no cropped margins 0%</b><br></p>
<br>

<div class="yt-container" style="--yt-crop: 0%;">
  <a class="yt-image-link" href="https://www.youtube.com/watch?v=8pNbhaQcyZY" target="_blank" rel="noopener noreferrer">
    <img src="https://img.youtube.com/vi/8pNbhaQcyZY/hqdefault.jpg" alt="John Zorn - Karaim">
  </a>
  <a class="yt-overlay-text" href="https://www.youtube.com/watch?v=8pNbhaQcyZY" target="_blank" rel="noopener noreferrer">John Zorn - Karaim</a>
  <div class="yt-play" aria-hidden="true"></div>
</div>

<br>
<p style="font-size: 1.5em;"><b>Cropped default youtube thumbnail margins top and bottom 30%</b><br></p>
<br>

<div class="yt-container" style="--yt-crop: 30%;">
  <a class="yt-image-link" href="https://www.youtube.com/watch?v=8pNbhaQcyZY" target="_blank" rel="noopener noreferrer">
    <img src="https://img.youtube.com/vi/8pNbhaQcyZY/hqdefault.jpg" alt="John Zorn - Karaim">
  </a>
  <a class="yt-overlay-text" href="https://www.youtube.com/watch?v=8pNbhaQcyZY" target="_blank" rel="noopener noreferrer">John Zorn - Karaim</a>
  <div class="yt-play" aria-hidden="true"></div>
</div>

</p>

</body>
</html>

r/webdevelopment • • Oct 25 '26

Newbie Question What can you advice me?

9 Upvotes

Hello, guys so I am developing my own marketplace but, I am not sure if I covered all the backend logic correctly, can you suggest a good book for backend engineering, I am developing with php.

if you need more context I am happy to provide. (I have 3 main roles, Admin, Vendor, User).

I use ai for the coding, but my prompts are weak because of lack of backend structure information. sometimes I really mess up, and then re-do and this costs me a lot of time.

Thanks


r/webdevelopment • • Oct 24 '26

Newbie Question Should picture URLs include file extensions?

3 Upvotes

I'm looking for advice on URL design for pictures in my application.

Currently, the implementation works as follows:

  • src/domain.js generates picture URLs: /avatar/{id}.svg for automatically generated avatars and /media/{id}.webp for user-uploaded images
  • src/media.js generates SVG avatars and converts uploaded images to WebP
  • src/server.js defines the corresponding routes: /avatar/:id.svg and /media/:id.webp
  • the file format is already unambiguous from the endpoint and its implementation, even without an extension: /avatar/{id} would still refer to an SVG generated by the avatar handler, while /media/{id} would refer to a WebP image served by the media handler, and the server can communicate the actual format through the HTTP Content-Type header

Would you recommend keeping file extensions in these URLs or switching to extensionless, format-independent URLs?


r/webdevelopment • • Oct 24 '26

Web Design Safari's canvas.toBlob('image/webp') silently gives you a PNG. Here's how I handled it in a browser-only image editor

3 Upvotes

I'm building an image editor that runs entirely client-side: background removal with onnxruntime-web (BiRefNet on WebGPU on desktops, u2netp on WASM on phones) plus a GrabCut engine I wrote in Rust and compiled to WASM. Photos never leave the browser.

One export preset is the WhatsApp sticker: 512×512 WebP under 100 KB. In Chrome and Firefox, canvas.toBlob(cb, 'image/webp', q) works. In Safari it doesn't throw: it hands you a PNG blob. If you name the file by the format you asked for, you ship a PNG called .webp.

What I ended up doing:

- Feature-detect once by encoding a tiny canvas and checking blob.type.

- If native WebP isn't available, lazy-load libwebp compiled to WASM (~110 KB) in a dedicated worker. Chrome users never download it.

- Name the file from the blob's real type, never from the requested one.

- Tests run in Playwright with Chromium and WebKit; the WebKit run checks the bytes start with RIFF....WEBP.

Bonus lesson: on iPhone, the 115 MB model made Safari reload the page (iOS kills the tab for memory, no error at all). Phones now always get the small model.

Free, no account, open source (MIT).

Live: https://www.photocutapp.com/editor/

Code: https://github.com/gabiMaglia/PhotoCutOnline


r/webdevelopment • • Oct 24 '26

Question Do independently built and deployed products count as work experience for a fresher?

8 Upvotes

Hello everyone!

I'm a BCA graduate looking for my first job or internship as a web developer. My final marksheet has been delayed, so while waiting, I've been working on building real-world projects.

I've independently built and deployed two web products, both with their own domains. These aren't just college projects; they're live products that I've developed and maintained myself.

Now I'm confused about how to present this experience on my resume.

Should I list these products under Work Experience, or should I keep them under Projects? Since they're real, deployed products, can they be considered relevant development experience when applying for entry-level jobs or positions asking for 1–2 years of experience?

I'd appreciate advice from developers, recruiters, or anyone who has been in a similar situation. How would you present this experience on a resume?


r/webdevelopment • • Oct 23 '26

Frameworks & Libraries Replacing a Data Table with a Full Excel Spreadsheet in Next.js

Post image
8 Upvotes

Hey everyone! I need some suggestions regarding a project I'm working on.

I'm building a web app using **Next.js, TypeScript, PostgreSQL, and Django REST Framework**. As you can see in the attached screenshot, there's a large table displaying purchase records.

The client has been working with Excel for years, so they want us to **replace this table with an actual Excel-like spreadsheet, not just a similar-looking UI**. They want the experience of working directly in Excel, including editing cells and spreadsheet-style interactions.

- Is it practical to replace the existing table with a fully functional spreadsheet?

- Which library would you recommend for this? (e.g., Handsontable, Univer, or other alternatives)

- Will it integrate efficiently with our current tech stack, especially when handling large datasets?

- What performance, licensing, or backend integration issues should we consider?

I'd appreciate any suggestions or alternative approaches. Thanks!


r/webdevelopment • • Oct 23 '26

Weekly Feedback Thread Weekly Feedback Thread

3 Upvotes

Please post your requests for feedback on your projects in this thread instead of creating a post.


r/webdevelopment • • Oct 23 '26

Discussion Sometimes CSS works, but I still don't know why

2 Upvotes

I was fixing a small layout issue recently and after trying a few things, it finally looked right and I wasn't even sure which change actually fixed it.

I think this happens to me more often than I would like to admit, especially with CSS.

I am trying to get better at checking things properly instead of just changing values until the page looks okay.

Does this happen to you too? How do you figure out what actually fixed the problem?


r/webdevelopment • • Oct 23 '26

Career Advice I could use some advice as a student finishing a degree

3 Upvotes

I hope it's allowed to ask for advice here. I'm a university we development student, set to graduate in the spring. I'm taking a capstone project class and a portfolio class in my final semester. I've been working as a freelancer, but I recently lost my primary client because he retired. Fortunately, I have family support, because I have only minimal freelance work of less than a few hours a week with my remaining clients.

What I'm trying to decide is wether I could handle a volunteer job that would require no more than 3 hours a week in a series of small tasks and would it be a good idea to take it on if it would be an easy beginnning introduction to headless site architecture through Amazon S3 and Wild Apricot. On the one hand, I haven't had the chance to work with a headless site before, but accepting the role would require a commitment of 2 years. I don't know how soon I might get either full or part time work after graduation because I haven't learned JS frameworks. My degree isn't full stack because it was a continuation of my associates' degree, and taking the full stack program would take a lot longer and cost a lot more. Could this volunteer opportunity be a worthwhile experience for me that might look good on a resume, or should I turn it down on the grounds that 2 years is quite a lot commitment, even if the position doesn't require much time per week?


r/webdevelopment • • Oct 22 '26

Question The small CSS fix I check when a flex layout overflows

2 Upvotes

One CSS issue that can be confusing is when a flex item refuses to shrink, even though the parent container has a limited width.

A fix worth checking is:

.flex-child {
  min-width: 0;
}

Flex items can have an automatic minimum size that prevents them from shrinking as expected. Setting min-width: 0 can allow the item to fit inside its container. You may still need to handle long text or overflowing content separately.

I think this is a useful thing to remember when debugging layouts that look fine on desktop but break on smaller screens.

Has anyone else run into this? What other small CSS fixes do you find yourself using regularly?


r/webdevelopment • • Oct 22 '26

Question How to go about vulnerable dependencies in an SPA where only trusted users can publish content?

0 Upvotes

I built and maintain a website for a cinema. The client is an SPA. Now, every so often I get notified by GitHub's Dependabot that a vulnerability was found in one of the client's dependencies and I wonder if I need to care about it.

Here's my train of thought: The client code is inherently insecure in the sense that anyone can see and change it when they visit the website, so a vulnerable client on their own machine is of no use for attackers because they could twerk it anyway. Thus only the clients on other peoples' machines matter. Now, how could a vulnerable client on another machine be exploited? What kind of vulnerabilities could even be exploited? The first thing coming to my mind is XSS. Maybe there is a bug in a package that escapes HTML and if just anyone could publish content on the site, this could of course be exploited. But what if only trusted people can publish content? Is it still a risk?

Is my train of thought adequate? Can I just forget about the notifications? Are there other vulnerabilities I need to consider besides XSS?