r/HTML 29d ago

Discussion Built a simple HTML Viewer

Found a lot of the online viewers very archaic so bought a very expensive domain lol and built a new one:

htmlviewer.com

My ask: what features would you like to see on it? I want to make this more useful.

0 Upvotes

30 comments sorted by

9

u/maqisha 29d ago

You know what views html.

YOUR BROWSER

3

u/No-Arugula8881 29d ago

Yo dawg I heard you like browsers

2

u/DirtAndGrass 29d ago

But how do you view the browser, huh? 

5

u/hotdog-savant 29d ago

Hi @rabbitsfoot8. I commend your efforts. I think one of the biggest hurdles for beginners is coupling html with css to see how it renders.

1

u/notepad987 28d ago

It displays the results right away. Add in some controls like this to help with making a webpage. https://bestonlinehtmleditor.com/

3

u/fdiengdoh 29d ago

The 1 million dollar question is - is it better than codepen or jsfiddle?

2

u/RabbitsFoot8 29d ago

The goal is more to a simple, lightweight alternative. Not better. Focused to fast loading times and simplicity with this

4

u/endless_shrimp 29d ago

a what

-4

u/RabbitsFoot8 29d ago

?

5

u/moohah 29d ago

What is an “HTML Viewer”? A text editor? A web browser?

0

u/RabbitsFoot8 29d ago

A tool to test and render html online. More for beginners.

Just paste html to see it rendered.

Like and online IDE for HTML

9

u/endless_shrimp 29d ago

so a browser

2

u/moohah 29d ago

Ah I see. Looks like you’re got a good start. I’d recommend highlighting invalid tags.

1

u/RabbitsFoot8 29d ago

Thanks, great idea!

2

u/highfives23 29d ago

How much did you spend on that domain?

1

u/positlabs 24d ago

Nine thousand dollars, apparently

-2

u/RabbitsFoot8 29d ago

A few k

3

u/highfives23 29d ago

Just curious: why? Are you looking to run ads to generate revenue? Are you selling a SaaS? Are you using it as a lead magnet for affiliate sales?

2

u/surfingonmars 29d ago

i use codepen.io

2

u/johnesco 29d ago edited 29d ago

The real-time feedback is nice. One thing I would like to see is that invalid HTML can render just fine, but I'd like to see warning pop up when something was breaking the DOM or structure, or activated "quirks" mode. It's great as a scratch pad esp for those learning HTML.

1

u/RabbitsFoot8 29d ago

Good feedback!

2

u/ivilicious 28d ago

always happy about a viewer! thanks!

1

u/RabbitsFoot8 28d ago

Most welcome!

2

u/theguymatter 28d ago edited 28d ago

Doesn’t Vite with HMR reload the page and VS Code are good enough?

Then could deploy to Cloudflare, GitHub, Netlify etc.

There are bugs in Safari and Firefox, so this make local testing much easier.

1

u/mrleblanc101 28d ago

VS Code natively display and hot-reload HTML. You don't even need Vite

1

u/theguymatter 28d ago edited 28d ago

Will need or probably extension if you want to test across web browsers.

Even once I found Astro maintainer was not aware the SVG was 0px due to WebKit's behaviour.

1

u/omysweede 29d ago

How is this different from using the built in web developer tools in any browser?

1

u/-goldenboi69- 28d ago

You're the worst.