What is CodePen?

What is CodePen?

Every front-end developer needs to test a small piece of code and creating a new git branch is too much of a hassle or attempting to change production code would be too risky. So what can you do?

CodePen is an online code editor where developers can create code snippets, creatively named "pens", and test them. CodePen supports plenty of different languages aside from the typical HTML, CSS, and JavaScript. Inside of the settings the source compiler can be changed to process many different languages:

  • Haml or Jade for HTML markup
  • SASS or LESS for stylistic editing
  • CoffeeScript, TypeScript, and any other library you can provide external link for

This allows for very quick access to editing, most commonly, small pieces of code and testing them on the web. So now you have created a beautiful animation to display your CSS talents and you want to insert into your portfolio. How do you do it? You can embed the pen using their embed tool which has options for iframe, HTML, and WordPress. Unfortunately, LinkedIn does't allow embedding iframes so here is a link to an example.

You could then send the pen link to a friend or colleague and have them work on it as well. There are many other options, for a monthly fee, to improve collaboration between colleagues. Other features that make CodePen great are:

  • User interface
  • Fork pens (similar to Git)
  • Save pens to profile and access anywhere
  • Share on social media

If you are a front-end developer I highly recommend checking out CodePen. There are many other similar resources out there, but CodePen as been a better asset for me.

To view or add a comment, sign in

More articles by Jamie Gross

  • "Development" (of us)

    I began coding steadily before my freshman year of college. I watched come video tutorials of Java, knowing that was…

    1 Comment
  • What is Ionic?

    "Ionic is the beautiful, open source mobile SDK for developing native and progressive web apps" (Ionic). Hybrid…

  • Learn HTML and CSS Early in Your Career

    Most developers know of, have heard of, or have dealt with some extent of HTML or CSS. For those who don't know HTML is…

  • Firebase, a BaaS

    Firebase is a Baas which "..

  • What is StackOverflow?

    StackOverflow is sometimes classified as forum, but it is much more than that. It is a community designed to help…

  • Angular 2 - Learn It

    Angular 1, commonly referred to as AngularJS is a tremendously popular framework created by Google and is used by…

Explore content categories