I still have not heard anything about my car. I may call tomorrow to see what’s up.
Let’s see, this morning I spent time washing the bed sheets and remaking the bed. Have you ever made up a King size bed? It’s a workout! I’m walking around the entire bed, tucking sheets in and getting worn out. I’m exercising tonight but I feel like I already did an exercise. Haha. Made a few appointments; a doctor appointment and a cousnseing appointment for Karissa. Yes, another appointment. I still have questions. Sometimes it feels weird that I help Karissa so much. She can certainly do things on her own, and can certainly do things that I can’t do well. Like talk to people. But I worry about her cause she still does need my help. It’s hard to explain. She isn’t slow, but she is young. She isn’t autistic but something is there. I can’t explain it. She is special needs because of being deaf, but to get her disability payment…which she has…she had to get psychologically tested. She didn’t do very well but I wonder how accurate it was. I mean, according to the psychologist, it’s accurate. But as her mother, I still have questions. According to her score she wouldn’t be able to do simple things. But I’ve seen this girl do complicated things. So when it comes to her I’m very overprotective. I’m overprotective of Alexis as well. I don’t know where I’m getting at here. But Karissa needs another appointment for her school. And I still have questions.
Coding was hard today. Not sure if I still completely understand the notes and codes today. So when I was done I practiced my drawing. I drew Final Fantasy’s Vivi and a chocobo. I will have it up on FB. I was thining I should probably start putting up pictures in my journal.
I don’t know what to do now, since I’m just waiting for everyone to get home. So I’m playing with Merlin.
JavaScript notes…
—————————————–
Convert a string to spinal case. Spinal case is all-lowercase-words-joined-by-dashes.
function spinalCase(str) { let camelCaseHandled = str.replace(/([a-z])([A-Z])/g, "$1$2"); return camelCaseHandled; } spinalCase('This Is Spinal Tap');
function spinalCase(str) { // Create a variable for the white space and underscores. var regex = /\s+|_+/g; // Replace low-upper case to low-space-uppercase str = str.replace(/([a-z])([A-Z])/g, "$1 $2"); // Replace space and underscore with - return str.replace(regex, "-").toLowerCase(); } // test here spinalCase("This Is Spinal Tap");
Pig Latin is a way of altering English Words. The rules are as follows:
– If a word begins with a consonant, take the first consonant or consonant cluster, move it to the end of the word, and add ay to it.
– If a word begins with a vowel, just add way at the end.
Translate the provided string to Pig Latin. Input strings are guaranteed to be English words in all lowercase.
function translatePigLatin(str) { return str; } translatePigLatin("consonant");
function translatePigLatin(str) { let consonantRegex = /^[^aeiou]+/; let myConsonants = str.match(consonantRegex); return myConsonants !== null ? str .replace(consonantRegex, "") .concat(myConsonants) .concat("ay") : str.concat("way"); } translatePigLatin("consonant");