Getting Started with Alpine.js

  Рет қаралды 5,991

DigitalOcean

DigitalOcean

Күн бұрын

Alpine.js is a lightweight JavaScript framework that's a perfect fit for adding functionality onto existing markup.
In Video: Chris Sev ( / chris__sev )
0:00 Introduction
01:30 Getting Started with Alpine.js
02:06 Creating a Button
02:57 Click Events with Alpine.js
03:48 Showing and Hiding an Element
05:56 x-text
06:28 Alpine.js vs React vs Vue
07:51 Looping over a list
09:12 x-model 2-way data binding
10:52 Submitting a Form with Alpine.js
12:03 Adding Alpine.js Methods
13:17 Conclusion
To learn more about DigitalOcean: www.digitalocean.com/
Follow us on Twitch: / digitaloceantv
Follow us on Twitter: / digitalocean
Like us on Facebook: / digitaloceancloudhosting
Follow us on Instagram: / thedigitalocean
We're hiring: grnh.se/aicoph1

Пікірлер: 9
@kimbapslayer1995
@kimbapslayer1995 Жыл бұрын
Wow I'm so legit amazed by this. I am floored. Ill be offering this service to my freelance portfolio.
@silasmurithi4706
@silasmurithi4706 Жыл бұрын
Awesome , thu' I was waiting for how to search and delete items in the list lol.
@RootsterAnon
@RootsterAnon Жыл бұрын
for search you can use .filter (const ages = [32, 33, 16, 40]; const result = ages.filter(checkAdult); function checkAdult(age) { return age >= 18; }) and for delete you can use .splice (const fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.splice(2, 0, "Lemon", "Kiwi");)
@kimbapslayer1995
@kimbapslayer1995 Жыл бұрын
Only thing that throws me off is having empty values between tags lol. Too bad HTML requires closing tags unlike jsx that can have a self closing tag.
@bayrock1337
@bayrock1337 Жыл бұрын
True, but if it was self closing then you would confuse it to be a JSX component. This way you know it is vanilla HTML.
@KevinArellano
@KevinArellano Жыл бұрын
1st and no... I'll stick with html and nothing more. That’s correct, no css nor Javascript.
@RootsterAnon
@RootsterAnon Жыл бұрын
lol, what are you talking about> 🤣🤣🤣🤣
@KevinArellano
@KevinArellano Жыл бұрын
@@RootsterAnon I was kidding lol. My jokes are beyond human comprehension.
@RootsterAnon
@RootsterAnon Жыл бұрын
@@KevinArellano you don't understand how relieved I am right now. You got me there... I confess... :D
Say No To Complexity With AlpineJS - Caleb Porzio
32:04
JavaScript Conferences by GitNation
Рет қаралды 17 М.
Alpine JS Tutorial | Build a Todo App
33:48
The Code Creative
Рет қаралды 16 М.
Miracle Doctor Saves Blind Girl ❤️
00:59
Alan Chikin Chow
Рет қаралды 55 МЛН
PIPELINE NETWORK CORRECTION BY SO
19:37
PHEGIS
Рет қаралды 188
Using Tailwind CSS Grid Classes
10:04
DigitalOcean
Рет қаралды 4,5 М.
The Return of jQuery (Not really, just Alpine.js)
23:40
LearnWebCode
Рет қаралды 9 М.
Alpine.js Crash Course
42:02
Traversy Media
Рет қаралды 116 М.
Using Alpine.js to Enhance Your JavaScript
55:05
DigitalOcean
Рет қаралды 11 М.
FastAPI - SQLModel Relationships and Alpine.js integration
25:02
Rust's Alien Data Types 👽 Box, Rc, Arc
11:54
Code to the Moon
Рет қаралды 132 М.
Alpine JS is pretty useful
9:21
Awesome
Рет қаралды 22 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,4 МЛН
What model of phone do you have?
0:16
Hassyl Joon
Рет қаралды 72 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 2,9 МЛН
ЭТОТ ЗАБЫТЫЙ ФЛАГМАН СИЛЬНО ПОДЕШЕВЕЛ! Стоит купить...
12:54
Thebox - о технике и гаджетах
Рет қаралды 142 М.
#miniphone
0:18
Miniphone
Рет қаралды 11 МЛН