What is the i am bored.com button code?

1 answer

Answer

1017430

2026-02-07 15:35

+ Follow

JavaScript
JavaScript

The "I Am Bored" button code is a simple HTML and JavaScript snippet that displays a button on a web page. When clicked, it redirects users to a random site or a pre-defined list of entertaining websites. The basic code can look something like this:

<code class="language-html"><button onclick="window.location.href='http://example.com/randomsite'">I Am Bored</button>
</code>

You can customize the URL to point to various fun sites as desired.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.