Demo: HTML & CSS Basics
3 questions
What is HTML?
Basic explanation of HTML and its uses.
Discussion
Discussion
Log in to join the discussion.
-
Demo Student 2 months agoWhat's a good follow-up resource after finishing this section? I want to dive deeper into this specific topic.
-
Demo Student 2 months agoCan I follow along if I'm using a different operating system than the one shown in the video? I'm on Linux but the demo uses macOS.
-
Demo Instructor Instructor 2 months agoAbsolutely! All commands and tools used in this course are cross-platform. The only difference is keyboard shortcuts (Ctrl on Linux/Win vs Cmd on Mac) and how you open the terminal. The code itself runs identically.
-
-
Demo Student 2 months agoHi! I'm getting confused with the second example in this lesson — when you call the function inside the loop, does it create a new scope each time? Or share the outer one?
-
Demo Instructor Instructor 2 months agoGreat question! Each function call creates a new scope. So variables declared inside the function don't leak to the loop's scope. If you need to share state, declare the variable in the outer scope before the loop. There's a deeper dive in the next module under 'Closures'.
-