Enhancing my JavaScript knowledge bit by bit - today with a fun short clip by @cferdinandi and @kevinpowell; explaining var, let, and const - and when/where to use them for declaring a variable.
I've been wading into code/APIs I have zero experience with and making remarkable progress. I'm thinking of it as creating a good starting tutorial.
I'm still giving it fairly tiny utility programs (I am just prototyping crazy stuff) I'm not building anything complex. But as a #UX Designer the fact that I can build a working prototype in #javascript or #processing so damn fast is remarkable.
Last month's exclusive video at The Spicy Web demonstrating a CodePen example of Signals—what they are, how they work, and why frontend frameworks and fans of vanilla #JS alike are adopting them rapid-fire—is now available to view for free! Check it out:
The problem with using a lot of computer languages is trying not to get them mixed up. Today I used a Python ‘F’ formatted string in JavaScript and it took quite a while to figure out why the IDE was complaining. #Python#JavaScript
Here be a fresh (and tingly!) take on reaching for #HTML-first tools like htmx, Turbo, Unpoly, etc. and why you might just want to (spoiler alert!) go vanilla. 🍦 After all, we have so many great browser-native APIs at our disposal now! #JavaScript#WebDev
I have a git submodule that I am adding inside the repository of my website, but I want it to be ignored, except for its README.md.
I have tried two different approaches. In both cases I am able to exclude the git submodule, but I can’t find a way to include the README and use it as a regular template.
module.exports = function (eleventyConfig) {<br></br> eleventyConfig.ignores.add('inputdir/submodule');<br></br> eleventyConfig.ignores.add('inputdir/submodule/README.md'); // added it first to be sure<br></br> eleventyConfig.ignores.delete('inputdir/submodule/README.md');<br></br>};<br></br>
Thanks to @dimitribouniol and @glacials, we're much closer to the next Cork release! I was finally able to implement the first version of a self-compiled check, which was the only requirement left for the next release.
As promised, both Dimitri and Ben will be getting either a free Cork license or the cash equivalent, as well as a special shoutout in the contributors sections once the feature is fully implemented.
@davidbures I think the pricing model for #opensource software wherein the compiled version is a one-time purchase but people can compile it themselves is smart. However, I imagine this isn't possible with interpreted languages like #Python and #JavaScript.
If you couldn't charge for compiled versions of Cork, how else would you monetize it whilst keeping the code open source?
The Evergreen Web section in Kitten’s¹ settings now has its own page too (and uses Kitten’s new Streaming HTML² workflow).
If you have the previous version of your site up somewhere, you can use the 404-to-307 technique³ to forward missing pages to your old site so as not to break the Web.