
In this course we are going to get up and running with Tailwind CSS and Alpine JS.
This course is for people who have a basic understanding of html and css, that want to get started with either Tailwind or Alpine.
This course also includes some javascript basics, but don’t worry if don’t have much or any javascript experience, we take the time to learn these basics where needed as we complete the course.
Things you are going to need are a text editor and web browser. In this course I use Sublime Text and Google Chrome, it’s 100% ok for you to use whatever you are comfortable with.
This course isn’t so much about building a complete website from start to finish, it’s about giving you the tools to get started with, and complete your own project. We will build a homepage and also talk about some practical examples.
We are combining Tailwind and Alpine into one course is so we’ll have a working web page or two at the end, rather than a static pages.
Master Tailwind CSS’s utility-first approach by applying single-purpose classes directly to HTML elements to rapidly build custom, responsive designs without external stylesheets.
Discover how Alpine JS connects HTML to a component with x-data and an open state. Use a button to toggle content via x-show and the open value.
Learn to add Tailwind CSS and Alpine JS to a new project using CDN scripts, create a simple index.html, apply Tailwind classes, and verify Alpine directives output.
Build a responsive homepage using Tailwind CSS and Alpine JS by creating a navigation bar, adding icons, and styling with utility classes while following a hands-on, iterative workflow.
Finish the home page by building a two-button section with Tailwind CSS utilities, refining spacing and colors, and adding the testimonial area for the page.
Build a mobile navigation panel with tailwind and alpine.js that opens and closes via a toggle, using x-data and x-show to manage visibility.
Explore Tailwind CSS basics by inspecting container and flex utilities, including width breakpoints at 640px and 768px, mx-auto centering, and justify-between to create responsive layouts.
Discover the Tailwind color palette and spacing for text, background, and borders, and learn to find the nearest Tailwind color to hex values and use the spacing scale.
Override tailwind config to add custom fonts, apply font families system-wide or per element using tailwind classes, and integrate Google fonts like Open Sans and Emetic for a cohesive design.
Customize the Tailwind CSS color palette by overriding defaults or adding new colors using the Tailwind naming convention. Learn to define colors like teal-800, zinc-100, and midnight with hex values.
Explore deeper into Alpine JS, discovering core attributes like x-data, x-bind, x-on, and x-show to build dynamic UI components with Tailwind CSS. Learn how JavaScript basics underpin Alpine's front-end power.
Learn to build interactive Alpine.js components with x-data, x-text, and x-on:click to update a color label in real time, applying dynamic Tailwind classes for red, green, or blue text.
Discover how to place multiple Alpine.js components on a single page, duplicate blocks, and keep each component’s state independent using x-data directives while selecting colors.
Master using JavaScript with Alpine by defining components with x-data, placing JavaScript in directives, and triggering alert and console.log actions. Prepare for tabs that hide and show content.
Build a tabbed interface with Alpine.js by toggling content with x-show and an active variable, default to description, using x-on:click and x-bind:class with ternary for active and hover Tailwind states.
Learn how the Alpine.js navigation uses an x-data open state, toggled by a button with x-on:click, and displayed with x-show to reveal the nav content.
Duplicate the home page to create the products page, then customize navigation, backgrounds (slate 400, slate 100), typography, tiles, and a button.
build a contact us page with a styled form using tailwind classes, including name, email, and message inputs, a newsletter checkbox, and a submit button.
Build a responsive product grid with Tailwind CSS, starting with a four-column layout and using mobile-first breakpoints to switch to smaller columns at medium and larger screens.
Conclude the Tailwind CSS and Alpine JS essentials training and start your next project with confidence. Review the docs, share feedback, and explore next steps with MPM and terminal basics.
This course is for people who have a basic understanding of html and css, that want to get started with either Tailwind CSS or Alpine JS.
This course also includes some javascript basics, but don’t worry if you don’t have much or any javascript experience, we take the time to learn these basics where needed as we complete the course.
We start off by quickly building a homepage of a website to give you an overview of what it's like working with Tailwind CSS and Alpine JS. Then we pump the brakes and take our time to explain each part of the homepage.
This course isn’t so much about building a complete website from start to finish, it’s about giving you the tools to get started with, and complete your own project. We will build a homepage and also talk about some practical examples.
Things you are going to need are a text editor and web browser. In this course I use Sublime Text and Google Chrome, it’s 100% ok for you to use whatever you are comfortable with.
We are combining Tailwind CSS and Alpine JS into one course so we’ll have a working web page or two at the end, rather than static pages.