Tony Lea

Howdy, Welcome to My Blog

February 24, 2022

Checking for valid HTML strings in Javascript

Written by Tony Lea - 1 minute read

I had a scenario where I needed to validate an HTML string to make sure it is correctly structured. In this quick tutorial I will show you an example of how to check if an HTML string is valid using some simple javascript. 🤓 Quick Example Here is a q...

February 11, 2022

Sidecar for Laravel

Written by Tony Lea - 6 minute read

Sidecar is an awesome Laravel package that will allow you to run Lambda functions directly from your Laravel application. Meaning you can run Node, Python, Ruby, Java, Go, and many others through a Lambda function from inside Laravel. Truly Mind-blow...

February 8, 2022

Laracon Online is Tomorrow

Written by Tony Lea - 1 minute read

Larcon Online 2022 is happening tomorrow 🍾 and it will be streaming FREE on YouTube, so there's no reason you shouldn't tune in, check out all the awesome talks, and get your nerd on 🤓 {% giphy https://giphy.com/embed/3KC2jD2QcBOSc %} You can find th...

January 18, 2022

Introduction to Javascript Proxy

Written by Tony Lea - 3 minute read

What is a Javascript Proxy? Glad you asked because in this quick tutorial I'm going to teach you what they are and how to use them. But first, a quick definition. A Javascript Proxy is simply an object that listens for changes. Using a proxy you can ...

December 30, 2021

Ignoring Specific Elements in VS Code Beautify

Written by Tony Lea - 2 minute read

The Beautify VSCode plug-in is amazing for formatting and cleaning code. With a quick call to the plugin-in we can transform nasty looking HTML into a beautifully structured format 💅 The only thing that I hate is when it breaks up specific elements ...

October 27, 2021

Creating Modals in Laravel Livewire

Written by Tony Lea - 2 minute read

In this tutorial I will show you how to create simple modals in Laravel Livewire. We are going to make use of an awesome package called LivewireUI Modal. This package allows you to create some re-usable, extendable, and super sleek looking modals in ...

October 23, 2021

Setting Alpine Data Outside of the Component

Written by Tony Lea - 2 minute read

Using the new AlpineJS event system in version 3.0 we can easily set data from outside the component by using custom events. I had previously written an article where I showed you how to get and set data outside of the AlpineJS component scope using ...

October 18, 2021

TailwindCSS Scroll Snap Utilities

Written by Tony Lea - 2 minute read

When TailwindCSS v3 is released, we will have some awesome new utility classes to include in our pages. One of which is the the scroll-snap utilities. This will allow you to easily add simple scroll snapping to elements when a user scrolls the page. ...

October 8, 2021

Getting Started with Three JS

Written by Tony Lea - 5 minute read

ThreeJS is one of the most popular libraries for displaying 3D content on a webpage. You can see a lot of examples of the cool stuff you can create, by checking out their homepage. In this quick tutorial, I'll show you how to get started using and lo...

October 4, 2021

Tailwind V3 Alpha Release 🎉

Written by Tony Lea - 2 minute read

Last week, TailwindCSS version 3.0 alpha-release was announced with some really cool features and updates! {% giphy https://giphy.com/embed/oF5oUYTOhvFnO %} In this quick post I'll highlight some of those awesome new features. Just-in-Time, all the t...

1 2 3 4 5 6 7 8 9 10 ... 19 20