HTML Details and Summary: Accordion Without JavaScript (Tested)
Two HTML elements give you a keyboard-friendly accordion with no JavaScript. Open one at a time with name, swap the arrow for +/−, animate it, and fix the screen reader trap.
Another sample article. It explains the basic parts of a page I am practicing in class and at home.
Sample article. This note demonstrates the blog layout. It is not a published achievement.
This sample note shows a second article card, a category, and related posts. I wrote it as layout practice. It does not describe a completed website for a client.
An HTML page starts with a document type, a head, and a body. The head holds the title. The body holds the words and pictures people actually see.
<main>
<h1>Mahir Faysal</h1>
<p>Student and aspiring developer.</p>
</main>CSS is how I change spacing, color, and layout. I am still learning how to keep a page comfortable on a phone and on a large screen.
0%