Blog_Post_18

Erin M
Erin M
Mar 24 · 2 min read
  1. Describe one thing you learned this week.
    GUI: (Graphical User Interface) Allows users to interact with the interface through graphics like icons, instead of solely with text-based commands. This is basically what most sites are like now, easy to navigate the webpages with actions represented by universally understood images. Though that can change country to country, it is generally understood how to navigate a page using this interface format.
By Shmuel Csaba Otto Traian, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=29272912

2. What tools and techniques do you use debugging JavaScript code?
Breakpoint: You can add a breakpoint in your code for debugging. It’s basically a pause put in place so that the developer can go in and look through the code in the test environment.

Most browsers now have developer tools and debugging tools built right in. Though not normally the default browser used by many users, Firefox has some extensive debugging developer tools which has made it ideal for developers. They have a number of videos and pages online about their developer tools. This is one reference example:

https://www.youtube.com/watch?v=QK4hKWmJVLo#action=share

3. What are the differences between variables created using let, var or const?
let:
this came after var and is the preferred method for creating variables as this allows us to block scope. let will move your variable to the top of your code.
block: allows for grouping of 0 or more statements.
var: variables using var are moved or “hoisted” to the top of the code or function. var doesn’t have block scope.
const:
this is a variable that will never change, hence the name, “constant”.