← Lessons CREATOR PATH

🎬 String Lab

Lesson 13 of 20
🎬
Themed Universe
Movie Studio
Strings are movie scripts — we write, edit, and transform them! 🎬✨
🎯 Missions
Make 3 different movie title transformations today!
Use ALL 4 string tricks: .length, .toUpperCase(), .toLowerCase(), .includes()
Solve all 5 studio challenges — no hints!
● ● ● script.js JavaScript
1

        
      
movie screen LIVE
Click ▶ Run to see your movie script output…

🎬 Studio Puzzle Step 1 of 5

Create a movieTitle variable and print its .length!

💡 Hint: Declare: var movieTitle = "The Amazing Adventure"; then console.log(movieTitle.length);

🎬 String Lab

In Lesson 12 you taught your code to make decisions with if/else. Today at the 🎬 Movie Studio, you'll learn to work with text — called strings in JavaScript! Strings are words, sentences, movie titles, actor names — any text wrapped in quotes. You'll measure them, shout them, whisper them, and search inside them. Let's turn your code into a text wizard!

🎬 String Toolkit
"Hello".length→ 5 (counts characters)
"hello".toUpperCase()→ "HELLO" (all caps)
"HELLO".toLowerCase()→ "hello" (all lowercase)
"Hello".includes("ell")→ true (check if text contains)
`Hello ${name}!`→ template literal with variable!
📝 Strings are text wrapped in quotes: "Hello", 'Movie'
📏 .length tells you how many characters a string has
🔊 .toUpperCase() shouts it! .toLowerCase() whispers it
🔍 .includes() checks if a word is inside another string
🔤 Template literals use backticks ` and ${var} to insert variables!