Project template·Pro
Static landing page
A one-page site in plain HTML and CSS with a header and folding menu, a hero, a feature grid, an FAQ and a footer. Colours follow the system's light or dark setting. There is no build step and it doesn't need Linux: open index.html and tap the globe icon.
You need PocketCode Pro to install it.
If PocketCode is installed on your Android device, this opens the page in the app.
Preview
Files
README.md
assets/logo.svg
index.html
script.js
styles.cssREADME.md
# Static landing page A one-page site in plain HTML and CSS: a header whose menu folds on narrow screens, a hero, a feature grid, an FAQ and a footer. Light and dark colours follow the system setting. There is no build step and no dependencies. ## Run it in PocketCode 1. Open `index.html` in the editor. 2. Tap the globe icon (DevBrowser) at the top of the editor. The page opens from the app's local preview server. 3. Edit a file, save it and reload the DevBrowser to see the change. You don't need the Linux environment for this project. ## Where things are | Path | What it does | |---|---| | `index.html` | The page: header, hero, features, FAQ, footer | | `styles.css` | All the styles. Colours are variables at the top (`:root`) | | `script.js` | Two small things: the year in the footer and closing the menu after a tap | | `assets/logo.svg` | The logo in the header. Replace it with yours | ## Change it - Colours: edit the variables in `:root` (light) and in the `prefers-color-scheme: dark` block (dark). - Texts: everything is in `index.html`. The FAQ uses `<details>`, so it opens and closes without JavaScript. - Width of the content: `--max-width` in `styles.css`. ## Publish it Any static host works (GitHub Pages, Netlify, Cloudflare Pages): upload the folder as it is.Changes in 1.0.0
First version.