[HTML book] The Declaration of Independence, the Constitution, and its amendments

This year is the 250th year of the existence of the United States of America. And we who live in the US are finding it difficult to celebrate it. A lot of us are pretty busy right now trying to take our country back. Maybe later we can do a barbecue.

Some of us are finding creative ways to celebrate it, though.

Screenshot of the first screenful of The Declaration of Independence of the United States of America, with light mode and dyslexia mode toggles at the top, the title in big letters centered at the top, and in dark mode.

dark mode press brings you several important documents from US history that are vital to us and our way of life. And yet there are still many who have not read them.

Well, here they are! And you can download these right now for zero money and redistribute them freely. They are completely self-contained. The CSS is in the head section of the HTML document, and the JavaScript that makes the toggles work is in the footer. You can save them on any device with a browser and read them offline.

The Declaration of the United States of America

The Declaration in light mode.

The toggles work offline, too. And independently of each other. Playing with them can help to ameliorate boredom for the time it takes for an elevator to go down 5-6 levels if no one gets on or off.

The dyslexia mode button applies an alternate set of CSS rules to paragraph text, increasing the font size and the space between letters and words. This is to help mitigate the visual distortions some people with dyslexia experience while reading.

Dyslexia mode, with increased font size and letter- and word-spacing.

The Constitution of the United States of America

Screenshot of the first screenful of The Constitution of the United States of America, 1787. At the top, there are light mode and dyslexia mode toggles, followed by the contents menu, the title in a headline font, and the first paragraph of text.
Screenshot: The same page in dyslexia mode, with an increase in font size, letter- and word-spacing.

I also encourage you to download and share. I also have the amendments. And don’t worry, screen reader users — there’s a skip-to-content link so you don’t have to listen to the title and all the navigation.

Screenshot: The Amendments to the United States Constitution in dark mode.

This one has toggles and contents navigation at the top, too, but they don’t fit on the same screenful with the text. You get the idea.

And there is also The United States Bill of Rights, which are the first ten amendments.

Leave a Reply

Your email address will not be published. Required fields are marked *