DTE Yr7 T4 Flashcards
DTE
What is camel case?
This is when you have a lower case at the start and then a capital letter at the start of each new word and then finish the word in lowercase (e.g. camelCaseAva)
What is kabab case?
This is when you have a little Squier in the words. It is when you have a little - to connect your words.
(e.g. lbl-ava-example)
What is snake case?
This is when you have a underline connecting the words (e.g. snake_case_)
What do you use to write something to show something?
Write text, consol. log!
What is a consol area/ what does it do?
A consol area is where you receive the era in your work so if there is a era than it will tell you in the consol area.
What does the IF statement do?
The IF statement is what you use to tell the program to do IF something happens to be true (e.g. If lives == 20 go to you win page)!
What is a Boolean expression?
This is when….
What does the ELSE statement do?
This is when if your IF statement is FALSE than you use the ELSE statement to get your answer.
When do you use a var (variable) block.
You use this when you want to create a new variable without without a value.
What is the set Text block?
The set text block is when you can have any element (widget) that has a text property can be alternated with the set text block.
What is the acronymically topical consol trigger replant system?
HAVE A BREAK HAVE A KIT KAT! GIRLY YOU’RE DOING WELL DON’T WORRY! 🎄🤩🥳🎅🤶🧑🎄🎄🎄🎄🎄
Use camel case to say (button home)
btnHome
Use kabab case to say (label home screen)
lbl-home-scrn
what does the 1 = sign mean?
When you have one equal sign you use that to say waht ever is in one box will now be put into the other (e.g. a=b
a=2
b=3
then a would have 3 in instead of 2)
what does 2 = signs mean?
This is when for example house has 20 rooms (house rooms==20)