16146122521561977557
What we have to say.
Teaching what helps us thrive.
Always learning, striving for perfection.
[CSS] How To Center An Image That's Too Big For Its Container

The header of this website, we wanted it to be centered regardless of the viewing screen. Now, we can always do this using Javascript and jQuery, but ...

[PhpMyAdmin] Incorrect Format Parameter (Database Import Issue)

Incorrect format parameter is a problem we ran into while trying to import our database that we exported from our other server. The solution: up...

[CentOS] How To Check Current Version Of Apache

Our efforts of trying to get HTTP/2 set up continue. We need to figure out what version of Apache we have, so here's the terminal code we found for th...

[Terminal] How To Fix Warning About ECDSA Host Key

We came across this issue when we were switching around the IP address of this website (sparkwebdev.com) and accessing it via terminal on two differen...

[CentOS 8] How To Set Up New Server From A Blank Slate

Taking notes so we don't forget this process again. This is what we do when we create a new server from scratch. //-> install, start, enable http...

How I Improved First Contentful Paint And First Meaningful Paint

We'll detail our thoughts on this issue more in the future, but basically the goal is to delay the loading of render blocking elements that aren't ess...

Find The Last Item In A Foreach

We've always tried to find ways to do pagination or correctly display lists. So, given that we use Yii to code in PHP, we'll get an array using $table...

What's The Ucwords() Equivalent In Javascript? Capitalize Each Word In A String

We are wondering why Javascript doesn't have more functions like PHP has. We use the ucwords(); function with PHP when we have to, it capitalizes each...

How To Delay Image Loading Until It's In View

So we had another idea with the image loading. This time, we wanted to make it so images don't load unless they are in view. This should help out page...

How To Change The Color Of Ordered List Items

Today we came across the idea of reshaping our code div inside these posts. We wanted it to be a dark theme, because we rather prefer a darker backgro...

Using JQuery & The CSS Transition Property To Create Interesting Transitions

We had the idea today of making the top of the website, the header images, transition more fluidly. We don't like how they fade in so abruptly, even t...

Text Area With 100% Width With Borders And Padding

This was something that we just recently figured out. For years our CSS was this: <textarea></textarea> <style> textarea{ border: 1...

How To Auto-Grow A Text Area

We were messing around with the admin side of things and we discovered that our textareas were not behaving the way we wanted them to. We want them to...

How Do You Display HTML Tags?

To display HTML tags in a website, use their HTML encoding translation. Replace the < character with &lt; Replace the > character with &...

Where Does The List-style Property Actually Matter?

By editing the list-style property of the Li the element, you will be able to change the list-style property. It seems that the default list-style pro...

Using JQuery To See If An Element Exists

To see if an element exists, the easiest way is to count how many elements of that type are on the page. Use the .length property of the jQuery collec...

Proudly Serves

Allentown, Bethlehem, Lehigh Valley... and everywhere else!

Follow Our Socials