// Opening paragraph with interesting hook
Four weeks ago, I took a leap of faith. I left my job in construction estimating and enrolled in a web development boot camp through General Assembly. The reasons for this are numerous, and I won’t go into them now, but I will say that I have experienced a rollercoaster of emotions regarding my decision, my understanding of the material, and my future in tech. In the four weeks since beginning this journey, not a day has gone by where I have not been reminded of one critical fact: I am new here.
// Elaborate on introduction
GA has been great. They are as invested in my success as I am. I have been reminded many times by my administrators that being new here, e.g. new in the Tech Industry, is not a bad thing. They’re here to guide me on my career path as I enter a truly massive industry and prodigies are rare in any field. However, no amount of guidance and career support will land me a job if I don’t work hard enough at understanding the material. It has been over 10 years since I’ve been in school. In order for me to succeed, I need to develop good habits. Enter: Pseudocode.
// Introduce main topic and establish conflict
// Elaborate on conflict
// Talk about the solution, with examples
index.html file for me to work with. It contained everything I needed, articles, headings, class attributes, et al. My problem wasn’t that I didn’t know where to start. My problem was that my starting point seemed to broad. I needed to narrow things down. I only needed the headings. Once I came to that understanding I latched onto it, and from there, I wrote the first couple lines I needed to start the assignment.
// select all headings const headings = document.querySelectorAll(‘h1, h2’)
After these first two lines I wrote pseudocode for all the remaining steps my code needed to take.
// select the empty <aside> element from index.html // create a new element called list (ul), add it to the <aside> // select the new list element // create new list items for the selected headings and add them to the new ul