I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
@baenencalin In my opinion, you should use <button> for a button, and not <a>. But the answer to your question is a "maybe?" as there could be exceptions.
There are some situations (e.g. when a service like login or payment methods are handled by an external site) when it's a gray area what element should be used: semantically, it makes sense to style an <a> to look like a button because, although they are punctual actions (login, payment, etc.), they redirect the website to somewhere else (the external service) and will eventually come back. It's not a one-size-fits-all type of thing. Once that's said, most of the cases I've found a <div>/<a> to behave like a <button> didn't fall on those categories, and they should have definitely been a <button>.
software engineer 👩💻, technical writer, i posts contents relating to Linux, C programming language, software tools, JavaScript, React e.t.c. 🟢Volunteer Mod and Challenge Judge here on DEV🟢
If it is meant to be a button, it should be in the <button> tag. If the button is meant to be a hyperlink to another page, place the <a> tag inside the <button> tag.
@sarahokolo I wouldn't recommend that, as it will most likely end up being invalid HTML. An interactive element (<a> with an href attribute) cannot be inside of another interactive element (<button>). (Reference)
software engineer 👩💻, technical writer, i posts contents relating to Linux, C programming language, software tools, JavaScript, React e.t.c. 🟢Volunteer Mod and Challenge Judge here on DEV🟢
I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
Honestly, I'm surprised they didn't take the opportunity to switch the file-path-scheme with Windows 11 — I think that could have been a golden opportunity for unification.
I don't think there's a way to make the change backwards compatible. Any old program would need to be recompiled? Then you'd end with the majority of customers staying with Windows 10--oh wait!
Hello! I'm Rasheed, a .NET enthusiast who's constantly looking for new things to learn and forget, that's why I started writing in the first place, but I love writing tho :-)
software engineer 👩💻, technical writer, i posts contents relating to Linux, C programming language, software tools, JavaScript, React e.t.c. 🟢Volunteer Mod and Challenge Judge here on DEV🟢
I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
software engineer 👩💻, technical writer, i posts contents relating to Linux, C programming language, software tools, JavaScript, React e.t.c. 🟢Volunteer Mod and Challenge Judge here on DEV🟢
I do things, with things. Sometimes virtually. Sometimes musically. Sometimes visually. Sometimes theoretically.
> The world is here to be understood, and a day without learning is a day not lived.
When I hear an HR mention something ridiculous like this, I go "Could you please repeat yourself ?" Once they do, I ask "Do people still apply and go through the interview process after hearing that ?"
When I'm working with unix admins I use "directory", when I'm with Win/Mac admins I use "folder", and when I code I use "path". I'm just a tech "whore" who will "be whatever you need me to be"! Ha ha!!
I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
You can CD (change directory) at the command line (aka console) but you can't CF (change folder). 😁
I think Directory is just an older term used at command line and then when GUIs came along people saw the yellow folder and started calling them folders.
I understand directory to be a technical term for a concept of the file system, strictly related to inodes. Folders are a more general topic, including folders in the Registry or when viewing the old control panel from Explorer.
I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
software engineer 👩💻, technical writer, i posts contents relating to Linux, C programming language, software tools, JavaScript, React e.t.c. 🟢Volunteer Mod and Challenge Judge here on DEV🟢
software engineer 👩💻, technical writer, i posts contents relating to Linux, C programming language, software tools, JavaScript, React e.t.c. 🟢Volunteer Mod and Challenge Judge here on DEV🟢
software engineer 👩💻, technical writer, i posts contents relating to Linux, C programming language, software tools, JavaScript, React e.t.c. 🟢Volunteer Mod and Challenge Judge here on DEV🟢
I'm Calin Baenen – AKA KattyTheEnby – a programmer born October 30th, 2006.
I love programming, it has been my passion since I was a kid, and will forever be my passion.
Accessibility Specialist. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
One of the most salient features of our Tech Hiring culture is that there is so much bullshit. Everyone knows this. Each of us contributes his share. But we tend to take the situation for granted.
Born in 1961 and live in Hamburg. Software developer for 40 years. Current project: myway SQL Manager for MySQL and MariaDB in PHP, Javascript and SQL.
LocalStorage and Cookies both fit into the same "regulations" — use of cookies in general isn't something one needs consent on, but how they are used. It is something most people aren't really familiar with.
I published a new comiCSS cartoon, and it is number 100, so I'm happy 🥳🎉🎊💯
Also, please, never use a
<div>instead of a<button>.I'm not using them instead ov buttons — but is it fine to use
as asbuttons?@baenencalin In my opinion, you should use
<button>for a button, and not<a>. But the answer to your question is a "maybe?" as there could be exceptions.There are some situations (e.g. when a service like login or payment methods are handled by an external site) when it's a gray area what element should be used: semantically, it makes sense to style an
<a>to look like a button because, although they are punctual actions (login, payment, etc.), they redirect the website to somewhere else (the external service) and will eventually come back. It's not a one-size-fits-all type of thing. Once that's said, most of the cases I've found a<div>/<a>to behave like a<button>didn't fall on those categories, and they should have definitely been a<button>.Sorry for the long answer :$
If it is meant to be a button, it should be in the
<button>tag. If the button is meant to be a hyperlink to another page, place the<a>tag inside the<button>tag.@sarahokolo I wouldn't recommend that, as it will most likely end up being invalid HTML. An interactive element (
<a>with anhrefattribute) cannot be inside of another interactive element (<button>). (Reference)Learning details of web frameworks: Either one of those pictures could be the "AFTER" picture.
good idea! let's see if I can edit it on next monday
A curlyboy with no friend would slam dunk even the greatest computer program 😂
lol
when you are a Python 🐍 developer switch to ReactJs with TypeScript ☠
Honestly, I'm surprised they didn't take the opportunity to switch the file-path-scheme with Windows 11 — I think that could have been a golden opportunity for unification.
I don't think there's a way to make the change backwards compatible. Any old program would need to be recompiled? Then you'd end with the majority of customers staying with Windows 10--oh wait!
Clever
How do u know it's a frustrating day?
What is QA?
Quality Assurance
Who/what is that?! /s
When I hear an HR mention something ridiculous like this, I go "Could you please repeat yourself ?" Once they do, I ask "Do people still apply and go through the interview process after hearing that ?"
I can't get it on the first time because I was thinking the issue is missing the closing quote.
Good ol'meme here
When I'm working with unix admins I use "directory", when I'm with Win/Mac admins I use "folder", and when I code I use "path". I'm just a tech "whore" who will "be whatever you need me to be"! Ha ha!!
Can you elaborate on this meme?
I do not understand.
I know a directory is (usually) more broad in sense, but I am unsure what distinguishes it from a "folder" conceptually.
You can CD (change directory) at the command line (aka console) but you can't CF (change folder). 😁
I think Directory is just an older term used at command line and then when GUIs came along people saw the yellow folder and started calling them folders.
Nothing more than that really.
I understand directory to be a technical term for a concept of the file system, strictly related to inodes. Folders are a more general topic, including folders in the Registry or when viewing the old control panel from Explorer.
What are inodes? And what makes folders more general?
I feel this meme way too hard... I have one domain that's like 100€ lol
Instead of registering a new domain name for each project, I just register a subdomain. If the project ever earns $10 then I can buy it a domain.
Recieving my first star🌟 on gitbub

Linux certainly enables a lot of spying, also nuclear weapons and the like, if we're really going to go down that rabbit hole. 😬
Love this movie !
Don't show this to Ubuntu...
Honestly, it has aged me! 😂💗
I know this is a joke….but don’t some languages skip assembly and go straight from source -> bytecode -> bianary?
I hope I'm not late.

See, JavaScript is esay ?
Mother and virgin could even be adopted child
Man, I didn't bitten by a snake. But, Someone spilled a coffee on me.
Dont forget to checkout my jokeday funday series
Just 10 years before that I was a school learning BASIC, jeez all this makes me feel old...
Happy 60th birthday
I really like this one, but I'd like to see it with this change.
I mean, it is really the truth. 😁🤓
localStorage is definitely an alternative --> XSS - localStorage vs Cookies
LocalStorage and Cookies both fit into the same "regulations" — use of cookies in general isn't something one needs consent on, but how they are used. It is something most people aren't really familiar with.