Skip to content
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • urbanity & architecture
    • projects
    • website design

Quickbits

September 3, 2022
In Mammoth Lakes -- Biked the "Knolls Loop". Fantastic way to spend a Saturday morning -- just was looking for a quick ride from camp, ended up doing the ten mile loop.   After that, we all biked for pizza, and then loaded up my backpack with ice for the cooler and biked back to camp.   We then headed out to the city park near the campground, and hung out in the grass for a while, throwing the football and relaxing as much as I could (Mason kept asking to bike or throw the football).
September 2, 2022
Drove to Mammoth Lakes. Got on the road by 5am, so we were in the area by noon. We first checked out a free camp north of town, but it wasn't really working for us, so we headed over to the Old Shady Rest Campground just to see if we could find anything open. We didn't, but beinga   little tired and Mason a little cranky, we headed over to the city park near there and played around. After checking the reservation app an hour or two later, I noticed a couple spots opened up. We jumped on them and snagged them. Not only were we able to get it for the night, we were able to snag it for the entire weekend. Woohoo!

Desktop App Development with HTML, CSS, Javascript, and a Database

August 29, 2022   |   Quickbits

I’m more and more interested in creating locally-run, desktop apps, but I want to use all of the knowledge I’ve built up over the years with web development to do it.   It looks like Electron is the way to do it. They don’t mention database support, but it sounds like there are ways to connect SQLite […]

Read More
August 29, 2022
I always want new content...it doesn't have to be new. Perhaps I should just make something that pulls random reddit posts on a topic with each refresh of the page.   If I ever get around to building some sort of a web database, I could use that, but for now using the Reddit API would probably be good enough.

Javascript Replace String in String

August 27, 2022   |   Quickbits

let text = “The dogs barked loudly”; let result = text.replace(“dogs”, “cats”); Replace all instances: let text = “The dogs barked loudly”; let result = text.replace(“dogs/g”, “cats”);

Read More

Javascript Does String Contain Substring

August 27, 2022   |   Quickbits

var str = “Some haystack text goes here that contains needlestring”;   str.includes(‘needlestring’); If you get an error, like “TypeError: e.includes is not a function”, it probably means that you’re trying to do a search on something that isn’t a string or an array.   Fix this by converting the variable to a string, like: element.toString().includes(“#”);

Read More

Get Current Clicked on Element in Javascript

August 27, 2022   |   Quickbits

event.currentTarget

Read More

Accessibility Checking

August 26, 2022   |   Quickbits

Resources for checking out your site’s accessibility. Lighthouse also provides some checking, but I have a feeling these are a little more robust: https://www.ssa.gov/accessibility/andi/help/install.html https://wave.webaim.org/

Read More
August 25, 2022
I really just want to create a tool that discovers good content for me to view. From the creator's point of view, I would love to not have to "promote" my content for it to be found, but for the tool to just discover good stuff on it's own. It's not about the most popular or most shared content, just good stuff that I know exists but never gets found.

Different Image Files Based on Browser Width

August 25, 2022   |   Quickbits

.ipad,.mobile{display:none;} @media(max-width: 768px){   .desktop,.mobile{     display:none;   }   .ipad{     display:block;   } } @media(max-width: 500px){   .desktop,.ipad{     display:none;   }   .mobile{     display:block;   } } <img src=”image-file-desktop” class=”desktop”> <img src=”image-file-ipad” class=”ipad”> <img src=”image-file-mobile” class=”mobile”>

Read More

Posts navigation

Older posts
Newer posts

drempd | san diego, ca


home contact

adventures san diego urbanity and architecture projects stream website design

portfolio resume san diego web design freelance web designer

custom web design responsive web design website maintenance