Web Tools #495 - CodePen, CSS, Bundlers, Media (SVG, etc.)

Web Tools Weekly
WEB VERSION
Tools for Web Developers

Issue #495 • January 12, 2023

Advertisement
JavaScript & DOM Tips E-Books Bundle
My JavaScript E-Books bundle now includes a new volume! Get all 4 e-books containing 250+ easy-to-digest quick tips with 300+ interactive demos and code examples.
Buy the Bundle (4 Volumes) at 50% off
JavaScript & DOM E-Books BUndle

As you know from this newsletter, I create tons of CodePen demos demonstrating whatever front-end coding feature I happen to be writing about – whether it's here or in a full-length article published on my blog or elsewhere (e.g. see my promo above!).

I haven't really messed around too much with CodePen's settings other than laying out the editor to display the code panels on the left.

Maybe you also use CodePen a lot. If you do, it's good to know there's a specific page where you can modify editor-specific settings to suit your own needs and maybe be more in line with what's in your primary IDE.

Check out the page for yourself and toggle the "Sticky Preview" to "On" to view any changes in real-time. To help, here's a quick run-through of the kinds of things you can customize:

Syntax Highlighting
You can change to a light or dark syntax highlighting theme, with 14 options available. I'm going to try out "Oceanic Dark" for a while as I've always used the default "High Contrast Dark" until now.

Themes on CodePen


Code Font Family
You can let CodePen use your default system monospace font or choose one from the list of options. FiraCode seems to be pretty popular so I'm going to give that one a whirl for a while.

Coding Fonts on CodePen


Key Bindings & Code Indenting
You can enable key bindings for either Vim or Sublime Text. I've used Sublime Text for a long time now, and more recently switched to also using VS Code. Since there's no option for VS Code, I'll try out the Sublime Text bindings. I'm not sure the extent of what CodePen will do in this area, but it's worth a try.

As far as indenting, I do 2 spaces exclusively, because it's much cleaner and nicer looking for articles and tutorials (though there are cases to be made in favour of tabs in other contexts).

Key bindings and Indenting on CodePen


Preprocessor & Library Defaults
Most of my demos are for teaching raw front-end stuff, so I don't use any preprocessors in CodePen and I only include Normalize.css and maybe Autoprefixer if I feel it's needed.

Preprocessor and Library Defaults on CodePen


Editor Options
This area has some stuff I didn't know existed. Years ago I had a discussion with Chris Coyier, one of CodePen's founders, about the lack of autocomplete. At the time he chalked it up to poor performance. But I guess they added that option at some point so by enabling that, you can see suggestions for code features as you type. Cool!

Editor Options on CodePen


Emmet Settings
And lastly, there are options to activate Emmet and add your own Emmet snippets. I generally use a native text expander on my system for common text snippets in various contexts, so I probably won't use this in CodePen. But it's there if you need it.

Emmet Options on CodePen

So if you haven't done so already, be sure to check out your CodePen settings to see if you can make your CodePen experience a little closer to what you're accustomed to in your native IDE.

Now on to this week's tools!
 

CSS and HTML Tools

Emerging Tech Brew
A free 3-times-a-week newsletter that delivers the latest tech news impacting your future. The most important stories are curated & summarized in a concise yet witty way, so you're up to speed in minutes.  SPONSORED  

Font Engine
An online tool to help you select the a font. Use the sliders to choose desired "formality" and "modernity" levels along with other tags that can help identify a tone and brand style.

Glyphy
Resource to copy and paste symbols, emojis, and unique text fonts (e.g. glitch text, upside text, etc).

Stop Form Spam
A small JavaScript utility to prevent spam bots from completing input, select and textarea fields and from submitting online forms.

Unhead
A small utility that provides a universal `head` tag manager that's framework-agnostic and currently has Vue integration with more coming in the future.

Unhead

Fontpie
A JavaScript-based CLI utility that uses CSS font descriptors to measure your website's cumulative layout shift (CLS) and automatically include a suitable fallback font to minimize the shift.

macaron
A new compile time CSS-in-JS library with type safety, zero runtime bundles, colocation of styles and components and supports both the styled-components API and vanilla-extract styling API.

OKLCH Color Picker & Converter
An online interactive tool to experiment with OKLCH, a new experimental color standard that improves on traditional color formats on the web.

Ace-Editor-Web-Component
A web component that allows you to easily add a WYSIWYG editor to any page, based on Ace, a popular editor by AWS Cloud9.

Mesher
A CSS mesh gradients generator that lets you randomize gradients, add and remove colors as needed, and export as CSS.

relative-time-element
A web component that formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.

Fontjoy
An online tool that makes font pairing easier. It generates font combinations with deep learning, showing you fonts that pair with one another along accepted design principles.
 

Build Tools, Bundlers, etc.

The Daily Upside
A business newsletter that covers the most important stories in business in a style that’s engaging, insightful, and fun. No jargon, no fluff, with quality insights and unique stories you won’t read elsewhere.   SPONSORED  

Twify
A simple CLI tool to setup a Tailwind CSS project with a single command, with support for Next.js, Nuxt, SvelteKit, Remix, Angular, and more.

Pattern Lab
An old tool that I've never officially included here. It's a frontend workshop environment that helps you build, view, test, and showcase your design system's UI components.

Create React Package
A CLI utility to create React packages with zero build configuration, thus no need to install or configure tools like Rollup, Babel, or ESLint.

Nuxt Web Bundle
An experimental tool to generate web bundles with Nuxt 3. It uses a new experimental feature in Chrome called Web Bundles that lets you share a website as a single file over Bluetooth and run it offline.

Phero
Full-stack type-safety with pure TypeScript. A no-hassle and type-safe glue between your back end and front end, with TypeScript at the core of it all.

Phero

vite-plugin-list-directory-contents
A Vite plugin to list folders contents when in dev mode so you don't have to manually type in the paths to all your inputs.

esm-env
A utility that uses export conditions to return environment information in a way that works with major bundlers and runtimes.

tea
An alternative to package managers like Homebrew that provides a unified packaging infrastructure that puts the entire open source ecosystem at your fingertips.

On the Release Radar:

Media Tools (SVG, Images, Audio, etc.)

1440: News Without all the Nonsense
A daily digest of all the most important info in culture, science, sports, politics, business, and everything in between—and it's the fastest way to an informed and impartial point-of-view   SPONSORED  

Slim
A set of 100 free and open source SVG icons available in a "slim" 1.5px stroke width.

more.graphics
An all-in-one resource of free generator tools for hexagon patterns, CSS gradients, and other styles like Mondrian, Geometric, Bauhaus, and more.

Fotor
A full-featured online graphics editor for desktop and mobile that allows you to edit and retouch photos, create full designs, and build collages.

PixelBin
A real-time image transformation, optimization, and digital asset management platform. Free plan includes 15GB of storage and 45 credits.

JXL.js
A JPEG XL decoder in JavaScript that uses WebAssembly (from the Squoosh app) running in a Web Worker.

clumsy-wav
A set of JavaScript functions for generating, playing, and downloading .wav files.

Futicons
A beautiful set of line-based icons representing objects in futuristic categories like VR, AR, Interplanetary, AI, Crypto, Blockchain, and more.

Futicons

Vectormaker
An online tool to convert PNG and JPEG images to SVG vectors. It outlines your pixel based images and turns them into colored SVG vector files.

Nyx.gallery
A gallery of AI-generated photos of food, animals, landscapes, etc., that don't exist, free for commercial use.

FabPic
Online tool to create beautiful screenshots for docs, presentations, etc. You can customize background, border, padding, position, shadow, and aspect ratio.

On the Release Radar:

Commercial Apps and Classifieds

These are commercial apps, affiliate links, PPC ads, and paid classifieds. Submit yours!
Headlessforms – A simple, intuitive, and powerful one-stop HTML forms service.
React Course Bundle – 9 React courses, 53 total hours on building apps in React.   AD
CandyIcons – A massive collection of stunning app icons in 15 categories.
designstripe – A growing graphics library to create your own illustrations with no design skills.
Fullstack Web Dev Bundle – 11 courses, 64 hours to learn React, Vue, Git, Docker, and more.  AD
Patr – An easy-to-use cloud platform to deploy static sites,
apps, databases, containers, etc.
Popsy – No-code website builder for creators with a Notion-like UI and free illustrations.
 

A Tweet for Thought

I'm guessing the front-end devs voted for back-end and the back-end devs voted for front-end in this poll. But it was pretty close!
 
A Tweet for Thought
 

Send Me Your Tools!

Made something? Send links via Direct Message on Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
 

Before I Go...

If for some reason you want to simulate being a 1990s style Hacker, check out Online Hacker Simulator and Hacker Typer. Type anything in the latter and it will appear as if you're doing some hardcore old-school coding!

Thanks to everyone for subscribing and reading!

Keep tooling,
Louis
@WebToolsWeekly
PayPal.me/WebToolsWeekly

Older messages

Web Tools #496 - JS Libraries, JSON/DB, Vue Tools

Friday, January 20, 2023

Web Tools Weekly WEB VERSION Issue #496 • January 19, 2023 Advertisement Measure the Success of Your Components 📊 Hot out the oven! Omlet is a code-based component analytics product to help frontend

Web Tools #494 - Frameworks, Git/CLI Tools, Uncats

Thursday, January 5, 2023

Web Tools Weekly WEB VERSION Issue #494 • January 5, 2023 Advertisement Debugging Sucks. 💩 Jam Makes it Better. 🚀 Here's why 10000+ switched to Jam as their screen recorder for bugs: ⚡️ One click

Web Tools #493 - Top 30 Tools of 2022

Thursday, December 29, 2022

Web Tools Weekly WEB VERSION Issue #493 • December 29, 2022 Advertisement Measure the Success of Your Components 📊 Hot out the oven! Omlet is a code-based component analytics product to help frontend

Web Tools #492 - Top Tools of 2022 (Part 1)

Thursday, December 22, 2022

Web Tools Weekly WEB VERSION Issue #492 • December 22, 2022 Advertisement Build Faster by Actually Using Your Components 🚀 Hot out the oven! Omlet is a code-based component analytics product to help

Web Tools #491 - el.before()/after(), JS Utils, Testing, React Native

Friday, December 16, 2022

Web Tools Weekly WEB VERSION Issue #491 • December 15, 2022 Advertisement What's the Biggest Development Trend for 2023 Did you know that web developers are gradually settling for a smaller number

You Might Also Like

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon

iOS Cocoa Treats

Friday, November 22, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Using the SwiftUI ImageRenderer The SwiftUI ImageRenderer