Git Product home page Git Product logo

club-portal's Introduction

Project 7 - Club Portal

Project Overview

Name: Club Portal - CPCCU

Desktop

image

Laptop

image

Mobile

image

Description:

Author: Md Shoriful Islam Ashiq

Files and Structure

index.html: Contains the main structure of the webpage, including the meta tags, title, and links to CSS files.

script.js: Contains JavaScript for toggling a menu button.

output.css: Contains styles for various elements like textarea, buttons, and input types.

package.json: Specifies project dependencies like Tailwind CSS.

Noteworthy Features

Menu Toggle: The menu button in the script.js file toggles a hidden menu.

Styling: The output.css file provides styling for textarea, buttons, and input types.

Responsive Design: The meta viewport tag in index.html indicates a responsive design approach.

Learning Points

Tailwind CSS: You can learn how to use Tailwind CSS for styling in this project.

JavaScript: Understanding event listeners and DOM manipulation through the script.js file.

HTML and CSS: Practicing structuring a webpage and styling elements using the provided files.

font-family: "Overpass Mono", "IBM Plex Mono", JetBrains Mono, "Slabo13px-Regular", 'Courier New', "Cascadia Code", Consolas, "Inconsolata", Fira Code, monospace;

Install Tailwind CSS

Install tailwindcss via npm, and create your tailwind.config.js file.

Terminal

npm install -D tailwindcss
npx tailwindcss init

Configure your template paths Add the paths to all of your template files in your tailwind.config.js file.

==> tailwind.config.js

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ["./index.html", "*",],
  theme: {
    extend: {},
  },
  plugins: [],
}

Add the Tailwind directives to your CSS

Add the @tailwind directives for each of Tailwind’s layers to your main CSS file.

==> src/input.css

@tailwind base;
@tailwind components;
@tailwind utilities;

Start the Tailwind CLI build process Run the CLI tool to scan your template files for classes and build your CSS.

Terminal

npx tailwindcss -i ./src/input.css -o ./src/output.css --watch

Start using Tailwind in your HTML

Add your compiled CSS file to the and start using Tailwind’s utility classes to style your content.

==> src/index.html

<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="./output.css" rel="stylesheet">
  <!-- add this link  -->
</head>
<body>
  <h1 class="text-3xl font-bold underline">
    Hello world!
  </h1>
</body>
</html>

club-portal's People

Contributors

mdsiaofficial avatar

Stargazers

 avatar Rahul Roy Nipon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.