Being Forced to Quit the Only Job I Ever Liked

With the crazy realty that is this new world during the COVID-19 pandemic, the company I worked for faced a staggering 90% or more loss in net profit during the month of March. In response, the company chose to slash my pay instead of lay me off. They insisted the pay decrease would be short, that I would be expected to perform fewer tasks and my hours would be cut back considerably. My shop’s operating hours had been adjusted to fit with the reduced schedules of workers. Instead of being open 80 hours per week, it would only be open around 50 to account for the decrease in hours worked. The loss of pay would come with a significant drop in workload, and would be remedied as soon as possible. Or so I was told.

After a few months of constant assurance that my pre-coronavirus pay would be returned as soon as profits did, my old tasks seemed to be my responsibility again. The shop returned to the normal operating hours of 7am to 7am. Slowly, yet surely, my hours worked not only returned to normal, but were actually higher than they had ever been. I was working far harder and far longer than normal, and was still being payed as if I wasn’t.

I enjoyed the job, I always had, but my savings was starting to dwindle. My pay was shot, but my bills were all still due. I kept being told, sometimes by nobody more than just myself, that everything would return to normal soon, and I had nothing to worry. Weeks piled on until they became months, and eventually I realized that I only had a few months before I would need to start living off of credit cards that I had just managed to pay off a year or two before. I had to quit.

So I did.

I have recently started aiming for a different career altogether, one in web development. I’ve only just started on this, rather nerve-wracking, journey in changing jobs and so far, I’ve just started learning through ACA. It hasn’t been much, but so far I’ve been tasked to learn the following:

What does doctype do at the top of your html file? Why does this need to be specified?

The doctype declaration at the top of the file signals to the web browser that the file it is about to read is going to be an HTML5 file so that the file can be read quickly and properly.

Explain how a browser determines what HTML elements match a CSS selector?

HTML elements can be matched with a CSS selector in a few ways. First, the HTML element can be selected with just their name, or by adding a “class”, or “ID” to the element, and then selecting that element in CSS.

What’s the difference between an HTML element and and HTML tag?

An HTML tag is just the opening and closing sections of an element. Some tags are self closing, but others have to be closed by a separate closing tag (e.g. <p></p>). An HTML element is everything: the opening tag, content and the closing tag.

In your own words, explain the cascade of CSS?

A browser reads CSS from top to bottom, so if an element is selected multiple times, the one that comes last will be used unless a more specific way of selecting that element is written, like a class or an id.

Explain, to someone you know, the 3 ways to link/use CSS in an HTML file to style a web page.

Out of the three ways to link CSS and HTML, there is only one that is considered to be “best practice”. Inline styling is a styling method that adds the style to the opening tag of an HTML element. These stylings can often get very long and will usually be difficult to read. The second method is to add a separate <style> tag inside the <head> of the HTML document. This is effective in separating the HTML and CSS, but the CSS will only apply to this HTML document. Using a separate CSS sheet is considered “best practice.” It allows the CSS and HTML to be separate, keeping everything clean and neat. This method also allows a single sheet of CSS to be used on multiple HTML files.