Skip to content

Commit 438b99e

Browse files
authored
Merge pull request #281 from Benappiahpoku/patch-18
Update Question 424 TOC and 431 README.md
2 parents 897d523 + ce67f39 commit 438b99e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@
461461
| 421 | [How to invoke an IIFE without any extra brackets?](#how-to-invoke-an-iife-without-any-extra-brackets) |
462462
| 422 | [Is that possible to use expressions in switch cases?](#is-that-possible-to-use-expressions-in-switch-cases) |
463463
| 423 | [What is the easiest way to ignore promise errors?](#what-is-the-easiest-way-to-ignore-promise-errors) |
464-
| 424 | [How do style the console output using CSS?](#how-do-style-the-console-output-using-css) |
464+
| 424 | [How do you style the console output using CSS?](#how-do-you-style-the-console-output-using-css) |
465465
| 425 | [What is nullish coalescing operator (??)?](#what-is-nullish-coalescing-operator-) |
466466
| 426 | [How do you group and nest console output?](#how-do-you-group-and-nest-console-output) |
467467
| 427 | [What is the difference between dense and sparse arrays?](#what-is-the-difference-between-dense-and-sparse-arrays) |
@@ -7789,7 +7789,7 @@
77897789
77907790
424. ### How do style the console output using CSS?
77917791
7792-
You can add CSS styling to the console output using the CSS format content specifier %c. The console string message can be appended after the specifier and CSS style in another argument. Let's print the red the color text using console.log and CSS specifier as below,
7792+
You can add CSS styling to the console output using the CSS format content specifier %c. The console string message can be appended after the specifier and CSS style in another argument. Let's print the red color text using console.log and CSS specifier as below,
77937793
77947794
```js
77957795
console.log("%cThis is a red text", "color:red");
@@ -7999,7 +7999,7 @@
79997999
}
80008000
customElements.define("custom-element", CustomElement);
80018001
```
8002-
2. **Use custome element just like other HTML element:** Declare your custom element as a HTML tag.
8002+
2. **Use custom element just like other HTML element:** Declare your custom element as a HTML tag.
80038003
80048004
```javascript
80058005
<body>

0 commit comments

Comments
 (0)