Tuesday, November 5, 2019

BlogPost_201

  1. Describe one thing you’re learning in class today.
In class I googled about how to write an if statement and then found out with the feedback from the professor that I had to use methods to complete the task at hand. I found about the trim method for a string and applied it along with a method to bring all characters in a string to lowercase.
  1. How do you ensure that your website design or web application is accessible and user-friendly?
There´s a lot of options here. An option could be to run some tests with real people to get feedback from them. Another option is to hire a UX Professional to help with the design of the website or web application. Lastly and the least reliable way would be to run by intuition.
  1. What are your favorite features of HTML5, and how have you implemented them in your front end development projects?
I have used the video player and canvas. Those two are my favorite features. I implemented the video player in a website and I like how fast it is compared to other alternatives.
  1. How do you structure your CSS and JavaScript to make it easier for other developers to work with?
On separate files.
  1. 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 normally use Google Chrome and if something doesn´t work there I normally don´t care. I´m of the idea that if someone is using an old browser it´s their fault and not mine. I don´t find it challenging to add the code to make it work with older browsers but I like the darwinistic idea of not doing so to force people to update their browsers. Sorry not sorry. :)
  1. What is the difference between == and === ?
=== is used for comparision between two variables but this will check strict type, which means it will check datatype and compare two values.
== is used for comparison between two variables irrespective of the datatype of variable.
  1. What is the value of foo? var foo = 10 + '20';
The value of foo is 10 + '20'. If you run it the value of foo will be 1020. ;)
  1. Describe what a terminal application is?
A terminal application is a non-graphical computer interfase that allows a user to control the computer with text based commands.
  1. What is the ternary operator?
The ternary operator is an operator that takes three arguments. The first argument is a comparison argument, the second is the result upon a true comparison, and the third is the result upon a false comparison. If it helps you can think of the operator as shortened way of writing an if-else statement.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home