JavaScript developer must know these Console methods. Nikhil karkra on December 21, 2019 In web browser Console is a tool that help us to log information associated with a web page like: error, warning, network request etc. In javascrip... Read full post Submit Preview Dismiss Collapse Expand Akash Kava Akash Kava Akash Kava Follow Author of Web Atoms Location India Education BE Computer Engineering Work Owner at NeuroSpeech Technologies Pvt Ltd Joined Jan 6, 2018 • Dec 22 '19 • Edited on Dec 22 • Edited Dropdown menu Copy link Hide How about console.log("%cWarning message", "font: 2em sans-serif; color: yellow; background-color: red;"); You could use colors in log. Collapse Expand Nick Taylor Nick Taylor Nick Taylor Follow GitHub Star and Microsoft MVP. Developer Advocate & Software Engineer who live streams tech content solo & with community friends. Email nick@nickyt.co Location Montréal, Québec, Canada Education University of New Brunswick Work Developer Advocate at Pomerium Joined Mar 11, 2017 • Dec 21 '19 Dropdown menu Copy link Hide Nice post. Definitely some great console methods to know! Logpoints are also pretty useful depending on your debugging style. They've been available in VS Code since June of last year, but they also got introduced in Chrome 73, and added in FireFox 67. Collapse Expand David Wickes David Wickes David Wickes Follow British. Strong opinions held weekly. No, that's not a typo. Teaches when and where and what I can. Location London Education MA Continental Philosophy Work Senior Software Developer at Acuris Joined Apr 13, 2018 • Dec 21 '19 Dropdown menu Copy link Hide JavaScript Developer Must Know These Console Methods 🧐 developer.mozilla.org/en-US/docs/W... and console.spec.whatwg.org/ Are worth a read. You missed out console.dir(), which is also quite a lot of fun. Collapse Expand Swastik Baranwal Swastik Baranwal Swastik Baranwal Follow Open Source Engineer Email swstkbaranwal@gmail.com Location Delhi, India Pronouns He/him Joined Oct 7, 2019 • Dec 21 '19 Dropdown menu Copy link Hide This post is really informative! Thanks for making this post. Collapse Expand Uddesh Uddesh Uddesh Follow Full Stack Web Developer, JavaScript lover ❤️, Computer Science Student. Enthusiastic about the latest technologies. Location India Education Engineering Joined Sep 15, 2018 • Dec 22 '19 Dropdown menu Copy link Hide I have use fee of them but I wasn't aware of console.group. Thanks for sharing. Collapse Expand John Dorlus John Dorlus John Dorlus Follow I straddle the line between Dev and QA to increase confidence in software. Work Sr. Software Engineer at Elastic Joined May 17, 2019 • Dec 21 '19 Dropdown menu Copy link Hide Wow. I literally knew one of these. console.log() Today I learned. Collapse Expand Divyesh Parmar Divyesh Parmar Divyesh Parmar Follow Exploring the software world with my ukulele :D Location Bhavnagar, Gujarat, India Education B.Tech ICT Work Software Engineer at Postman Inc Joined Apr 5, 2018 • Dec 21 '19 Dropdown menu Copy link Hide I just started using table few days back but this group looks even more interesting I'll start using it now Collapse Expand Juan Miguel Medina Prieto Juan Miguel Medina Prieto Juan Miguel Medina Prieto Follow Web developer becoming a consultant. Curious; focused on delivering the job and learning from new experiences. Location Málaga Work Web application developer at N/A Joined Dec 20, 2019 • Dec 21 '19 Dropdown menu Copy link Hide Very interesting, indeed. I'll try to give some of these a try when doing some work on JS Collapse Expand Saroz Kumar Saroz Kumar Saroz Kumar Follow My Name is Saroj Kumar Shrestha, a Web Developer love to develop new ideas. Location Nepal Education BCA Work Kshresthasan at Own Company Joined Nov 18, 2019 • Dec 21 '19 Dropdown menu Copy link Hide Thank you.. Collapse Expand Prafulla Raichurkar Prafulla Raichurkar Prafulla Raichurkar Follow Be kind to yourself and the world around you <3 Location India, Mumbai. Education B.E Engineering Student in Information Technology Work Software Developer Joined Sep 3, 2019 • Dec 21 '19 Dropdown menu Copy link Hide Thank you, this is so helpful 🙌🏻 Collapse Expand Alok Ranjan Alok Ranjan Alok Ranjan Follow Joined Jun 3, 2018 • Dec 26 '19 Dropdown menu Copy link Hide Very nice article about console. Thanks a lot. Collapse Expand kleene1 kleene1 kleene1 Follow Dev Location London Work Dev at Dev Joined May 21, 2019 • Dec 21 '19 Dropdown menu Copy link Hide Nice one :) will refer back for this 😄 Collapse Expand Idris Idris Idris Follow A mobile developer from Lagos, Nigeria. Location Lagos Work Android Engineer Joined Dec 8, 2019 • Dec 21 '19 Dropdown menu Copy link Hide Nice Collapse Expand SLCH SLCH SLCH Follow Joined Dec 21, 2019 • Dec 21 '19 Dropdown menu Copy link Hide Lies, react 17 isn't out yet. Collapse Expand Nikhil karkra Nikhil karkra Nikhil karkra Follow Full stack JavaScript developer, accessibility, RWD and PWD specialist and Creator of salesforcelightningweb.com Location Melbourne Education Bachelor of technology Joined May 10, 2018 • Dec 22 '19 Dropdown menu Copy link Hide It's just a demo...😂 Collapse Expand Ian Markind Ian Markind Ian Markind Follow Email ianmarkind@gmail.com Location New Jersey Education Rowan University Work Web Developer Joined Jan 18, 2019 • Dec 22 '19 Dropdown menu Copy link Hide Dope! Code of Conduct • Report abuse
How about console.log("%cWarning message", "font: 2em sans-serif; color: yellow; background-color: red;"); You could use colors in log.
Nice post. Definitely some great console methods to know!
Logpoints are also pretty useful depending on your debugging style.
They've been available in VS Code since June of last year, but they also got introduced in Chrome 73, and added in FireFox 67.
🧐
developer.mozilla.org/en-US/docs/W...
and
console.spec.whatwg.org/
Are worth a read.
You missed out
console.dir(), which is also quite a lot of fun.This post is really informative! Thanks for making this post.
I have use fee of them but I wasn't aware of
console.group. Thanks for sharing.Wow. I literally knew one of these. console.log() Today I learned.
I just started using table few days back but this group looks even more interesting I'll start using it now
Very interesting, indeed. I'll try to give some of these a try when doing some work on JS
Thank you..
Thank you, this is so helpful 🙌🏻
Very nice article about console.
Thanks a lot.
Nice one :) will refer back for this 😄
Nice
Lies, react 17 isn't out yet.
It's just a demo...😂
Dope!