r/webdev • u/void-wanderer- • 16h ago
News Ladybird - Browser with its own rendering engine launches alpha release
r/webdev • u/void-wanderer- • 16h ago
r/webdev • u/NoBrainerTraum • 2h ago
I was looking through some old projects recently and honestly cringed at a few decisions i made back then. From putting way too much logic in components to overcomplicating simple features, there are things I'd definitely approach differently today.
Im curious what that looks like for other developers. Is there a framework, coding habit, workflow, or even a popular practice you used to swear by but eventually realized wasnt worth it?
r/webdev • u/lemeow125 • 12h ago
You could be working your ass out for who knows what company, you write the best stuff and shit, you oversee frontent/backend/the deployment/QA/project management, and it still won't guarantee it'll pan out for you. Product flops? Layoff.
Other times it just feels so ambiguous. Like a doctor not disclosing a client would need heart surgery, so instead you charge him 4 consultations, he insists you open him up 3 times in between those before you both figure out how to fix his heart problem. Oh and that he might need gastric bypass 2 months later.
Top it all off, if you leave the client won't know how to use his heart so he dies.
I've been trying to build up my own professional identity and so set boundaries i.e. refusing hourly/monthly/one-off work that isn't clearly the right fit for either me or whoever is on the other table. But who's to say I won't be desperate enough for experience or to bring food to the table when things get rough?
EDIT: I'm 25 if that helps, a few years into the industry
r/webdev • u/still-into-u • 2h ago
Stack suggestion for a small project me and my friends are planning to make?
My friendgroup who are a mix of CS and IT students have been into bowling lately, and we had the idea to track our scores and sessions.
We are still brainstorming ideas for features but currently we thought of: User creation for saving profiles and scores, Creating groups with or without registered users, Save individual scores, group sessions, and group leaderboards.
For our current stack:
Prototyping:
- Figma
Front-End:
- CSS
- ReactJS
Backend:
- Express
- PostgreSQL
Hosting:
- Supabase
-Vercel
-or our friend that is into homelabbing
Please suggest other features as well. This is just something we want to make for fun and for learning.
Thanks in advance!
r/webdev • u/missionaurora • 0m ago
Hi guys!
I want to rebuild the website from dad's company, today we pay monthly to an agency that build our website using programatic seo in php, our website have about 50 ranked pages but the layout is awful and I guess that we are facing trouble in conversions because of that, lead arrive at website but doesn't fell appel to buy our products.
so I asked to claude make a full scan on our actual webpage to see the pages, links, conections and so on.
And then create Astro pages using the sabe link so we won't lose our ranking.
Is this something that I have to be aware of before doing that?
Astro generated pages seens really beautiful and more appealing, and the scan told me that the way our pages are created doesn't fit the google rules now.
r/webdev • u/code-dispenser • 6h ago
Only read if you do accessibility work.
I'm still working on what I thought would be a simple component, and it has turned into a real sh*t show, with one screen reader bug after another.
Today it's Narrator's turn (again).
Most people working in accessibility appreciate what you get with the <dialog> element when it's opened modally with showModal(): top layer placement, so no z-index issues; an inert background, so no focus trap issues; and built-in focus management, including closing with the Escape key.
With a modal dialog you're generally not concerned with aria-expanded, so you can use aria-haspopup="dialog" to tell screen reader users that the button opens a dialog. Yes, I know aria-haspopup has had numerous support issues during its lifetime.
Be warned: if you put aria-haspopup="dialog" on the button that triggers the <dialog>, Narrator swallows the Enter and Space key presses, so the dialog never opens unless you turn off Narrator's scan mode to let the keys through.
This happens with Narrator when paired with Edge and Chrome, but it seems fine with Firefox. I haven't seen the issue with any of the other screen reader and browser pairings I check.
The issue has been filed with both Microsoft and Chromium. If you want to check your own pairings, there's a simple HTML repro page attached to the Chromium issue: https://issues.chromium.org/issues/589824270
Hope this is of use to some of you.
r/webdev • u/nonspecificloser • 1d ago
Any advice is welcome. Please let me know if my communication style is too direct!
r/webdev • u/Ronin-s_Spirit • 1h ago
I am making a web server for a site and I need experienced server devs or browser experts to answer this question. My goal is to load the site as fast as possible. Every page has a "main" script that may need a number of "components", I could solve components in 2 ways: 1) write a bunch of individual `modulepreload` tags; 2) write a unique URL `modulepreload`.
Solution 1 is going to be 5, 10, 20 individual HTTP round trips.
Solution 2 will always be just one request, but there will be many unique URLs across the site, which hurts caching.
To clarify, the server itself doesn't matter - it has no work besides immediately sending back a file. I just can't pick a solution, considering my lack of expertise. I haven't measured actual performance of either solution because I kind of can't right now.
r/webdev • u/Icy-Nothing-189 • 12h ago
Want to hear other developer's experiences. I have a job that's basically a dream job, but I feel that I outgrew it in terms of salary and also scope - here are all the pros/cons of the job. I've been at this job for nearly half a decade.
The pros:
The cons:
I'm constantly fighting myself on whether I love the job, or if I'm stagnating by staying at this job. I don't ever want to work for a larger, corporate, public company - but at the same time, I do feel that I want to work on more meaningful/larger scope things with greater pay. My dream type of company would be something like Valve, but I mean that's a company with maybe 200 positions and like 10 million people who would want to work there so that would likely never happen even if I was qualified.
Has anyone been in a similar position? What did you do or didn't do? Did you have any regrets? Should I just send out applications anyways and see what sticks? I've browsed some job boards and it all looks like AI spam/garbage to the point that even basic job descriptions make zero sense, not sure if I'm comfortable sending out my email/name/phone to those.
r/webdev • u/AnxietyBoy00 • 10h ago
I'm pretty sure it might be a subject here before, but I couldn't find anywhere here. I have a personal website. And I want to use some famous songs on a "what am I listening" part of website.
Is that possible? Could I run into any legal issues by doing so?
r/webdev • u/Ok_Progress_5373 • 14h ago
Hey everyone, I'm new to Eleventy, and I have been messing around with it for the past few days (not without frustration). I'm having fun learning about front matter and have gotten the hang of creating templates. The Eleventy forum is kinda... dead... so I'm coming here for a bit of assistance.
I'm using Eleventy because I want to add a blog to my static portfolio website. My static website is complete, and I've already got a lot I want to add in the future. But my biggest accomplishment will be nailing this blog addition. Not only have I rebuilt my website with Eleventy, but I will also stack DECAP CMS on it.
With that being said, this is my main question:
My root folder is called portfoliov2 (I upload this to GitHub). There is a folder inside of it called _site. This is the public folder that people can access, and it has the .njk files converted to .html files. Great! I have gotten to the part where I have started creating .md files for my blog posts (which go into a folder called posts in my _site folder).
Let's say I have created a blog post called welcome.md; it then goes into the "posts" folder in a new folder called "welcome" with an index.html file in it. When I view the index file by itself, it's fine. All of the blog content shows up. The file path goes something like this: 000.0.0:0000/_site/posts/welcome.html, but when I try to access it from my blog.html (where the list of blogs is appearing properly), it looks something like this: 000.0.0:0000/posts/welcome.html, but it shows an error: "Cannot GET /posts/welcome.html".
I am at a loss with this because after clicking a blog post from the list, it works properly for the gentleman in the tutorial. I don't want to keep manually changing the permalinks, and I am wondering if my website's live URL will look something like "websitename.com/_site/posts/welcome.html". It's driving me a bit bonkers. Is there something I need to do on the server side? I'm of course working locally and checking my work on a live server.
Thank you for your help!
Edit: Added the link to the tutorial I'm using!
Edit: I am NOT creating .md files in the _site folder. They are created outside of the _site folder, and Eleventy converts these .md files into a new folder with an index.html file. It looks something like this after conversion: _site/posts/postName/index.html instead of /posts/postName.md (outside of the site folder)
Edit: IT WORKKS. I rebuilt my _site file, didn't change any folder names, and used 11ty --serve. Things are working as they should be! I appreciate the time everyone has taken to help me out. One step closer to getting this blog up and running 🎯
r/webdev • u/ActuatorOutside5256 • 21h ago
Now I know this is a beginner question, and so I’m building an Angular/Spring project as a web app.
The Angular auth interceptor attaches the token (to the HTTP request) here. Obviously when it gets routed to the backend, it exposes the token. That’s just the trade-off for not using a backend-for-frontend architecture.
Say the reason for my architecture choice comes up during an interview. Will I be failed on the spot, or can I justify it by explaining what production-ready (BFF) will look like?
EDIT: Appreciate the answers everyone. I can breathe easy.
r/webdev
•
u/mekmookbro
•
1d ago
I just got a job where they vibe coded an app and hired me to put out fires and structure the project properly. They're so insistent on "moving fast" that they said on my first day of the job that I'm not allowed to write code by hand. And I should prompt claude instead.
After a week of working there, my view on AI has changed quite a bit.
When I first got the project, it was... worse than a developer's worst nightmare.
My first task was to make claude turn this "random bullshit go" app into a properly structured Laravel project. I used the Pro tier company account, highest thinking level, and planning mode.And they said the output didn't have the same frontend as their main app. Turns out they were using a separate frontend/backend approach. But here's the neat part: their backend folder already had frontend views within it. That's why Claude was using their "old design". I don't like/use a separate front and backend approach a lot so I don't have much experience with it, but I'm pretty sure if you're separating your frontend from your backend, you shouldn't have frontend views in your backend directory.
This is what top of the line, enterprise tier Claude agent does when the developer knows nothing about development.
After I took over the project and fixed the errors I listed above (and many, many more) I started working on new features on the app. And I must say it's going way smoother, and the output looks way more professional and maintainable with me (and my 15 years of web development experience) giving the prompt.
This experience made me truly understand that AI is literally a tool. It's as good as the person who's commanding it. A vibe coded app truly reflects the experience of the vibe coder.
The bright side is: all those years and years we put into this field are not for naught. A hammer is a hammer, what it does depends on whether it's a sculptor or a toddler holding it. You still need to know the best practices to make sure your app follows the best practices.
All that said, I've always loved coding my apps by hand, and I still do. I'm still coding my own personal projects by hand, line by line. Afterall that's how I was able to spot these mistakes and fix them in the first place. I also don't want to fund building data centers all over the world by giving them my money.
r/webdev • u/thelastunicorn_ • 14h ago
I'm a web developer investigating whether it's possible to pass a customer-selected star rating from a third-party website into Google's native review submission interface.
Sunday.app explicitly documents this functionality:
https://intercom.help/sundayapp-help/en/articles/6695489-sunday-reviews-how-does-it-work
I've already tested:
None of the tested methods successfully prefill the stars.
Google's publicly documented APIs don't appear to support this functionality.
Has anyone inspected Sunday's actual redirect, encountered a working deep link, or worked with a Google integration that supports this?
I'm not looking to automate review submissions or filter negative reviews. I simply want to transfer a customer's voluntarily selected rating from my clients on-site review page into Google's review interface, where they can complete and publish it themselves.
r/webdev • u/BrewThemAll • 1d ago
Long time PHP-dev here, doing a hobby project in ThreeJS / Node / Vite, so please forgive me if I mess up some terms.
I am making a web-based game in ThreeJS, which I run locally with Vite. It's on Github as well, and I have set my (shared webhosting) server up to automatically fetch and deploy the main branch when I merge the dev branch in it. This works.
I also created a Node.js-app on the server and manually ran 'vite build'. The game is running fine.
Now, I want to run 'vite build' automatically after the git branch has been deployed, instead of having to log in and run th script manually. In DirectAdmin, I see no option for this.
According to both Google and Claude, I can easily set up a cron job running this command every few minutes, but this is massive overkill for a task which should be only running once or twice each month.
Can this be automated in a cleaner way?
[edit]
Got it!
Github Actions pushing /dist over FTP didn't work, but is now writing to a deploy branch which is picked up by Direct Admin.
Very happy. Thanks y'all.
It used to be fun to see what people were able to do with their minds. Now people just show off what they purchased from Anthropic and OpenAI.
r/webdev • u/amitmerchant • 2d ago
Chrome (and Edge) is introducing a new set of HTML insertion and streaming methods that provide a more descriptive way to insert HTML into an existing element, along with the ability to stream content directly into the DOM.
r/webdev • u/JustSoni • 22h ago
Our marketing site uses realistic AI-generated photos: office scenes with invented people. Under Art. 50(4) of the AI Act these seem to count as "deep fakes", so they need a visible label.
Instead of editing every image, I'd add the label with CSS:
<img src="/images/team-at-work.webp" class="ai-img" alt="AI-generated: support agents at work">Is anyone relying on an overlay like this, or are you all embedding the EU icon into the files? If you embed it, how? A script, your image pipeline, a CDN plugin?
the ai-img class does add a relative text on the bottom-right of the img.
r/webdev • u/Federal-Influence102 • 2d ago
I am not a beginner. I have good knowledge of with HTML/CSS/javascript and some other stuffs like PHP with MySQL.
Now I want to get into full stack web development.
r/webdev • u/egoraptorschins • 2d ago
Hi, I hope this is appropriate to reach out to. I’m an artist and designer with a very basic understanding of webdev and I’ve been looking for someone to help translate the content I have to my site. The major problem I’m having is that there is a bunch of narrative context attached to it that it would be considered more of a game than a website, and I’d really like to find somebody that would be willing to get stuck in with me and talk me through what might be the best way to do it. I’m willing to pay, I’m desperate to get this off the ground.
Please feel free to DM me for more info, but I currently have a domain on Obsidian Publish/Cloudflare and plan for this to be executed on Cloudflare’s JS workers. In essence, it’s a personality test with 16 possible results, with the questions being simplistic in design but atmospheric looking enough that it could belong to a game. Still in the middle of doing visual mock ups, but most of the questions have been made already, I’m just having trouble attributing and calculating the points for each answer (the number of answers varies per question), and more importantly how to structure and program that. Thank you!
I just posted a new blog post on my website! Check it out!
The entire post is an interactive experience. Do note that if you're trying this on an older device, I'm still clearing some issues off the main thread - so it may be laggy for a few more hours. Lag mostly resolved outside of a few stickier hitches! If you run into any issues, let me know what device you're running and I'll look into it!
Otherwise, enjoy!
r/webdev • u/hackerbong • 2d ago
I'm involved in building a software company and have been thinking about what actually makes a development partner trustworthy.
Is it:
Developers and agency owners: what do you think clients value most, and what do agencies usually get wrong?