Tag: semantics

The Double Emphasis Thing

I used to have this boss who loved, loved, loved, loved to emphasize words. This was way back before we used a WYSIWYG editors and I’d have to handcode that crap. <pI used to have this … The Double Emphasis Thing originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. ...
Continue Reading The Double Emphasis Thing

Speeding up the JavaScript ecosystem – module resolution

đź“– tl;dr: Whether you’re building, testing and/or linting JavaScript, module resolution is always at the heart of everything. Despite its central place in our tools, not much time has been spent on making that aspect fast. With the changes discussed in this blog post tools can be sped up by as much as 30%. In part 1 of this series… ...
Continue Reading Speeding up the JavaScript ecosystem – module resolution

Is There Too Much CSS Now?

As front-end developers, we’ve wished for a lot of things over the years — ways to center things in CSS, encapsulate styles, set an element’s aspect ratio, get finer-grained control over our colors, select an element based on its children’s … Is There Too Much CSS Now? originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. ...
Continue Reading Is There Too Much CSS Now?

Why (and How) I Write Code With Pencil and Paper

If the thought of handwriting code seems silly, it might surprise you to know that it’s inevitable. If you’re unsure, think about the last job interview you did, and remember how there was no computer around in the interview room … Why (and How) I Write Code With Pencil and Paper originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. ...
Continue Reading Why (and How) I Write Code With Pencil and Paper

Roundup of Recent Document Outline Chatter

It’s not everyday that HTML headings are the topic de jour, but my folder of saved links is accumulating articles about the recently merged removal of the document outline algorithm in the WHATWG Living Standard. First off, you should know … Roundup of Recent Document Outline Chatter originally published on CSS-Tricks. You should get the newsletter. ...
Continue Reading Roundup of Recent Document Outline Chatter

Comments in Java

Any software would be incomplete without comments. They aid the person viewing the code (usually you) in comprehending the program’s aim and functionality. You must develop the practice of always commenting on your code as you write it rather than afterward. ...
Continue Reading Comments in Java

Write HTML, the HTML Way (Not the XHTML Way)

You may not use XHTML (anymore), but when you write HTML, you may be more influenced by XHTML than you think. You are very likely writing HTML, the XHTML way. What is the XHTML way of writing HTML, and what … Write HTML, the HTML Way (Not the XHTML Way) originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. ...
Continue Reading Write HTML, the HTML Way (Not the XHTML Way)

4 Quality Options for a Table of Contents Block in WordPress

There are a number of options for including a Table of Contents lock in WordPress. You can use a plugin, or try to do it yourself. 4 Quality Options for a Table of Contents Block in WordPress originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. ...
Continue Reading 4 Quality Options for a Table of Contents Block in WordPress

“What is HTML” explained with examples

Is Html a programming language? It’s easy to get confused thinking of HTML as a programming language, but the fact is HTML is a Hypertext Markup Language. It creates electronic documents (web pages) displayed on the World Wide Web (WWW). For not being a programming language, it does not have the capability to create dynamic functionality. HTML pages can be viewed by anyone connected to the internet. ...
Continue Reading “What is HTML” explained with examples

Portals considered harmful

đź“– tl;dr: Make sure that each Portal and render() root has its own DOM node. Don’t mix the two or try to share roots as this is undefined behavior and leads to brittle apps. So today I spent a few hours going through various GitHub repos to see how the Portal component in various virtual-dom Frameworks is used (and abused?)… ...
Continue Reading Portals considered harmful