I’m trying to wrap my brain around the concept of creating and assigning variables. I’ve worked all the way through the Magic 8 Ball but not without tons of included Tips.
I guess my first, and probably the biggest question comes down to application. I understand that in the exercises that:
let userName = "my name";
can be defined within the code. But how does that translate into the website that a user would experience? It seems like the practices all make this variable an assigned one. Not understanding how this will affect the user experience is making it hard for me to comprehend what exactly this all means. Can someone please help me connect the dots here? Thanks everyone!