CODE
CINEMA
EDITOR
PREVIEW
Tip:
Use
---
to separate scenes/slides.
GENERATE CINEMA
# Welcome to Code Cinema This is a tool to visualize your code explanations. ```javascript // Function to greet the user function greet(name) { return `Hello, ${name}!`; } ``` --- ## Breakdown: Step 1 First, we define a standard function. Notice the `name` parameter. - It accepts a string - It returns a template literal --- ## Breakdown: Step 2 We can invoke this function easily. ```javascript const message = greet("Developer"); console.log(message); // Output: Hello, Developer! ``` Final result is clean and readable.
SCENE 01 / 03
00:00
Back to Edit