Search
Items tagged with: HTML
New Kitten release
• Fixes issue with routes where dynamic routes with file names that had more than two extensions were not recognised as the correct type of route. e.g., A route called index.xml.get.js would previously have been treated as a static route instead of a dynamic GET route.
For more details, see the Valid File Types section of the Kitten reference¹ and the Dynamic Pages tutorial².
Enjoy!
💕
¹ kitten.small-web.org/reference…
² kitten.small-web.org/tutorials…
#Kitten #SmallWeb #server #framework #kit #SmallTech #routing #NodeJS #JavaScript #HTML #CSS #htmx #WebSocket #hypermedia #StreamingHTML #web #dev
site/admin🔒/news/index_[optional-postId].page.js at kitten
site - Small Technology Foundation web site.Codeberg.org
😺 Fun Kitten¹ fact
Did you know that Kitten has a built-in HTML validator that checks your markup for validity and accessibility issues, etc.?
You’re informed of validation errors in not just terminal but also in your browser’s web developer panel. And, if you select the “Show validation issues on page” link from a validation error in the web developer panel, Kitten will show the validation errors in place on your page.
This helps me catch issues with my markup all the time and I hope it helps you too.
Enjoy!
💕
#Kitten #SmallWeb #HTML #HTMLValidator #validation #web #dev #SmallTech #NodeJS #JavaScript #CSS
Now presenting
Make Your Own Website
web.pixelshannon.com/make
This guide is intended to help beginners make their first website with HTML/CSS.
I originally wrote it for my daughter, then 12 years old, so she could make a website for a school project. I think it is now complete-enough for anyone to follow to get started making a personal or hobby site.
Let me know what you think!
#MakeYourOwnWebsite #PersonalSites #PersonalWeb #SmallWeb #HTML #CSS #IndieWeb #WebDev #homepage #SmolWeb
New @small-web/kitten release (version 5.2.0)
Adds missing types on `KittenRequest` and `KittenResponse` interfaces (the missing request and response helpers).
• `is()`: check for request type. e.g., `request.is('html')` or `request.is('json')` (you can also use the full mimetype).
• `json()`: JSON.stringify passed data and end response with inline JSON.
• `jsonFile()`: JSON.stringify passed data and end response with JSON attachment and optional file name.
• `file()`: end response with passed file data and optional file name and mime type.
• `withCode()`: end response with passed status code and optional body.
Kitten request and response helpers documentation:
kitten.small-web.org/reference…
Kitten type safety tutorial:
kitten.small-web.org/tutorials…
Enjoy!
💕
#Kitten #SmallWeb #SmallTech #HTTP #TypeSafety #JavaScript #HTML #CSS #JSON #web #dev
May I just say so myself that I‘m loving playing with Kitten¹ to build Domain² (shown below) and Place³.
¹ kitten.small-web.org
² codeberg.org/domain/app
³ codeberg.org/place/app
#Kitten #Domain #Place #SmallWeb #SmallTech #humanRights #democracy #technology #peerToPeer #peerToPeerWeb #web #dev #JavaScript #HTML #CSS #NodeJS #htmx #WebSocket #objectOriented #eventBased #hypermedia
Just migrated from my mastodon.social account to the post.lurk.org instance (thank you @rra for the invite and the ressources ) So... here is my little #Introduction post (also a post of me searching for an internship lol) :
Hi, I'm Zineb, I am a moroccan girly pop who loves to code, to draw and to sing :3
Currently in the first year of my Master's degree in Communication at the Ésac art school in Cambrai (france), I'm searching for an #internship in the field of #graphicdesign, especially with collectives enthusiastic about #webtoprint and #opensource tools (like me!).
I mainly code with #HTML and #CSS, and I am currently learning #javascript.
I can speak fluently french, english and arabic. I also have some basic knowledge in spanish.
In terms of location, I'm seeking an internship in #Belgium, the #Netherlands, #Germany or the region of Paris.
(Oh, forgot to mention that I can have an erasmus/internship grant )
Here's the link to my website: zinebammar.neocities.org/
retooting is helpful ❤
💡 CSS Tip!
Transform the native range slider into an interactive star rating component using a few lines of CSS and 0 JavaScript.
✅ Single-element
✅ No inline styles
✅ Less than 15 declarations
✅ Using the new attr() function 🥳
Demo: codepen.io/t_afif/full/GgKYbee via @codepen
Online Version: css-tip.com/star-rating/
A single-element star rating component (without JS)
Using a few lines of code to transfom the native range slider into a star rating componentcss-tip.com
So last night, while recording the preview of Kitten’s¹ improved component model², I made a silly mistake (copying raw HTML into a JavaScript function instead of wrapping it in a kitten.html`` tagged template, easy to do when you’re refactoring to pull out components from pages).
Then, once I figured out what I’d done, I made another one by forgetting to return the value from the function (easy to do when you’re used to using one-line closures as render functions).
I would have caught both of those so much faster if Kitten had helpful error messages for those two pitfalls. And guess what, this morning, it does :)
Attached are screenshot showing the before and after error messages.
Enjoy!
💕
¹ kitten.small-web.org
² Scroll up the thread to watch the video.
#Kitten #SmallWeb #PeerToPeerWeb #web #server #framework #platform #design #usability #errorMessages #authoring #dev #JavaScript #HTML #CSS #htmx #hypermedia #WebSocket #StreamingHTML #SmallTech
Fund Small Technology Foundation
We’re a tiny team of two funded by individuals like you. Your patronage goes towards keeping a roof over our heads as we build a better future for the Internet.Fund Small Technology Foundation
If you've been thinking about setting up your own website, you should check out neocities.org and glitch.com, which will let you make one for free.
Not interested in diving into HTML and CSS quite yet?
Here's a little tool I made that can help!
And some more resources to get you started: stefanbohacek.com/blog/resourc…
#PersonalWebsite #website #indieweb #html
Adding ALT text to article thumbnails on social media
Learn the basics, get inspired, and grow your website.Stefan Bohacek (stefanbohacek.com)
RT @vitalyf@twitter.com
A11yphant (a11yphant.com), a great little tool to learn accessibility, one step at a time, with a few easy, medium and hard challenges. #accessibility #html #css
🐦🔗: twitter.com/vitalyf/status/159…
a11yphant
a11yphant is the easy way to learn the basics of web accessibility. Learn step by step by completing short, interactive coding challenges and quizzes.a11yphant.com
(Nitter addon enabled: Twitter links via https://nitter.privacytools.io)