Challenge: Concatenating Strings
Завдання
Swipe to start coding
You're building a welcome message system for a website that greets users by their name. To do this, you'll combine multiple strings into one complete message.
- Declare and initialize a variable named
usernamewith the value"Alice". - Declare and initialize another variable named
welcomeMessagethat combines the following parts in this exact order:"Hello, "- the variable
username "! Welcome to our website."
- Print (
console.log) the contents ofwelcomeMessage.
Expected output is:
Hello, Alice! Welcome to our website.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 28
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 1.33
Challenge: Concatenating Strings
Свайпніть щоб показати меню
Завдання
Swipe to start coding
You're building a welcome message system for a website that greets users by their name. To do this, you'll combine multiple strings into one complete message.
- Declare and initialize a variable named
usernamewith the value"Alice". - Declare and initialize another variable named
welcomeMessagethat combines the following parts in this exact order:"Hello, "- the variable
username "! Welcome to our website."
- Print (
console.log) the contents ofwelcomeMessage.
Expected output is:
Hello, Alice! Welcome to our website.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 28
single