I was feeling anxious today. Anxious about coding and having to make phone calls to make appointments. I have phone anxiety. I hate talking on the phone. I get nervous and draw a blank while on the phone. I will sit there for hours before actually making a phone call. I’d rather talk to people in person, which is funny since I have social anxiety. But my anxiety is worse with the phone. I eventually did make the phone calls. I wrote down what I needed to say and just talked as if I’m reading a script. So Alexis now has her doctor appointments during her spring break.
The first part of my coding exercises today wasn’t that bad, though I still had a little bit of anxiety over not remembering how to code a few things that were already learned. I did learn a few new things…
You can select the last element of a specific type using the last-of-type
like this:
p:last-of-type { }
That will select the last p
To style the submit button, you can use an attribute selector, which selects an element based on the given attribute value. Just like this:
input[name="password"]
The above selects input
elements with a name
attribute value of password
.
The next project on freecodecamp is to make another form. Although I have to do most of the work with minimal instructions. I’m drawing a blank on this. I decided to just have a random form asking some quirky questions. I have written up the skeleton of my form:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></title> <link rel="stylesheet" type="text/css" href="css/styles.css"> </head> <body> <div id="heading"> <h1 id="title">Randomly Random</h1> <p id="description">Quirky form of random questions.</p> </div> <div id="main"></div> <div id="dropdown-menu"></div> <div id="button-menu"></div> </body> </html>
I’m now watching a video on using GitHub on VsCode. GitHub is both confusing and simple at the same time if that makes sense. My brain feels a bit overwhelmed.