Development of Firefox OS application programming using HTML + CSS + JS

Source: Internet
Author: User

The following is an application development practice for Firefox OS. Developers only need to have basic HTML, CSS, and JavaScript knowledge.
This application is a source code application on github, which allows you to quickly switch from web programming to Firefox OS programming for inspiration and help.
Next, create the first file, manifest. webapp.
 

{  "name": "Pocket Kitten",  "description": "Calm yourself with a kitten",  "launch_path": "/index.html",  "developer": {    "name": "Ruth John",    "url": "https://5fox.cn"  },  "icons": {    "128": "/style/icons/pocket-kitten@2x.png",    "64": "/style/icons/pocket-kitten.png"  },  "orientation": "portrait-primary"}

Next, load the html file.
 

<!DOCTYPE html>


The CSS and javascript files will not be pasted, and can be downloaded in the source code. below is the running

 


Source code: http://5fox.cn/forum.php? Mod = viewthread & tid = 211.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.