S
Seoffix.com
Sign In Get Pro Membership

JavaScript & TypeScript

JavaScript Variables

Beginner JavaScript 20 XP

JavaScript Variables

Use const for values that never change and let for values that do. Template strings use backticks.

Example

const city = "Pune";
console.log(`Hi ${city}`);

Your task

Log Hello Seoffix using a const and a template string.

Hints

  1. Template strings use backticks
  2. console.log(`Hello ${name}`)

Check your understanding

Answer every question to pass.
1. Which keyword declares a value that cannot be reassigned?

Live playground

Press Run to see the result.

AI Code Explainer & Translator

Runs without any outside service.
 
Mark Complete & Earn XP
Earn 20 XP after you pass the quiz. Finish every lesson in the track to earn its certificate.
Sign in to earn XP