1 hour ago · Tech · 0 comments

Man, am I tired. Just absolutely dragging today. Eventually I'll go up and have a nap, but I'm dyeing my hair, so I have a towel and a shower cap on my head, and if I take a nap, I'll end up covering everything in a mix of Manic Panic's Mermaid and Rockabilly Blue. My face. My hands. My wall. My duvet. My pillows. My baby Blåhaj. My giant squid. All blue and teal all over the place. So, instead, I try to stay awake and learn about JavaScript strings. JavaScript StringsI know what strings are, I've used them, seen them in action, I've got this. Using QuotesOccasionally I need to remember that if I'm going to put quotes in my string, to make sure they don't mix up with whatever I'm using to indicate the string, like: let singer = "David Byrne"; let song = '"Life During Wartime"'; let thisTrack = singer + " is singing " + song; Using Quotes With Template StringsTemplate strings are cool, but I am totally unsure how I can show them off, what with Markdown using backticks to indicate code.…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.