Beautify your Blackboard

2024/4/22 html

What is the Blackboard?

Wikipedia

How to beautify your Blackboard?

  1. Click the “Add plugins” buttton at the left-up conner of the root page;

截屏2024-04-22 11.10.40

截屏2024-04-22 10.41.16

  1. Add some plugins you like, of course including Textpad;
  2. Return to the root page, click the “Setting” icon at the right conner of the Textpad;

image-20240422111548934

  1. Input your html code.

截屏2024-04-22 11.16.35

​ If you haven’t not learn about html, you can use my demo:

                    
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>图像画廊</title>
</head>
<body>
<header>
<h1>我的图像画廊</h1>
</header>
<section>
<h2>精选图像</h2>
<img src="your image url" alt="描述第一张图像" width="500">
</section>
</body>
</html>
html

[!NOTE]

Remember to replace the image link by your favorite pictures or you can use following API to genrerate random pictures. Then scale your pictures to the perfect size by adjusting the width.

Random picture API

Loliapi

                    
https://www.loliapi.com/acg/
url

If you need more information, you should vist https://docs.loliapi.com/.

Yifan’s API

                    
https://beuatifyblackboard.azurewebsites.net/generate-image
url

A tiny WebApp on Azure powered by Flask, which integrates picture and text content. Due to the usage limit of Azure, you are not supposed to use it. You can build similar API yourself.

Bulid your own API

Since the Blackboard use https, your API should support https, or your browser may block your request.

Summary

Above all, we are talking about how to use the Textpad to beautify our Blackboard. One of the advantages is that it does not require any JavaScript or any browser plugin, which guarantees its security.

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.5