Easy graphical HTML/CSS editor! 💻✏️
A visual HTML document creator
A (hopefully) easy-to-use web app for creating webpages in HTML!
This is a basic tool for easy creation of (theoretically) syntactically correct HTML documents, along with a basic CSS creator. (Yes, I know there's one missing, the visual
You can create your document in the HTML tab; to get started, click on "body" and press "Add child". You can then select what element you like. To add text content to an element, choose "Text node" when adding the child. Elements can be dragged around in the element tree. You can add styling with the CSS tab. Documents are saved to LocalStorage automatically, and the preview window is updated automatically too. You can download your finished files from the files tab.
If you're having issues with the modern code, use the Babel compatibility version.
Optional chaining no work for me :(
You should use a transcompiler like babel!
Or include a polyfill...
@xxpertHacker Oh yeah, sure.
Tell that to the people still using chrome 30!
I bet there are people who still use it.
Chrome 77 isn't that old, but old enough to give me the urge to yell at the school to update it...
Again, I guess their good ol'
spyware monitoring software doesn't function well with newer versions, or they have another reason for not updating to a newer browser version...
@xxpertHacker You can disable updates.
I bet there is at least 1 person tho...
At least 1 computer that has it...
Eh, doesn't matter anyways, chrome 77 isn't that old.
Still, I'd rather have a newer version since so much changes in a year (a reason why it's so hard to be a web developer, so much changes so fast).
Wait, question since ur here.
I want to know how to make an app in C or C++ (or Go or another compiled language).
Let's say for windows.
I can compile... let's say... Go to an exe file.
Can I just run that exe file anywhere, or would I need a Go.
In other words, can I run a compiled binary without the compiler, or does it need to be run through a linker or something else?
I want to set up an "app" using Go and I want to be able to just execute it anywhere...
Oh and also, when an exe file opens a window on the computer, how does it do that?
My assumption is that it needs some stdout stream to open a window and write to it...
@Baconman321 Most binaries are standalone, so they are run without another program. Interpreted languages, like Pytohn, need an interpreter, though you can just compile a C++/Go program and run it. Some languages (C# w/ .NET, Java) require a VM to run, though C++ and Go are not.
A Windows window is opened using something called the "win32" API. If you call a few functions, you can get a window to open. These APIs are non-standardised, so opening a window on different OS's will be different.
If you mean a console window, that is created by the OS when you write to stdout. Some OS's (*cough* Windows) will actually kill this window, and force you to make a manual handle to a console I/O window.
Making GUIs in low-level languages is a pain. Either use something like Java Swing, use console with something like curses, or just use standard console.
@19wintersp So the compiled binary is already run through the linker and all.
What if I want to set up a web server and I have files that are served via a file server.
When I compile the binary, it doesn't add the html files, does it (basically I can run the web server anywhere and the html/css/js files will be packed into the exe)?
My assumption is no.
@Baconman321 If the files are in the filesystem, and are not packaged into the binary when compiled/linked, those files will not be part of the binary. You can pack them in, but again, it's a pain. I'd personally just zip the binary and all the files it needs into an archive, and distribute that.
@19wintersp LOL I actually thought of that, but then I forgot that I thought of that.
The only problem is windows API for Go, which then is in unsafe memory territory.
Eh, like I said... I'm probably going to use a chrome extension instead.
Good to know how to do stuff like that, tho.
@19wintersp I just googled it.
What's the difference of hosting a normal server and a server on LAN.
With a server accessible from the internet tho, wouldn't you need to configure it to run on the router's IP?
LAN is just as simple as listening on 0.0.0.0 or something like that... yeah.
I think I'll just set up a server and all and host the current game instance but allow people on LAN (if the router allows it) to access it...
Going to be hard, and I may drop it, but it would be cool if I could accomplish something like that...
@Baconman321 If it's a game, WebRTC might be useful for you, it's client-side peer-to-peer connections in JS. My suggestion is this: keep it browser-based, and rather than hosting to LAN, one-up and host to anyone on the internet using WebRTC. I'm planning on building something which could make this easier, by the way.
Running "LAN" servers is pretty easy. Simply open the server on your own computer without port forwarding. Since your router's firewall doesn't have special instructions saying it shouldn't block external connections to
:port, you won't find your server outside of your local network.
@Baconman321 Routers have "firewalls". This blocks all incoming connections on all ports unless you tell it to not
So starting a server without port forwarding makes it only available on the local network. When you port forward, anyone in the world can connect to the server by using your IP