Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Document Object Model (DOM) Cheatsheet
- ## Window
- ### Console
- <dl>
- <dt><pre>console.log()</pre></dt>
- <dd>Prints strings, variables </dd>
- <dd><pre>console.log("This is %cMy stylish message", "color: yellow; font-style: italic; background-color: blue;padding: 2px");</pre></dd>
- </dl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement