Tag: HTML
-
htmx – A To Do Example
HTMX is an interesting project to me, and I’ve used it a bit in my large collection of 70% completed side projects, but haven’t really discussed it here. The plan for this post is to talk briefly about what it is exactly, then convert a simple ‘conventional’ (HTML/CSS/Javascript) app to htmx and think about some…
-
React code is not HTML
I was looking at this ugly code in a React app: Since I don’t need any of those CSS properties to change at any stage, I could just convert it to pure HTML/CSS right? Well no: The newbie trap I’ve fallen for here is that although that <div style= tag looks like HTML, it’s actually…
-
Calculator
I’ve been doing a bit of driving during the holidays, which means a lot of podcast listening. An episode of JavaScript Jabber about JS features you should never use sparked my interest in eval(). eval() takes whatever you pass it in a string and executes it in the JS engine. This is a crazy concept…
-
HTML 001
A HTML file is a text file that can be displayed in a web browser. It is marked up in the sense that tags are applied to the text to signify the purpose of that text in the structure of the document. For example: The <h1> tag tells the browser that Greetings is a heading.…
-
Who is Emmet?
I knew there was some magical way of entering all the the <HTML> boilerplate in Visual Studio Code as I’d seen it happen in several videos, and assumed is was some sort of macro expansion thing in the editor. Fast forward a few blog post readings and youtube viewings and I keep seeing tangential references…
-
WordPress Code Blocks
Non-iOS post warning :- ) I’m not really happy with the way I’m sharing code in these posts. I started off with the regular WordPress code blocks: These seem a bit large to me, but it comes with a font size choice, which I like setting to “Tiny”: There’s a reason why coloured syntax highlighting…
-
CSS Intro
When I wrote my last commercial HTML (in 1996 lol) I’m pretty sure there was no CSS. It was the land of textured backgrounds, blinking scrolling text, “under construction” gifs, and links to gopher URLs were not uncommon. So this is an area I need to update my skills a little just to carry on…