项目介绍

Metroxe/one-html-page-challenge 是一个托管在 GitHub 上的开源项目,主要使用 HTML 编写,目前获得 1.4k 个 Star、453 次 Fork。

仓库全名
Metroxe/one-html-page-challenge
Star 数
1.4k
Fork 数
453
未关闭 Issue
3

README 摘要

The goal is to create anything you want within 1 single html file. Practice your skills with the barebones of web development. How creative can you be with such restrictions? View Submissions Rules You must write all of your code in 1 single HTML file. Your file must be less than 1mb (measured by the file size on github). You cannot import any external files (this means you cannot import images, stylesheets or js…

完整内容见 GitHub 原始 README 或本页 。

常见问题

one-html-page-challenge 用什么语言开发?

主要使用 HTML 编写,目前有 1.4k 个 Star。

如何获取 one-html-page-challenge 的源码?

可以直接克隆仓库:git clone https://github.com/Metroxe/one-html-page-challenge.git,默认分支为 master;安装与运行步骤见仓库 README。

one-html-page-challenge 最近还在维护吗?

仓库最近一次更新为 9月21日,当前有 3 个未关闭 Issue;Star 数为 1.4k,可作为社区活跃度的参考。

README

One HTML Page Challenge

The goal is to create anything you want within 1 single html file. Practice your skills with the barebones of web development. How creative can you be with such restrictions?

View Submissions

Rules

  • You must write all of your code in 1 single HTML file.
  • Your file must be less than 1mb (measured by the file size on github).
  • You cannot import any external files (this means you cannot import images, stylesheets or js files from external sources).
  • Due to the nature of hiding lots of functionality behind APIs, you cannot have any incoming or outgoing network requests.
  • You are allowed to use libraries, however the library must be hard coded into a script tag and still must fit under the 1MB file size. (I suggest using a cdn and replacing with hardcoding the minified library at the end, or use JSCompress).

How to Submit

  1. Fork the repository.
  2. Add your html file to the /entries directory with required meta tags in the <head> section:
    <meta name="description" content="Brief description of your entry">
    <meta name="author" content="Your Name">
    <meta name="github" content="your-github-username">
    
  3. Commit to your forked repo.
  4. Make a pull request to master from your forked repo.

Note: The entries.js file is now automatically generated from your HTML meta tags! No manual editing required.

* You may submit as many entries as you’d like.

Publicity

If you write a blog or post about the challenge, feel free to add to the list

Stargazers over time

Contributors

评论

暂无评论