DTE Term4 Flashcards

1
Q

What is camelCase/how do you do it?

A

camelCase is where you put an uppercase letter on all of the words after the first one. The first word has a lower case start.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What are the three types of ways to label buttons, images, etc.

A

camelCase
snake_case
kebab-case

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is snake_case/how do you do it?

A

where all the words are joined by _ (underscores) and there are no capital letters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is kebab-case/how do you do it?

A

where you join all the words with - and there are no uppercase letters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Does the abbreviation for the type (e.g. txt, img, lbl) go at the start or end of the id?

A

The start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly