Web Development

5970 readers
23 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 3 years ago
MODERATORS
1
 
 

There's the always trusty localhost, but some programs allow you to use any domain you like, what domain (including top level domain) do you use (when developing locally) and why?

2
3
4
 
 

I built a free stage timer that runs in the browser and is controlled from a phone: https://timer.zexa.se/?ref=lemmy

Technical bits that might interest this community: each timer is one Cloudflare Durable Object (SQLite-backed, on the free plan) using WebSocket hibernation, so idle rooms cost nothing. The server holds the clock and every screen computes what to show from a server-time offset, so screens don't drift and a dropped connection just keeps counting from the last update. The operator link carries a secret in the URL fragment (never sent to the server except as a hash), viewers are read-only, and there's a per-network room-creation limit to keep the free tier safe. Front end is plain HTML and JS, no framework.

For users: big countdown on any screen, up to 60 in sync, a rundown, messages to the speaker, no account.

It's new and I'd welcome feedback on what breaks or what's missing.

AI disclosure: most of the code was written with Claude Code, and so was a draft of this post. I design it, review what goes in, and use the timer myself.

5
6
 
 

Hey all, rookie dev here!

I want to set up a website example.net which holds all my projects, but I'd also like to have a domain www.project.test which actually points to a single file on my example.net: example.net/project.html I'd also like for project.test/* to return an error at project.test/404 while example.net/* works normally.

basically project.test should be a url specifically for one (or a subset of) html files which live on example.net.

I figured that I can probably achieve this with the .htaccess file on the shared hosting, apache server my website is on. However the copy/pasteable rules I find online don't exactly fit my needs. I have already set up both domains to point to my website, now I'm kind of stuck.. (I only know html/css and some vanilla js at this point)

Could someone point me to useful (possibly beginner friendly) resources, where I could learn to create my own .htaccess rules / where the syntax is explained in detail? Do you have tips on how to approach this idea?

Any help appreciated!

edit: I'm also not familiar with regex yet , if I need an understanding of those aswell to achieve what i want?

7
8
 
 

I'm trying to make a site perform better in opera mini, right now I'm just using it on my phone, but it would be much easier if I didn't have to switch between the two devices.

I could run an android emulator, but at that point just using my phone is easier.

9
10
 
 

On November 3, WebKit announced Adaptive Dark Mode in Safari 27.3 beta. When a user enables it, Safari can analyse a predominantly light website and transform it into a dark appearance. It adjusts backgrounds, text, gradients and certain graphics while trying to preserve usability and contrast.

11
12
13
 
 

I visited the homepages of the 14.8 million sites in Google's Chrome UX Report in October.

I thought jQuery would be dead, but it's still on 53.7% of sites, and it seems to be tied quite tightly to the platform. Webflow puts it on 97.6% of its sites, WordPress on 84.9%. For contrast, React is on 10.6% of sites.

jQuery helped me get into web development, and I guess it still gets the job done even if redundant with browser standards these days...

14
 
 

I wanted a San Francisco postcard to send home, so I built one. The fog, the water and the reflections are all SVG filters, and this is how.

15
 
 

XHR by CEM, The data request API made right.
Streaming, parsing, validating in browser and CLI. All formats from CSV to JSON supported.

CEM-ML parses the response off the UI thread. The main thread collects the response bytes, then sends them to a Web Worker, where the CEM-ML WASM importer parses them and retains the document.

https://blog.firsov.net/2026/11/xhr-by-cem-data-request-api-made-right.html

@webdev #webDev @w3c

16
 
 

If you ticked a "block AI training" option on Cloudflare at some point, this is worth five minutes. Cloudflare's docs (updated Nov 2) say training actions also apply to mixed-purpose crawlers used for both search and training. Their July blog post names Googlebot, Applebot and BingBot as examples.

There were reports in August of Googlebot getting 403s on sitemaps. Nobody has confirmed the cause as far as I can find, so don't panic over it. It could be another setting entirely, Bot Fight Mode came up in the same thread.

Still, checking is cheap. Look at crawl stats in Search Console for a jump in 403s since mid-September, then read which Cloudflare setting is on. I'd rather spend five minutes on that than learn about it from a traffic graph.

Has anyone here actually seen this on their own site?

17
 
 

I'm the author of this page, so take this as a "here's what I built and what I learned" post rather than a neutral review.

Who Are You shows what any website can read about a visitor without a single permission prompt, then writes it back as a plain-language portrait ("you're on X, in time zone Y, your DNS resolver is in Z..."). It currently reads 118 signals, split into what the server sees from the request and what JavaScript sees in the page.

A few things from building it that might be useful to other web devs:

  • The server half is bigger than people expect. Before any JS runs, the request already carries IP, ASN, approximate city and coordinates, the IP's time zone, TLS version and HTTP protocol. On Cloudflare a lot of that comes straight from request.cf. Comparing that with what the page reports (system time zone, navigator.languages) is where most "you're using a proxy" verdicts come from.
  • Spoofing extensions only change what JS reads. An extension that overrides the user agent or time zone patches navigator in the page, but the request headers stay the same, and a Web Worker often still reads the original values. Comparing the window with a Worker catches a lot of tampering.
  • Fingerprint bits aren't independent. A 4K screen and a high-end GPU tend to come together, so the page doesn't multiply per-signal rarity. It counts the whole fingerprint against anonymous aggregate counts (no IP, no full fingerprint, no per-visit record).
  • Some leaks aren't in the browser at all. WebRTC and DNS leaks, a direct-vs-proxied split, the extra round trip a proxy adds, and the TCP/TLS fingerprint of whatever actually wrote the packets. Changing the user agent doesn't touch any of those.

Each finding comes with a short "how to fix", and there's a mode for people who only care about privacy rather than appearing to be somewhere else.

Link: https://who.1ms.dog/ (also in zh, ja, ko, es, fr, de, pt, ru). It's part of the 1ms.dog set of free network tools. The main repo is public (github.com/yt1988/1ms.dog), but the code for this page isn't published yet, so I'm not calling it open source.

Disclosure: I'm 香蕉痞 Yang, I made it, and I used an AI assistant to help with the English. If you find a signal it reads wrong, or a check I'm missing, I'd really like to hear it.

18
19
 
 

Hello, I have made an upload and download route, both take or return streams of the file content to the browser, however I also want to make a file editor, I have been playing around with the idea of having it so as you scroll more, it fetches more of that file content from the backend, except this currently does not use the multipart stream.

I am wondering if it would be better if i had 4 routes, /upload, /download, /getfilecontent, and /patchfilecontent, the last 2 taking or returning json which contains raw text, or if its more standard and proper to just re-use upload and download but add headers so it can take offsets to patch or get file content, note this would require an extra translation step to take from a multipart stream and convert it into text to show in the browser, and some extra steps for the other way around.

What would you recommend?

20
21
22
 
 

Easy one to miss if you're checking a Shopify store for other markets: a VPN or proxy won't show you different shipping rates. Shopify ties rates to the shipping zone of the checkout address, so a local IP changes nothing there. A test checkout with a local address does.

Prices, currency, catalog and translations you can check for free in the admin: Markets, click the market, then More actions > View online store. Products > View as shows the market's currency and which products aren't published for it.

What the preview can't show is the IP-driven stuff: the automatic redirect, geo app popups, the cookie banner, apps that block VPNs. For that you need a connection in the country and a clean browser profile, and you have to load the root domain, because Shopify only redirects on the first page a visitor opens. Land on /de/ directly and you skip the very redirect you wanted to test.

The cookie banner is the sneaky one. With automated privacy settings on, Shopify sets it up for UK and EEA visitors when you have active markets there, so from a US desk you just never see it.

How are you handling multi-market QA for stores like this, manual passes or something scripted?

23
24
25
view more: next ›