Ten Forward Blog
tech • mobile • web • madison, wisconsin
Showing Results for Keyword: code (clear)

How to make a non-video iframe responsive, using JavaScript
Published: June 2, 2022
By Hilary Stohs-Krause
Making iframes display properly at different screen widths is a tried-and-true, challenge, especially when the content in the iframe isn't proportional across devices. JavaScript to the rescue! (Read more)

How to add a delayed hover effect with JavaScript
Published: May 24, 2022
By Hilary Stohs-Krause
A quick guide for implementing a more controlled hover effect (and avoiding an infinite loop!) (Read more)

Rails & Regex: How to validate for length of a number with or without a hyphen
Published: November 12, 2020
By Hilary Stohs-Krause
What follows is our quest to craft a regex validation that ensured a certain amount of numbers, with or without a hyphen, and our breakdown of how it all works. (Read more)

How to make a text field's width increase and decrease dynamically based on user input
Published: November 5, 2018
By Hilary Stohs-Krause
The title pretty much says it all. (Read more)

How to add a "copy to clipboard" button to your website
Published: September 17, 2018
By Hilary Stohs-Krause
Have a situation where you want to make copying text easier? Add a button that lets your user copy it directly to their clipboard. (Read more)

CSS responsive trick: How to create an "ellipsify" class
Published: December 6, 2016
By Hilary Stohs-Krause
Tables aren't known for being particularly responsive, but at times, using them is unavoidable; when that's the case, sometimes all it takes is a little CSS to make a big difference. (Read more)
Integrating an array column with Simple Form in Rails
Published: July 14, 2016
By Hilary Stohs-Krause
Sometimes the first blog post tutorial you find just ain't enough. (Read more)

How to make Github magical
Published: June 30, 2016
By Hilary Stohs-Krause
Programming already feels a bit like magic; I just upped the ante. (Read more)
Sprinkling Little Bits of Behavior Using JavaScript Modules
Published: June 14, 2016
By Mark Norman
We often encounter scenarios where we need a small piece of (somewhat) simple functionality on a single page. After a successful 15-minute yak-shave-code-off, we've figured out a solid way to tackle this requirement. (Read more)
Automating timecop gem for testing time-dependent Ruby code
Published: April 11, 2016
By Staff
Want to (literally) save some time? Start using config flags with timecop. (Read more)
Make a sweet mobile menu with CSS
Published: March 28, 2016
By Staff
Using CSS (or, in our case, Sass) and minimal JavaScript, make an animated open/close button for your website's menu. (Read more)
How to kickstart PostgreSQL
Published: February 17, 2016
By Brian Samson
Rails server not working? Might be PostgreSQL is failing silently. (Read more)