Skip to content

Instantly share code, notes, and snippets.

@mike-duke
Last active November 21, 2017 05:43
Show Gist options
  • Save mike-duke/95269f436e5f80ffc5c18b2de4195e6c to your computer and use it in GitHub Desktop.
Save mike-duke/95269f436e5f80ffc5c18b2de4195e6c to your computer and use it in GitHub Desktop.
@mike-duke
Copy link
Author

Chap 3 Eloquent JavaScript Questions:

  1. Typing "sayHello ()" will call the function, whereas typing "sayHello" will not.
  2. The "return" keyword determines the value a function returns to the console.
  3. Function Parameters are the names listed in the function definition. Like variables, but their values come from elsewhere.
  4. Function names, like variable names, can be just about anything other than JavaScript's reserved names. However, it's also advisable to keep names short and concise in order to contribute to readability.

@mike-duke
Copy link
Author

UI/UX Questions and websites:
Do clickable things look different than non-clickable things? YES: https://4rsmokehouse.com/
NO:
Do users think it looks good? Do they trust it immediately?: YES: http://www.cobbpediatric.com/
NO: http://www.suzannecollinsbooks.com/
Does it reduce anxiety? YES: https://www.airbnb.com/
NO: http://www.007museum.com/
How does this make them feel? GOOD: https://www.kindsnacks.com/
NOT GOOD: art.yale.edu
Could you solve this just as well with something more common?: NO: https://www.indeed.com/
YES: https://www.amazon.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment