Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alt text #21729

Merged
merged 3 commits into from
Oct 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions files/en-us/web/api/console/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ console.log(

The text before the directive will not be affected, but the text after the directive will be styled using the CSS declarations in the parameter.

![](css-styling.png)
![Styled Text in Firefox console](css-styling.png)

You may use `%c` multiple times:

Expand Down Expand Up @@ -241,7 +241,7 @@ console.timeEnd("answer time");

Will log the time needed by the user to dismiss the alert box, log the time to the console, wait for the user to dismiss the second alert, and then log the ending time to the console:

![](console-timelog.png)
![Time log in Firefox console](console-timelog.png)

Notice that the timer's name is displayed both when the timer is started and when it's stopped.

Expand All @@ -265,7 +265,7 @@ foo();

The output in the console looks something like this:

![](api-trace2.png)
![Stack trace in Firefox console](api-trace2.png)

## Specifications

Expand Down