Remain Calm. It’s Just JavaScript
I have heard from every source that JavaScript is hard to learn. As it turns out, the world is correct about this. I definitely find comfort in knowing that the difficulty is widely agreed upon. Along with this comfort, I almost worry that, because everyone has harped on how hard and confusing it is, that I will just accept not understanding a concept and simply move on.
I have learned to love the instant gratification of designing a good-looking website with HTML and CSS, so I am curious to see how I feel without that in JavaScript.
- What is the difference between == and === ?
== checks for equality not accounting for data type. EX: “5” == 5 true
=== checks for equality including data type. EX: “5” === 5 false
- What is the value of foo? var foo = 10 + ‘20’;
foo = “1020”
the + operator, when used with a string and a number, will convert the number to a string and then concatenate both strings.
- Describe what a terminal application is.
A terminal application is also known as a command line interface (CLI) application. Terminal applications rely solely on text input and output due to the absence of a graphical user interface.
Get Mikailacomfort’s stories in your inbox
Join Medium for free to get updates from this writer.
EX: Git, terminal.
- What is the ternary operator?
Also known as the conditional operator, a ternary operator is a more concise way of writing an if-else statement.
var result;
if (age >= 18) {
result = "Adult";
} else {
result = "Minor";
}
CONVERTED TO TERNARY:
var result = (age >= 18) ? "Adult" : "Minor";- What are some ways to ensure that your website design or web application is accessible and user-friendly?
Using the proper HTML elements to structure content meaningfully to help screen readers work properly.
Using focus styles to make navigation clear.
Responsive web design using media queries to make sure webpages render well on all screen sizes.
- What are your favorite features of HTML5, and how have you implemented them in your front-end development projects?
Embedding video content directly into web pages using the <video> tag.
Email input type (<input type=’email’). Useful for validation of forms.
- How do you structure your CSS and JavaScript to make it easier for other developers to work with?
Naming conventions that are readable and easily understood.
File organization on larger-scale projects.
- 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?
I only use Firefox Web-developer edition and Chrome and have yet to run into issues with either.



