File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
3
3
Here is a Quiz for you. Please have a look at the `dark_theme` object below.
4
- Use the object destructuring, spread sytax and the rest parameter to achieve
5
- follwoings :
4
+ Use the object destructuring, spread syntax and the rest parameter to achieve
5
+ the following :
6
6
7
- 1. Extract the value of the `font` property and assign it to variable.
8
- 2. Extract the value of the `font` property and assign it to variable with the
7
+ 1. Extract the value of the `font` property and assign it to a variable.
8
+ 2. Extract the value of the `font` property and assign it to a variable with the
9
9
name `myFont`.
10
10
3. Extract the value of the button text color and link opacity.
11
11
4. Create a clone of the dark_theme object and add the `border-color` attribute
@@ -16,7 +16,7 @@ const user = {
16
16
'id': 'U_001'
17
17
}
18
18
Merge the user object to the `dark_theme` object.
19
- 6. Destructure the dark_theme object and put the link colors in a seprate object
19
+ 6. Destructure the dark_theme object and put the link colors in a separate object
20
20
using the rest parameter.
21
21
22
22
Feel free to fork the project and submit you answers by creating a file named,
You can’t perform that action at this time.
0 commit comments