The Return of jQuery (Not really, just Alpine.js)

  Рет қаралды 8,921

LearnWebCode

LearnWebCode

Күн бұрын

Join my premium 2024 bootcamp here learnwebcode.teachable.com/p/...
Want to add interactivity to a site but don't need the full power of something like React? Use Alpine!
CodePen Starter Follow Along: codepen.io/learnwebcode/pen/j...
CodePen Finished Product: codepen.io/learnwebcode/pen/a...
0:00 Intro
1:06 Getting Started
1:56 Fetching Data
6:25 Looping Through Array
12:21 Toggle Button
14:38 Delete Item
20:02 Misc Details
Follow me for updates on new videos or projects:
Instagram: / javaschiff
Twitter: / learnwebcode
Facebook: / brad-schiff-1542576316...
Twitch: / learnwebcode

Пікірлер: 26
@iwanttopunchtheosface
@iwanttopunchtheosface Жыл бұрын
Been watching your videos and I'm really learning a lot. So now I thought I'll get a little serious so I bought 5 of your courses while it's on a huge discount 😁. I hope I can be as good as a fraction of you. Thank you Brad!
@LearnWebCode
@LearnWebCode Жыл бұрын
Thank you so, so much! 🙏
@soccer19957
@soccer19957 Жыл бұрын
Great tutorial like always! Thanks Brad 🙌🙌🙌
@arnaudpoutieu1331
@arnaudpoutieu1331 Жыл бұрын
Thank you for your time and effort Brad!
@jediampm
@jediampm 11 ай бұрын
Hi Brad thanks for the video. a few tips: - like you have short hand for bind, you also have short hand for events, like "@click" - about delete, i think you just over complicate: if you want to use "filter" so just compare with some property of current pet object. If you have the index from the loop, just use the the "splice" function / method. - as alternative "loadYet prop, alpine as the directive "x-cloak", but i think your solution is fine or a smart way to do it. thanks.
@LearnWebCode
@LearnWebCode 11 ай бұрын
After I recorded the video and was watching it back and editing it I was face palming when I got to the delete part; I definitely overcomplicated that 😂 I like the x-cloak feature!!
@jediampm
@jediampm 11 ай бұрын
​ @LearnWebCode And welcome to the group of people that use this version of mini and simplistic version of" Vue". it seams you are leaving react as well ;)
@jbugahod
@jbugahod Жыл бұрын
thanks brad for this video
@jonathanvioleta3578
@jonathanvioleta3578 22 күн бұрын
So if you wanna use complex condition in alphine like a lot of if-else or switch statement should you use .. or should i use php condition if im using php instead, which one do you recommend
@Doomw1ngs
@Doomw1ngs Жыл бұрын
I have to say after your Laravel course you must be one of the best (if not THE best instructor ), But I should ask will you make any PHP for beginners , or OOP in PHP for beginners? I really hope to find the time and the joy to do it. I hope you the best
@AndrewKwabula
@AndrewKwabula 4 күн бұрын
I agree. He is the best in terms of making things easily understandable plus he REALLY understands his stuff.
@abdullaalfaiyaz1890
@abdullaalfaiyaz1890 11 ай бұрын
Hey Brad. Amazing video as always. I am doing your laravel course right now. It has been an amazing experience so far. I wanted to ask you one thing, which is do you have any plans to add a module on how to write test cases or basically some real world example on unit testing would be great ?
@sjoodss7654
@sjoodss7654 3 ай бұрын
I have a website for discount stores, where I can create an account for the store and add a photo for display, but I face a problem, which is not saving these photos in a folder. It appears to me that the folder is not known, but I tried all the methods of extending the folder, but to no avail, but the photos only show the photos that were created when the account was created, and I am developing the answer. Ali, thank you
@mohiminurrahman6487
@mohiminurrahman6487 Жыл бұрын
You are really a great teacher. I would request you to, If you make a course about next js with prisma it will be very helpful. Hope you will see my comment . Thank you
@JimKernix
@JimKernix Жыл бұрын
I got excited when you mentioned fetching json from a GitHub repo, but I have a lot of JS for one of my projects and I don't see adding it all to the HTML. I'll have to look into the docs
@stirpro2073
@stirpro2073 Жыл бұрын
As alwayse on high level
@WebDevMastery
@WebDevMastery Жыл бұрын
Please create a course or Start a video series on advance WordPress plugin development
@LearnWebCode
@LearnWebCode Жыл бұрын
My full WordPress course on Udemy covers how to create custom block types, meta relationships, interactive front-ends, plugin setting pages, and custom database tables. Are there any technical details you'd like to see covered? Or just wanting a more complex / holistic plugin that we build together step by step?
@WebDevMastery
@WebDevMastery Жыл бұрын
@@LearnWebCode yes more complex plugin that we can build steps by step,
@WebDevMastery
@WebDevMastery 11 ай бұрын
Please consider my request
@JasonJA88
@JasonJA88 Жыл бұрын
HTMX's nice
@LearnWebCode
@LearnWebCode Жыл бұрын
I'll check it out 👍
@badcatdesign
@badcatdesign Жыл бұрын
I’d watch some htmx tutorials
@montebont
@montebont Жыл бұрын
Another variant of a very bad concept. HTML deals with the boxes of the page and static content. CSS handles how it looks. IMHO variable content (state) is best handled by vanilla JS (or TS when you prefer strict typing) . Basically JS can access/manipulate both HTML and CSS and external data Doing it any other way is just another learning curve. And hoping it was worth the effort when your favorite tool is no longer supported. Let's be honest: JS is not that complicated and has excellent documentation. Do not waste time on "tools" but focus on "pure" JS or TS. If I remember correctly JS in HTML (however abstracted in data-xxx attributes) is a no go for loads of very obvious reasons like separation of concerns... When Alpine is still used 5 years from now I'll humbly bow my head for my lack of insight in how things should work...
@LearnWebCode
@LearnWebCode Жыл бұрын
I actually agree. I have the same general philosophy, if I'm not 99% certain a technology / framework will exist in 5+ years I don't normally cover it. Also, in my full-length guided tour courses I try not to introduce any technologies that aren't part of the core vanilla eco-system because it's usually just more confusing and introduces vendor-lock-in. It's just in the last year or so that I've sort of let my guard down and started making videos on technologies that viewers have requested (Tailwind, Next.js, Alpine, etc...). I think after 150 KZbin videos and 8 Udemy courses my instincts as a vanilla fundamentals educator have been worn down by the grind of being a "content creator" 😂 Cheers!
Next.js Tutorial For Beginners
52:35
LearnWebCode
Рет қаралды 41 М.
JavaScript Callbacks, Promises, and Async / Await Explained
38:54
LearnWebCode
Рет қаралды 40 М.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 118 МЛН
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 85 МЛН
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 46 МЛН
Why You Should Try Tailwind CSS
41:03
LearnWebCode
Рет қаралды 13 М.
HTML Forms and Inputs in 7 Minutes!
7:22
Learndev
Рет қаралды 713
AlpineJS - The Most Fun You'll Ever Have Without a JavaScript File
5:08
Say No To Complexity With AlpineJS - Caleb Porzio
32:04
JavaScript Conferences by GitNation
Рет қаралды 17 М.
JavaScript Template Literals: JSON to HTML
39:34
LearnWebCode
Рет қаралды 249 М.
JSON and AJAX Tutorial: With Real Examples
40:45
LearnWebCode
Рет қаралды 1,8 МЛН
Alpine.js Crash Course
42:02
Traversy Media
Рет қаралды 116 М.
Laravel Modal Using Alpine JS + Livewire 3
31:27
Yelo Code
Рет қаралды 20 М.
Getting Started with Alpine.js
15:09
DigitalOcean
Рет қаралды 6 М.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 118 МЛН