Skip to main content

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.

kitten.small-web.org

For more details, see the Valid File Types section of the Kitten reference¹ and the Dynamic Pages tutorial².

Enjoy!

:kitten:💕

¹ 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



😺 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:💕

¹ kitten.small-web.org

#Kitten #SmallWeb #HTML #HTMLValidator #validation #web #dev #SmallTech #NodeJS #JavaScript #CSS


@stux I'm trying to #embed my #Pixey profile on my #website, but I get this message when I try using the embed code I found in the old interface of my profile. Is there anything I can do about this?

#feditips #webdesign #html



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:💕

#Kitten #SmallWeb #SmallTech #HTTP #TypeSafety #JavaScript #HTML #CSS #JSON #web #dev





Just migrated from my mastodon.social account to the post.lurk.org instance (thank you @rra for the invite and the ressources :unwanted_love:) 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 :unwanted_smirk:)
Here's the link to my website: zinebammar.neocities.org/

:boost_anim_vanilla: retooting is helpful ❤

#htmltoprint #cssprint #graphicdesign


💡 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: @codepen

Online Version: css-tip.com/star-rating/

#CSS #HTML


Adding more beautiful error messages to Kitten. These should help make it easier to recover from common errors while authoring.

kitten.small-web.org

#Kitten #errorMessages #design #usability #authoring #SmallWeb #SmallTech #HTML #CSS #JavaScript #NodeJS #server #framework #platform #web #dev


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:💕

¹ 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



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!

simplepagebuilder.app

And some more resources to get you started: stefanbohacek.com/blog/resourc…

#PersonalWebsite #website #indieweb #html


I tried a few and they all sounded like alt-rock band names 😄

#css #color #html #web


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…


(Nitter addon enabled: Twitter links via https://nitter.privacytools.io)