Austin Coding Academy Blog #1
- Describe one thing you’re learning in class today. Answer: Ternary operator and how it can be used for shorter if/else statements
- What is the difference between == and === ? Answer: == in JavaScript is used for comparing two variables, but it does not take the data type into account. === is a strict equality operator and does take the data type into account.
- What is the value of foo? var foo = 10 + ‘20’; Answer: ‘1020’
- Describe what a terminal application is. Answer: An application that runs in the terminal like Command Prompt/Power Shell or Terminal/Git Bash.
- What is the ternary operator? Answer: The ternary operator is a way of simplifying If/Else statements. The syntax can look like this:
condition ? exprIfTrue : exprIfFalse
6. What are some ways to ensure that your website design or web application is accessible and user-friendly? Answer: Make sure it is ADA compliant and all ALT tags are filled in.
7. What are your favorite features of HTML5, and how have you implemented them in your front-end development projects? Answer: I really liked embedding videos into HTML pages. I expect I will use an embedded video at some point when it comes to my final project.
8. How do you structure your CSS and JavaScript to make it easier for other developers to work with? Answer: I make sure they are separated in multiple files and they are heavily commented.
9. What’s your process for addressing browser-specific rendering problems? Answer: I try to address the most common browsers first then drill down further. I see this can be big problem coming up since the newest version of BootStrap does not support IE.
10. Do you find that a certain browser is more challenging to work with than others? Answer: Internet Explorer without a doubt is the hardest one that I have worked with. It is antiquated, and it slows me down. Everything else is usually based on a newer engine.