Skip to content

A simple PWA landing page for a fictional company called Rocket IO. Built using Tailwind CSS, HTML and JavaScript.

Notifications You must be signed in to change notification settings

ndimoforaretas/rocketio

Repository files navigation

🚀Rocket IO - Tailwind CSS

Netlify Status

Rocket IO dark screenshot

Rocket IO light screenshot


This is a simple simple landing page for a fictional company called Rocket IO. It is built using Tailwind CSS, HTML and JavaScript.

The Original layout idea and inspiration is from this youtube video: Tailwind CSS Introduction, Basics & Guided Tutorial by Dave Gray.

  • I added a few touches of my own like a dark mode toggle button and a few color touches.
  • I found the project to be fun and easy to understand for complete beginners in Tailwind CSS.

Basic Setup from Scratch

  • In vs code,
    • install the Tailwind CSS IntelliSense extension.
    • install the PostCSS Language Support extension.
  • In the terminal in the project folder (preferably in vs code),
    • run npm init -y to initialize the project.
    • run npm install -D tailwindcss to install Tailwind CSS.
    • run npx tailwindcss init to create a tailwind.config.js file.
    • run npm install -D prettier-plugin-tailwindcss to install the Tailwind CSS plugin for Prettier.
  • Modify the tailwind.config.js file as follows:
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ["./*.html"],
  theme: {
    extend: {},
  },
  plugins: [],
};
  • modify the scripts in the package.json file as follows:
{
  "scripts": {
    "build": "tailwind -i ./input.css -o ./css/style.css",
    "watch": "tailwind -i ./input.css -o ./css/style.css --watch"
  }
}
  • create a .gitignore file and add the following:
node_modules

Setup using this repository

  • Clone the repository.
  • In the terminal in the project folder (preferably in vs code),
    • run npm install to install the dependencies.
    • run npm run watch to start the development server
    • start the live server in vs code.

Useful Links

License

This project is licensed under the MIT License. Free to use for your personal portfolio projects. Happy Coding!

About

A simple PWA landing page for a fictional company called Rocket IO. Built using Tailwind CSS, HTML and JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published