Fixing JWS.app: Styling the content on the page

Previously, we have looked at the navigation bar, the hero image, and the combination of the two.  I figured that next natural step is to look at how to style the content on the page.  I want to add some sort of visually pleasing container and Bulma‘s box class seems to be a good option. …

Continue reading "Fixing JWS.app: Styling the content on the page"

Fixing JWS.app: What if we merged the nav bar with the hero image?

Previously, we looked at using Bulma to improve the nav bar and we looked at ways we could improve the hero image.  I figured that this week, we would combine the two. See the Pen JWS.app – Hero with Nav by Joe Steinbring (@steinbring) on CodePen. I kind of like this look but the nav …

Continue reading "Fixing JWS.app: What if we merged the nav bar with the hero image?"

Fixing JWS.app: The Hero Image

Last week, we looked at more ways to tweak the nav bar on JWS.app.  This week, I figured that we would move down to the hero image.  The current hero image is dynamically generated based upon a subset of images on photos.jws.app.  It doesn’t look great, though. See the Pen JWS.app – Hero (Before) by Joe Steinbring …

Continue reading "Fixing JWS.app: The Hero Image"

Two really promising upcoming “pay what you want” online conferences

This year has caused a lot of plans to go out the window.  You can’t travel, go to school (in person), or even grab a beer at the neighborhood bar.  As we always do, we find a way though.  Two of the conferences that I have really enjoyed in the past are going online, this …

Continue reading "Two really promising upcoming “pay what you want” online conferences"

Fixing JWS.app: The Nav Bar (Part 2)

Last week, we looked at two ways to fix the nav on JWS.app.  For the first option, we simply added an additional header that displays when the screen width gets narrow enough.  For the second option, we introduced a hamburger menu.  This week, let’s look at two new options. The first of this week’s options …

Continue reading "Fixing JWS.app: The Nav Bar (Part 2)"
Guy writing code

My prefered tools for coding

Back in 2011, I wrote few short posts about what I install right after reinstalling windows.  I figured that 9 years is enough time between these kinds of posts.  This time, I’m going to go over my prefered tools for writing code.

Continue reading "My prefered tools for coding"

PHP function of the day: array_rand()

For day 20 of 21 in the “PHP Function of the day” series, I’m going to look at array_rand().  The function takes a required array and an optional number of random keys to return.  It returns a random key (not the value). Let’s take a look. <?php $names = array(“Joe”,”Jim”,”Sarah”,”Jill”); $numbers = array(1,2,3,4,5,6,7,8,9); $names_rand_keys = array_rand($names,3); $numbers_rand_keys …

Continue reading "PHP function of the day: array_rand()"

PHP function of the day: date_diff()

For day 19 of 21 in the “PHP Function of the day” series, I’m going to look at date_diff(). Let’s take a look. <?php $shoppingDay=date_create(“2020-05-28”); $payDay=date_create(“2020-06-01”); $difference = date_diff($shoppingDay,$payDay); print_r($difference); echo “<br /><br />”.$difference->format(“%R%a days”); ?>   See the output   As you an see, this calculates the difference between two dates (something that could be pretty …

Continue reading "PHP function of the day: date_diff()"