Thanks for the answer! I recently wrote about my first attempt at putting some fun in code in the dev.to codebase:
text_color_hex&.prepend("#") unless text_color_hex&.starts_with?("#")
bg_color_hex&.prepend("#") unless bg_color_hex&.starts_with?("#")
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.