I read this as "Command and Conquer in HTML" as I was scrolling past and got super curious before rereading and getting disappointed
MDN (linked at the end of the article) is so much more concise. I didn't find the broad overview in this linked article. From MDN:
A common pattern on the web is to have
<button>
elements control various aspects of the page, such as opening and closing popovers or<dialog>
elements, formatting text, and more.Historically creating these kinds of controls has required JavaScript event listeners added to the button which can then call the APIs on the element they control. The
commandForElement
andcommand
properties provide a way to do this declaratively for a limited set of actions. This can be advantageous for built-in commands as the user does not have to wait for JavaScript to download and execute to make these buttons interactive.
So built in button action commands, replacing the need for custom JavaScript for standard actions.
The list of commands defined right now: toggle-popover
, show-popover
, hide-popover
, close
, show-modal
...we are getting closer to turing complete HTML aren't we?
The T in HTML stands for turing-complete, right?
Web Development
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- !html@programming.dev
- !css@programming.dev
- !uiux@programming.dev
- !a11y@programming.dev
- !react@programming.dev
- !vuejs@programming.dev
- !webassembly@programming.dev
- !javascript@programming.dev
- !typescript@programming.dev
- !nodejs@programming.dev
- !astro@programming.dev
- !angular@programming.dev
- !tauri@programming.dev
- !sveltejs@programming.dev
- !pwa@programming.dev
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]