Git Product home page Git Product logo

30-seconds-blog's Introduction

Hi there ๐Ÿ‘‹

I'm Angelos Chalaris, a web developer from Athens, Greece. I love programming both as a job and as a hobby and I spend a lot of time writing code and testing out new ideas. I work mainly with web technologies such as JavaScript, HTML, CSS, Node.js, React and SCSS, and I occasionally dabble in Python, Astro and Svelte.

My work ๐Ÿ”ญ

Contact ๐Ÿ“ซ

You can reach me via email at [email protected]

30-seconds-blog's People

Contributors

30secondsofcode avatar chalarangelo avatar dermyhughes avatar djave-co avatar dominikbulaj avatar fejes713 avatar kakiang avatar leo-diehl avatar nick-w-nick avatar trinityyi avatar udaya28 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

30-seconds-blog's Issues

Update infographics with new palette

We've updated our color palette in recent months, however old blog infographics still have white backgrounds. Let's fix this.

Affected images:

  • typography-example
  • js-variable-scope
  • js-array-methods
  • flexbox-diagram
  • chrome-debug-node - could use some framing

Unfinished Object Context Example in blog_posts/javascript-this.md

@Chalarangelo I'm not entirely sure what was meant to be done on lines 58-66 of javascript-this.md or else I'd have fixed it and opened a pull request, but it seems unfinished and doesn't return what it claims to.

The section in question is as follows:


Object context

When a function is called as a method of an object, this refers to the object the method is called on. This applies to methods defined anywhere in the object's prototype chain (i.e. own and inherited methods).

const obj = {
  f: function() {
    return this;
  }
};

console.log(f()); // { foo }

While claiming to return { foo }, as currently written it returns ReferenceError: f is not defined. However, even obj.f() wouldn't return { foo }, so I just imagine this example wasn't quite finished when this page was submitted and got overlooked.

semantic error in javascript-closures

I would like to suggest the adjustment of the initCounter's returned method "reset".
By what I've interpreted, it should've reset the value to the initial, please correct me if I got it wrong

current

const initCounter = (start = 0) => {
  let value = start;
  return {
    get: () => value,
    increment: () => ++value,
    decrement: () => --value,
    reset: () => start
  };
}

proposed

const initCounter = (start = 0) => {
  let value = start;
  return {
    get: () => value,
    increment: () => ++value,
    decrement: () => --value,
    reset: () => value = start 
  };
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.