CodeNewbie Community 🌱

Cover image for April 22nd, 2021: What did you learn this week?
Nick Taylor
Nick Taylor

Posted on

April 22nd, 2021: What did you learn this week?

It's that time of the week folks. So wonderful code newbies, what did you learn this week? It could be programming tips, career advice etc.

![Deadpool and his cohorts chatting](https://media.giphy.com/media/w7fJO4TOqiaSQ/giphy-downsized-large.gif)

Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure. πŸ‘‡πŸ‘‡πŸ»πŸ‘‡πŸΌπŸ‘‡πŸ½πŸ‘‡πŸΎπŸ‘‡πŸΏ

#todayilearned

Latest comments (3)

Collapse
 
r002 profile image
Robert Lin

I learned about randomuser.me this week! A great resource to get random user information like fake names, photos, dobs, phone numbers, and addresses! You truly learn something new every week! πŸ˜„πŸ‘

Collapse
 
nickytonline profile image
Nick Taylor • Edited

Awesome!

Hacker man from Kung Fury putting on a Nintendo Power glove

I wonder if it uses faker.js under the hood. πŸ€”

GitHub logo Marak / faker.js

generate massive amounts of realistic fake data in Node.js and the browser

faker.js - generate massive amounts of fake data in the browser and node.js

Faker.js

Build Status Coverage Status

npm version

OpenCollective OpenCollective Gitter chat

Demo

rawgit.com/Marak/faker.js/master/e...

Faker Cloud

Don't have a local development setup ready?

Try our hosted version of Faker at fakercloud.com/api

github.com/faker/faker-cloud

Usage

Browser

    <script src = "faker.js" type = "text/javascript"></script>
    <script>
      var randomName = faker.name.findName(); // Caitlyn Kerluke
      var randomEmail = faker.internet.email(); // Rusty@arne.info
      var randomCard = faker.helpers.createCard(); // random contact card containing many properties
    </script>
Enter fullscreen mode Exit fullscreen mode

Node.js

    var faker = require('faker');
    var randomName = faker.name.findName(); // Rowan Nikolaus
    var randomEmail = faker.internet.email(); // Kassandra.Haley@erich.biz
    var randomCard = faker.helpers.createCard
…
Enter fullscreen mode Exit fullscreen mode
Collapse
 
r002 profile image
Robert Lin

This is cool; I didn't know about faker.js! Thanks for sharing! πŸ™