These blogs will follow my journey through 211 ACA Web Development.
Describe one thing you’re learning in class today.
At the time of writing this class 4 has completed, and today I learned about for loops as well as unit testing. The idea of unit testing is interesting and never really crossed my mind to test the individual parts of code before attempting to run an entire program.
What is the difference between == and === ?
The difference is strict equality vs loose equality, == is loose and is only checking for equality after converting the two values into a common type. Therefore === will firstly compare that the value and type are the same.
What is the value of foo?
var foo = 10 + '20';
This will return 1020, because 10 will add the string 20 to the end of it.
Describe what a terminal application is.
Also known as a console or command line, they allow us to complete tasks on the computer without the need for a GUI, graphical user interface.
What is the ternary operator?
This definition from Wikipedia explains best, “ a ternary operator is an operator that takes three arguments (or operands). The arguments and result can be of different types. Many programming languages that use C-like syntax feature a ternary operator, ?: , which defines a conditional expression.”
What are some ways to ensure that your website design or web application is accessible and user-friendly?
By adding media queries you can ensure that all devices, mobile thru desktop, are able to view your website. You can also add tags to images and videos so that those who are hearing or visually impaired are able to navigate with the proper assisted applications.
What are your favorite features of HTML5, and how have you implemented them in your front-end development projects?
I appreciate how HTML5 has
<body> , and
<footer> . I often use the fact that they have been separated out for me already to help keep my HTML file organized.
I try and use proper spacing and write clean code that does not repeat itself. For now I almost always try and make it look visually spaced out so that you can read what is trying to happen within each function.
What’s your process for addressing browser-specific rendering problems? Do you find that a certain browser is more challenging to work with than others?