I have yet to take any pictures this last weekend/week. We didn’t do anything this weekend. Seriously, I did nothing. That was nice. We did go to Costco and Home Depot yesterday to look at refrigerators. Tommy ended up just buying the refrigerator parts we needed.
I had my sinus appointment last Thursday. I love that we must always be early for the appointment, yet the doctor always runs late. Anyway, my sinus and nose are looking good and clear. My palate is a bit short, which can cause snoring. But they can’t do anything about that. The doctor did find that I had an ear infection in my right ear and gave me some antibiotics and a steroid.
Since I have nothing to talk about, I will answer some random questions that I saw on Facebook:
⚠This is seriously going to get personal, you ready? I guess so
⚠If you were caught cheating, would you fess up? If I was caught? Sure. But it’s best not to cheat
⚠The last time you felt honestly broken? Gee, usually after therapy
⚠Are you craving something? coffee
⚠If you could have one thing right now what would it be? candy. I just feel like having sugar
⚠Would you rather have ten kids, or none? ten is a lot. I like having two, but if I had to choose between ten and none, I’d say none.
⚠What do you hear right now? Nothing, I have noise-cancelling headphones on
⚠Is your bed against more than one of your walls? No
⚠What’s on your mind right now? Getting some tea
⚠Are you there for your friends? Yes
⚠Last person to see you cry? Tommy
⚠What do you do when you get nervous? Have a panic attack
⚠Be honest, do you like people in general? Yes, sometimes
⚠How old do you think you will be when you finally have kids? I was 23 when I became a mom
⚠Does anyone completely understand you? Yes
⚠Do you have a reason to smile right now? Yes, I’m going to have some tea when I’m done with this
⚠Has anyone told you they don’t ever wanna lose you? Yes
⚠Would you be happier if life had a rewind button? No. Well, maybe
⚠Do you tell your mum or dad everything? No
⚠Does it matter to you if your boyfriend or girlfriend smokes? No, but I would like them not to
⚠Are you going to get hurt anytime soon by someone? What a weird question. No
⚠This time last year, can you remember who you liked? Yes
⚠Do you think more about the past, present, or future? Present
⚠How many hours of sleep do you get a night? 6 to 7 hours
⚠Are you easy to get along with? I think so
⚠Do you hate the last girl you had a conversation with? Um no
⚠What was the last drink that you put in your mouth? Diet Pepsi. Alex came home with a bottle last week and gave it to me.
⚠What size bed do you have? California King I think
⚠Do you start the water before you get in the shower or when you get in? Before
⚠Do you like the rain? Yes
⚠Do you think someone is thinking about you right now? Yes
⚠Have you ever done something you told yourself you wouldn’t do? Of course
⚠Would people refer to you as a goodie goodie, bad news, or neither? Depends on who you ask but I think as a goodie goodie
⚠Who were you last in the car with, besides family? Tommy
⚠What’s the last movie you saw in theaters and with who? Um, Oppenheimer and with Tommy, Kel, and Chris
⚠Have you ever kissed someone who had a boyfriend/ girlfriend? Yes
⚠Have you ever been hurt by someone you never thought would hurt you? Of course
⚠Your parents are out of town. Would you throw a massive party? No
⚠Do you regret a past relationship? Yes
⚠Would you rather spend a Friday night at a concert or a crazy party? Concert
⚠Do you tend to fall for the same type of person over and over? No
⚠Have you made a joke about somebody that made them cry? No
⚠Do you care too much about your appearance? No
⚠Are you a jealous person? No
⚠Have you bought any clothing items in the last week? No
⚠Do you miss anyone? Yes, my dad
⚠Last person who made you cry? Don’t remember
⚠Does your ex piss you off? Yes
⚠What are you doing tomorrow? Studying
⚠Are you the type of person who has a new boyfriend/ girlfriend every week? No
⚠Is there anyone you want to come see you? I can’t think of anyone. I’d like to see Tommy and Kel when they get off work
⚠Have you ever been cheated on? I’m sure my ex has
⚠Ever given your all to someone who walked away? No
⚠Do you like cotton candy? I used to but not anymore
⚠Who was the last person you had a serious conversation with? Tommy
⚠Do you have siblings? No
⚠Have you ever fallen asleep on someone? Yes!
⚠How has the past week been for you? Alright
⚠Do you have a friend of the opposite sex you can talk to? Yes
⚠What’s on your mind right now? Getting some hot tea when this is done.
⚠What were you doing at midnight last night? Sleeping
⚠What is your current mood? Content
⚠Who was the first person you talked to today? Kel
⚠Will this week be a good one? I’m sure it will be
⚠Anything happen to you within the past month that made you really happy? New car
⚠Who were you with last night? Tommy, Kel, the kids
⚠Did you talk to someone until you fell asleep last night? Tommy. But we stopped talking before going to sleep
⚠Next time you will kiss someone? I will kiss my daughter on the cheek later
⚠Who should start the kiss, the girl or the boy? Both
⚠Do you have any plans for the weekend? No
That was a lot of questions.
JavaScript notes…
—————————————-
Calorie Counter Project
Step 1
You have been provided with boilerplate CSS and HTML. However, you need to build your calorie counter form.
Feel free to explore the HTML and CSS, then add a form element and give it an id set to calorie-counter.
Step 2
Create a label element, give it a for attribute set to budget and the text Budget, then create an input element with the id set to budget.
Step 3
Your input element needs some additional attributes. Give it a type set to number to only allow numeric inputs, a min attribute set to 0 to only allow positive numbers, and a placeholder set to Daily calorie budget.
Finally, mark the input element as required.
Step 4
Create a fieldset element with the id set to breakfast.
Within that element, create a legend with the text Breakfast, and an empty div with the class set to input-container.
Step 5
Now create a fieldset with an id set to lunch, and a corresponding legend and div element.
Step 6
Continuing the pattern, create a fieldset for dinner with the same nested elements.
Step 7
You need two more of these fieldset code blocks – one for snacks and one for exercise.
Step 8
Create a div and give it a class set to controls. Nest a span element within that div.
Step 9
In your span element, create a label element for an entry-dropdown and give it the text Add food or exercise:. Then create a select element with the id set to entry-dropdown and a name set to options. Below that, add a button element with the id set to add-entry and the text Add Entry.
Give your button element a type attribute set to button to prevent automatic form submission.
Step 10
Your select menu needs options for each of the food and exercise fieldset elements you created in the previous steps. Use the option element to create a new option for each fieldset. The value attribute of each option should be the id of the fieldset, and the text of each option should be the text of the legend.
Set the Breakfast option as the selected option.
Step 11
Create another div element. Within it, nest a button to submit the form. This button should have the text Calculate Remaining Calories.
Then add a button with the id set to clear to clear the form (don’t forget to give it a type attribute that prevents it from submitting the form). This button needs the text Clear.
Step 12
Your form needs somewhere to display the results. Add an empty div element and give it an id of output and the class values of output and hide.
Step 13
Finally, you need to link your JavaScript file to your HTML. Create a script element to do so.
Step 14
It is time to start writing the script that makes your form work.
To access an HTML element with a given id name, you can use the getElementById() method. Here’s an example of how to use this method:
Main title
const mainTitleElement = document.getElementById('title');
Begin by getting the form element (using the id) and storing it in a variable called calorieCounter.
const calorieCounter = document.getElementById("calorie-counter")
Step 15
Get your #budget element and assign it to budgetNumberInput, and your #entry-dropdown element and assign it to entryDropdown.
const calorieCounter = document.getElementById('calorie-counter'); const budgetNumberInput = document.getElementById('budget'); const entryDropdown = document.getElementById('entry-dropdown');
Step 16
Following the same pattern, assign your #add-entry element to addEntryButton, your #clear element to clearButton, and your #output element to output.
const calorieCounter = document.getElementById('calorie-counter'); const budgetNumberInput = document.getElementById('budget'); const entryDropdown = document.getElementById('entry-dropdown'); const addEntryButton = document.getElementById('add-entry'); const clearButton = document.getElementById('clear'); const output = document.getElementById('output');