Syntax - Tasty Web Development Treats

977: We built a CSS Challenge platform

· Summarized

Share this episode
Anyone with this link can open it.
Share Link
Start at 0:00

Key takeaways

  • Building a complex platform from scratch requires a solid tech stack and effective team synergy.
  • Real-time applications present unique challenges and require careful synchronization methodologies.
  • Iterative testing and feedback are critical for refining algorithms and overall user experience.
  • Learning from bugs and development hurdles can lead to better solutions and improved platforms in future projects.

Summary

Overview of the CSS Battle Tournament

Scott and Wes introduce the concept of the CSS coding challenge tournament, featuring top-notch CSS engineers, including themselves. They discuss the origin of the idea and how they built their own platform, SynHax, from scratch using advanced technologies. The tournament will be exclusive to their YouTube channel and aims to engage the community by allowing viewers to input their brackets and win prizes.

Tech Stack and Development Challenges

The podcast dives deep into the technical aspects of SynHax, highlighting tools such as SvelteKit, Zero Sync, and Drizzle. Scott and Wes explain how Zero Sync facilitates real-time collaboration and quick data synchronization, although there are challenges due to the platform moving away from its local-first approach. They detail their experiences with server management, database integration, and overcoming technical bugs while building the platform.

The Diffing Algorithm for CSS Battles

Wes elaborates on the unique diffing we implemented to evaluate the contestants’ outcomes, ensuring that results are objective and fair. The algorithm captures the visual differences in competed images, allowing the platform to determine winners based on pixel accuracy. The two developers share the iterative process involved in refining the algorithm and challenges they faced along the way.

Reflections on Development Experience and Lessons Learned

Towards the end of the episode, Scott and Wes reflect on their intense development process, the pressure surrounding the launch, and the importance of testing. They highlight the necessity of effective communication and teamwork in achieving project goals under time constraints. This section also emphasizes key learnings from both the technical and collaborative sides of building a complex web application.

Sponsors

  • Sentry · If you want to see all of the errors in your application, you'll want to check out Sentry.io for its live syntax. We've been using this tool for a long time and it totally rules.

Show notes

Scott and Wes break down how they built SynHax, the real-time CSS Battle app powering the upcoming Mad CSS tournament. From SvelteKit and Zero to diffing algorithms, sync conflicts, and a last-minute hackweek glow-up, this one’s a deep dive into shipping ambitious web apps fast.

Show Notes

00:00 Welcome to Syntax!

00:50 March Mad CSS Tournament.

03:19 Brought to you by Sentry.io.

03:59 What the heck is a CSS Battle?

05:34 The tech stack.

06:30 Svelte Kit.

06:44 Zero Sync.

Zero Docs

Zero Svelte.

07:32 Drizzle.

07:58 Supabase.

08:23 Graffiti.

10:45 Sync Server.

12:10 Cloudflare Workers.

12:23 Local File System.

13:26 How Zero Works.

13:48 Zero Sync Client.

15:39 API server.

19:34 Dealing with states and conflicts.

24:25 The Hackweek Project.

25:29 The Diffing Algorithm.

35:22 The bugs.

Hit us up on Socials!

Syntax: X Instagram Tiktok LinkedIn Threads

Wes: X Instagram Tiktok LinkedIn Threads

Scott: X Instagram Tiktok LinkedIn Threads

Randy: X Instagram YouTube Threads

Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account

Couldn't load the audio. A blocker may be stopping the show's tracking links. Open the file