Urgent.News

What's breaking now, across hundreds of outlets.

Tech

My first website was ugly, and it worked

My uncle gave our family a monitor when I was a kid, a huge beige box that sat next to our dial-up modem. Every night I sat through the screech and waited while pages loaded one strip at a time, and somewhere in those slow evenings I decided I wanted to know how the pages got made. I am a software engineer today because of that hand-me-down, and the first thing it taught me to build was a website…

When the author was a child, their uncle gifted their family a large beige monitor, which accompanied their dial-up modem. During the nighttime, as pages loaded one strip at a time, the author became fascinated with the process, eventually choosing to learn how websites were created. This curiosity led to the creation of their first website, an ugly personal page crafted in Notepad, consisting of a big heading, a paragraph, a list of favorite things, and an unloading photo.

The page was written as a single file named index.html and opened in the browser by double-clicking the file, with no server, build step, or framework required.

The author's initial page featured a table layout, Comic Sans MS font, and a marquee at the bottom that scrolled a message across the screen. The only styling options at the time were inline attributes on every tag, which the author replaced with a single stylesheet file. This transition from inline styling to external CSS files improved the page's aesthetics and organization, simplifying its structure and making it more maintainable.

Through this process, the author learned that HTML is forgiving, allowing them to create a functional page despite errors, and that external stylesheets offer greater control and flexibility in web design.

Rewritten by urgent.news; may contain errors — check the original.

Read the original at dev.to →

Report a problem with this story

More in Tech

The county at the heart of America's data center boom hits pause on new projects

Loudoun County in Virginia is the data center capital of the world. It's Board of Supervisors just paused new projects as it reviews its regulations.

  • Loudoun County, Virginia halts new data center projects for a year.
  • County officials aim to review regulations and electrical substation applications.
  • Decision impacts 33 active applications and may affect local economy and environment.

AutoSSL Quietly Dropped the Mail Name — a Cloudflare-Only Origin and the Move to DNS-01

A field story about a cPanel certificate that renewed on time and still broke every Outlook client — the port 80 rule almost nobody connects to mail — and the DNS-01 setup I now use for any origin…

  • Outlook client displays certificate warning due to missing mail name
  • AutoSSL issues certificate without mail name, causing warning
  • Resolving issue requires checking names served by mail ports

Your JWT Secret Is Probably Too Weak. Here Is the 30-Second Fix

"secret", "changeme" and "mysupersecretkey" are not keys. They are passwords, and passwords get cracked offline. Open the config of almost any tutorial project and you will find a line like this…

  • Weak JWT secrets like "secret" and "changeme" are easily cracked offline.
  • Use cryptographically secure random generators to create strong, unique secrets.

More from Saturday 21 November →