How to send five (5) different types of log messages, using AngularJs

in utopian-io •  7 years ago  (edited)

There are times, when we would like to send informations to users browser console, so as to pass some message to them (especially to web developers who knows what a console is and knows how to get there). Well we can achieve this using the AngularJs to send informations to users browser console

What Will I Learn ?

  • How to use the 'ng-cintroller' attribute
  • How to create all kind of log messages that will appear on users console. such as log,error,info,warn and debug
  • How to get to view the log messages inside a browser

Requirements

  • Plnkr Program(to edit and test our work online)
  • Little knowledge on html And;
  • knowledge on AngularJs

Difficulty

  • Basic

Description

In this video tutorial, I created 5 types of log messages : log,error,info,warn and debug.
All these were achieved using the AngularJs...

The above log messages can be used in sending messages to users and to web developers who might want to view the source code of our work.

It's not compulsory to use the exact messages I used in the tutorial.... You can customize yours to your taste...

To go to the console page to view the log messages, go to settings, more tools, now select developers tools now you should see Elements, Console, Sources, Network and Performance

Just click on the console and view down till you see the log messages

My Operating System

Windows 7

Video Tutorial - English Language - 720p

Length ~ 13:07

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

  • since you just wrote the functions, there is nothing more than the usage of the functions. This chapter is considered trivial . thanks for your contribution but make sure to provide more good quality work next time .

You can contact us on Discord.
[utopian-moderator]

Hey @cha0s0000, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

nice, thanks. I'll try it out :)

You're welcome.......

Cool 😎!!! I think am gonna use this on some of my projects 👍

Great work you doing @beckysophie.
I love seeing the female folks take up roles in STEM.

Thank you Daniels