home.social

#vanillajavascript — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vanillajavascript, aggregated by home.social.

fetched live
  1. 🚀 Oh joy, another "How to Build a Rocket with a Toothpick" guide! 🧩 Let's reinvent the wheel with Vanilla JavaScript, because frameworks are so mainstream. 🥱 Prepare for a Friday night filled with code snippets and zero productivity!
    jsdev.space/howto/reactive-van #HowToBuildARocket #VanillaJavaScript #CodingHumor #FridayNightCoding #ZeroProductivity #HackerNews #ngated

  2. 🚀 Oh joy, another "How to Build a Rocket with a Toothpick" guide! 🧩 Let's reinvent the wheel with Vanilla JavaScript, because frameworks are so mainstream. 🥱 Prepare for a Friday night filled with code snippets and zero productivity!
    jsdev.space/howto/reactive-van #HowToBuildARocket #VanillaJavaScript #CodingHumor #FridayNightCoding #ZeroProductivity #HackerNews #ngated

  3. I refactored another one of my small intranet tools to get rid of jQuery. I have to say, it's a bit of a chore to write document.getElementById() so much. jQuery's $("#...") is so much shorter. Likewise, addEventListener() is longer than on(). That sucks a bit.
    But apart from that it's nice to remove a framework and lots of <div> tags and replace it with techniques that browsers have built into them like CSS (or accordion widgets using the <details> tag).
    #vanillaJavaScript

  4. I refactored another one of my small intranet tools to get rid of jQuery. I have to say, it's a bit of a chore to write document.getElementById() so much. jQuery's $("#...") is so much shorter. Likewise, addEventListener() is longer than on(). That sucks a bit.
    But apart from that it's nice to remove a framework and lots of <div> tags and replace it with techniques that browsers have built into them like CSS (or accordion widgets using the <details> tag).
    #vanillaJavaScript

  5. Just released a free little puzzle.
    henspace.itch.io/zupzle-geomet

    I wrote the game to have a little practice writing a vanilla JavaScript game. I also intend to release a version using my drawings. Sort of like an interactive portfolio.

    #indiedev #puzzle #gamedev #itch_io #itchio #vanillajavascript #html5

  6. Just released a free little puzzle.
    henspace.itch.io/zupzle-geomet

    I wrote the game to have a little practice writing a vanilla JavaScript game. I also intend to release a version using my drawings. Sort of like an interactive portfolio.

    #indiedev #puzzle #gamedev #itch_io #itchio #vanillajavascript #html5

  7. In preparation for the new SPA I've spent 2-3 days learning about web components and refactoring the jQuery front-end to a tiny PHP web app using #vanillaJavaScript. That blog in the previous post and the Mozilla Dev Network docs were all I needed but it was a lot of open tabs and back-and-forth between them 😃

    Plain JS is quite verbose at times compared to jQuery. Especially with AJAX requests. Also had to learn about CORS, promise objects... but I'm confident to tackle more now.

    #WebDev

  8. In preparation for the new SPA I've spent 2-3 days learning about web components and refactoring the jQuery front-end to a tiny PHP web app using #vanillaJavaScript. That blog in the previous post and the Mozilla Dev Network docs were all I needed but it was a lot of open tabs and back-and-forth between them 😃

    Plain JS is quite verbose at times compared to jQuery. Especially with AJAX requests. Also had to learn about CORS, promise objects... but I'm confident to tackle more now.

    #WebDev

  9. As neat as #jquery or #cheerio is, I miss the abilities of #VanillaJavaScript in the browser.

    I don't remember how many times I tried to grab certain properties, which would have been available in the browser, but don't exist in cheerio.

    And it is a bit annoying to constantly put various html elements into the cheerio wrapper class to get access to the various functionalities it offers. Thus instead grabbed the minimal viable data and just worked further with arrays.

    #javascript

  10. As neat as #jquery or #cheerio is, I miss the abilities of #VanillaJavaScript in the browser.

    I don't remember how many times I tried to grab certain properties, which would have been available in the browser, but don't exist in cheerio.

    And it is a bit annoying to constantly put various html elements into the cheerio wrapper class to get access to the various functionalities it offers. Thus instead grabbed the minimal viable data and just worked further with arrays.

    #javascript

  11. I’m running a marathon on Sunday and have been tapering over the past two weeks or so — reducing the amount of training and increasing the amount of rest. So I built a thing to keep me virtually running and it took so much time! Hopefully, I can run a marathon quicker :) lgc.li/blog/vanilla-marathon #EdinburghMarathonFestival #vanillaJavaScript

  12. With only 11 days to go, there's no time left to train for the Edinburgh Marathon so I built this over the weekend as the final part of my preparations: vanilla-marathon.logicalcobweb

    #EdinburghMarathonFestival #MacmillanCancerSupport #vanillaJavaScript

  13. #Development #Techniques
    JavaScript events are the shit · Cool things that you can achieve with just plain old events ilo.im/14dt9z

    “You might not need an expensive or heavy library!”

    _____
    #WebDevelopment #WebDev #Frontend #Code #JavaScript #VanillaJavaScript #Events

  14. #Development #Techniques
    JavaScript events are the shit · Cool things that you can achieve with just plain old events ilo.im/14dt9z

    “You might not need an expensive or heavy library!”

    _____
    #WebDevelopment #WebDev #Frontend #Code #JavaScript #VanillaJavaScript #Events