0
0
Firebasecloud~10 mins

Preview channels in Firebase - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a preview channel with Firebase Hosting.

Firebase
firebase hosting:channel:create [1]
Drag options to blanks, or click blank then click option'
Apreview-123
Bserve
Cinit
Ddeploy
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'deploy' instead of a channel name.
Using 'init' or 'serve' which are unrelated commands.
2fill in blank
medium

Complete the command to deploy to a specific preview channel.

Firebase
firebase hosting:channel:deploy [1]
Drag options to blanks, or click blank then click option'
Apreview-123
Bmain
Cproduction
Ddefault
Attempts:
3 left
💡 Hint
Common Mistakes
Using branch names like 'main' or 'production' instead of the preview channel name.
Using 'default' which is not a preview channel.
3fill in blank
hard

Fix the error in the command to list all preview channels.

Firebase
firebase hosting:channel:[1]
Drag options to blanks, or click blank then click option'
Adeploy
Bshow
Clist
Dcreate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'show' which is not a valid subcommand here.
Using 'deploy' or 'create' which perform different actions.
4fill in blank
hard

Fill both blanks to delete a preview channel safely.

Firebase
firebase hosting:channel:[1] [2]
Drag options to blanks, or click blank then click option'
Adelete
Bpreview-123
Cremove
Dpreview-xyz
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' instead of 'delete' as the command.
Using wrong channel names that do not exist.
5fill in blank
hard

Fill all three blanks to create, deploy, and open a preview channel.

Firebase
firebase hosting:channel:[1] [2] && firebase hosting:channel:[3] [2] --open
Drag options to blanks, or click blank then click option'
Acreate
Bpreview-abc
Cdeploy
Dlist
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'list' instead of 'deploy' for the second command.
Using different channel names in create and deploy commands.