JavaScript Functions with the DOM

Welcome to my blog post from my nineteenth day of class!

Erin McBride
Mar 31 · 2 min read

Describe one thing you learned this week.

I learned that I have a habit of overcomplicating the issue in front of me. I thought that the solution to building the calculator with javascript was way more complicated than it turned out to be, and I spent far too long worrying about not knowing how to solve the problem instead of asking for help.

Is there any reason you’d want to use translate() instead of absolute positioning, or vice-versa? And why?

Absolute positioned elements stick to pixel positions, whereas traslate()’d elements can interpolate at sub-pixel positions.

Can you explain the concept of a CSS float and provide an example of its usage?

The float property is used for positioning and formatting content e.g. let an image float left to the text in a container.

The float property can have one of the following values:

In its simplest use, the float property can be used to wrap text around images.

Source: https://www.w3schools.com/css/css_float.asp

Erin McBride

Written by

Hi there! Below is my weekly blog that I wrote while enrolled in Austin Coding Academy.