Open in app

Sign In

Write

Sign In

Matt Croak Code
Matt Croak Code

1.1K Followers

Home

About

Published in Better Programming

·Jan 23

Create a Custom Popup Using Vanilla JavaScript (No Libraries Needed)

When a generic alert isn’t enough — In web development, a popup can be a quick and effective (albeit sometimes very annoying) way to share data with the user. It can offer a portal for cookies management, alert the user about request statuses, display ads, etc. But what if you don’t want to install any dependencies? What…

Java Script

7 min read

Create a Custom Popup Using Vanilla JavaScript (No Libraries Needed)
Create a Custom Popup Using Vanilla JavaScript (No Libraries Needed)
Java Script

7 min read


Published in Better Programming

·Jan 17

The Art of Using HTTP Requests in Your Chrome Extension’s Background Script

Only fire when ready (Manifest v3) — In my last blog post, I showed you how to make a Chrome Extension and how to make a background script that was manifest version 3 compliant. In this post we will continue with background scripts. …

Google

6 min read

The Art of Using HTTP Requests in Your Chrome Extension’s Background Script
The Art of Using HTTP Requests in Your Chrome Extension’s Background Script
Google

6 min read


Published in Better Programming

·Jan 13

How To Write a Background Script For Chrome Extension

Create the connection between the user and the extension. (Manifest Version 3) — I’ve been delving into Chrome extensions in my downtime and it’s sparked a lot of ideas in the pipeline now that I know how to make them! One of the more challenging parts of learning about them was understanding what a background script was — and how to write an…

Google

6 min read

How To Write a Background Script For Chrome Extension
How To Write a Background Script For Chrome Extension
Google

6 min read


Published in Level Up Coding

·Jan 5

How Specify Data Labels in A Google Sheets Line Chart

What I tried, what went wrong, and how I fixed it! — I was working on a spreadsheet to help me create data visualizations for my audience statistics on Medium. My goal was to be able to see a lot of the key metrics that are found within the audience stats page on Medium in a more succinct and organized way. First…

Google

5 min read

How Specify Data Labels in A Google Sheets Line Chart
How Specify Data Labels in A Google Sheets Line Chart
Google

5 min read


Jan 1

My Medium Goals for 2023

My last post for 2022 starts…now! — I just completed an analysis of my Medium performance and consistency for the year 2022 — and earlier. I decided to make this tool in order to more succinctly track my progress over the last few years and for the years to come. Below is the “straight up” analysis, meaning…

2023

4 min read

My Medium Goals for 2023
My Medium Goals for 2023
2023

4 min read


Published in Level Up Coding

·Dec 28, 2022

How To Write Code Faster

And Quick Ways To Condense Your Code — Someone asked the question, how do you write code faster, on Quora, and sent me a request for an answer. My answer may shock you… The reality is…there is no secret sauce. The more you code, the easier it’ll become and the quicker you’ll write it. In essence, this is…

Code

6 min read

How To Write Code Faster
How To Write Code Faster
Code

6 min read


Published in Level Up Coding

·Dec 19, 2022

How To Match Multiple Conditions in Regex

Combine Regex to Have Clean, Efficient Pattern Matching — In a previous post, I wrote about how to make YouTube links show up as thumbnails in your Medium post. In order to do it, you need to make use of some regular expressions to match and replace certain patterns in the provided URLs. In the post, I included a…

Java Script

5 min read

How To Match Multiple Conditions in Regex
How To Match Multiple Conditions in Regex
Java Script

5 min read


Dec 19, 2022

How To Do A 24 Hour Fast (And What To Avoid)

The Benefits, The Pitfalls, and The Rewards — You might have heard of intermittent fasting (IF) — a practice by which you don’t eat for a period of time during each day or week. I personally have been doing 16:8 IF, where you eat for 8 hours a day and fast for 16. Despite doing that for a…

10 min read

How To Do A 24 Hour Fast (And What To Avoid)
How To Do A 24 Hour Fast (And What To Avoid)

10 min read


Published in Level Up Coding

·Dec 9, 2022

How to Make YouTube Links Show Up As A Thumbnail on Medium with JavaScript

A quick and easy function to ensure all links show up as a thumbnail! — I was recently working on a blog post about various meditations that I’ve come to really like over the last few years when I realized that all of the links I had saved in my Notes app on my phone wouldn’t come up as links in my post.

You Tube

4 min read

How to Make YouTube Links Show Up As A Thumbnail on Medium with JavaScript
How to Make YouTube Links Show Up As A Thumbnail on Medium with JavaScript
You Tube

4 min read


Dec 8, 2022

Meditations for Success, Happiness, Self-Love and More (For Free)

Updated Monthly — For the last few years I have been trying to meditate more as a means to improve focus, mindfulness and general wellness. As of September 21, 2022, I have discovered new goals for meditation after deciding to officially stop drinking. …

Meditation

4 min read

Meditations for Success, Happiness, Self-Love and More (For Free)
Meditations for Success, Happiness, Self-Love and More (For Free)
Meditation

4 min read

Matt Croak Code

Matt Croak Code

1.1K Followers

📱 Software Engineer 👨🏻‍💻 Blogger 🪴 Plant Dad https://linktr.ee/mattcroak

Following
  • Ben Le Fort

    Ben Le Fort

  • Andrei SN

    Andrei SN

  • Alix A.

    Alix A.

  • A. S. Deller

    A. S. Deller

  • Joie Cooper

    Joie Cooper

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech