Timestamps: 0:07 - Adrian's Intro 1:05 - Setting up HTML 2:25 - Setting up the canvas 7:00 - Painting the snake 12:24 - Setting up the socketio server 14:15 - Connecting to socketio from frontend 18:10 - Moving game state to the server 19:58 - Adding a game loop 32:31 - Debugging game loop issue 33:45 - Controlling the snake 39:05 - WORKING SNAKE GAME!! 40:50 - Home screen for multiplayer game 45:12 - Handling new game on the server 53:30 - Adding ability for second player to join the game 1:01:30 - Handling join game error states 1:03:44 - Modify game mechanics for two players 1:11:48 - Testing the game 1:12:35 - Debugging errors 1:15:15 - Working multiplayer game 1:15:21 - Outro
Timestamps: 0:07 - Adrian's Intro 1:05 - Setting up HTML 2:25 - Setting up the canvas 7:00 - Painting the snake 12:24 - Setting up the socketio server 14:15 - Connecting to socketio from frontend 18:10 - Moving game state to the server 19:58 - Adding a game loop 32:31 - Debugging game loop issue 33:45 - Controlling the snake 39:05 - WORKING SNAKE GAME!! 40:50 - Home screen for multiplayer game 45:12 - Handling new game on the server 53:30 - Adding ability for second player to join the game 1:01:30 - Handling join game error states 1:03:44 - Modify game mechanics for two players 1:11:48 - Testing the game 1:12:35 - Debugging errors 1:15:15 - Working multiplayer game 1:15:21 - OutroNode.js Crash Course 2024Traversy Media2024-04-23 | This is an intro to Node.js. No frameworks or libraries. We will look at a bunch of the core modules including building a server with the http module.
Timestamps: 00:00 - Intro 1:11 - Monolithic Architecture 3:07 - Microservices Architecture 6:31 - API Gateway 8:32 - Service Oriented Architecture (SOA) 10:51 - Pros & Cons 13:28 - Moleculer JS Intro 15:57 - Moleculer Setup 16:42 - Your First Microservice 21:24 - User Service 29:30 - Email Service 33:54 - Auth ServiceReact Crash Course 2024Traversy Media2024-03-18 | Learn the basics of React, such as components, props, state, data fetching, and more, while building a job listing frontend.
Timestamps: 0:00 - Intro 1:24 - Compiler Info (Slide) 3:05 - Automatic Memoization (Slide) 4:04 - use() Hook Info (Slide) 4:57 - use client & use server (Slide) 5:43 - Actions (Slide) 6:54 - useOptimistic (Slide) 7:40 - Metadata (Slide) 8:06 - Other Changes (Slide) 9:48 - React 19 Playground Intro 10:53 - use() Hook to Fetch Joke 15:34 - use() Hook to Fetch Posts 17:05 - use() Hook with Promise 21:16 - use() Hook with Context 23:32 - Action Example 1 - Post Form 29:25 - Action Example 2 - Shopping Cart Form 35:25 - useFormStatus() 39:49 - useFormState() 44:12 - useOptimistic()Tailwind & JavaScript Project - Products Filtering UITraversy Media2024-02-27 | In this project, we will create a product list using Tailwind CSS, and we will add filtering and add-to-cart functionality with JavaScript.
Timestamps: 0:00 - Intro 3:42 - Node.js/Express Server Setup 9:23 - Simple request with hx-get & hx-trigger 11:12 - hx-swap 11:58 - Route to get a list of users 16:04 - hx-target 17:00 - hx-confirm 17:30 - Get users from jsonplaceholder 18:40 - hx-indicator 21:06 - hx-vals 23:27 - Temperature converter with hx-post 29:44 - Polling 33:23 - Mock weather app with polling 36:44 - Contacts search widget 39:50 - Backend route for search 47:08 - Inline form validation 50:12 - Backend route for validation 56:01 - Wrap upShould You Test As A Web Developer?Traversy Media2023-12-28 | A chat about writing tests as a web developer. I talk about what testing is, the benefits, types of testing, and when and if you should write tests for your projects.
Timestamps: 0:00 - Intro & Demo 3:21 - Vue.js Setup 4:57 - File Structure 7:44 - Boilerplate Clean Up 9:06 - Create Component Files & Templates 12:30 - Create and import Components 18:50 - TransactionList Display 28:37 - Transactions in Global State 30:12 - Pass & Recieve Props (defineProps) 32:30 - Balance Component & computed() 37:21 - Income & Expenses Component 42:34 - AddTransaction Form Component 44:58 - Binding Form Inputs 46:41 - Validation & Toasts 52:05 - Emit Custom Events (defineEmits) 54:45 - Add Transaction to State 59:30 - Deleting Transactions 1:03:30 - Fetch From Local Storage & OnMounted() 1:06:09 - Save to Local StorageAre You Too Dumb To Code? A Chat About Imposter SyndromeTraversy Media2023-10-26 | In this video, we will talk about why so many developers feel too dumb to code. We get into the topic of imposter syndrome.
Check out my courses: https://traversymedia.comProfessional Website From Scratch | HTML & CSS For BeginnersTraversy Media2023-10-16 | We will create a professional-looking website from scratch using HTML, CSS and a bit of JavaScript. This project is beginner-friendly, but it's also a fun project for more experienced developers.
Timestamps: 0:00 - Intro 1:00 - Project Info & Demo 6:57 - Exporting Images From Figma 8:42 - Downloading The Image Assets 9:43 - Create Files 10:18 - Base HTML & Links 15:55 - Navbar HTML 19:20 - Base CSS 24:15 - Navbar CSS 29:25 - Custom Properties/Variables 31:00 - Buttons & Utility Classes 37:00 - Hero HTML 40:10 - Text Utility Classes 43:50 - Hero CSS 47:16 - Video Section 51:46 - Background Utility Classes 53:11 - Testimonials Section 56:00 - CSS Grid & Cards 1:00:25 - Finish Testimonials CSS 1:01:20 - Pricing HTML 1:06:33 - Pricing CSS 1:12:20 - FAQ HTML 1:17:12 - FAQ CSS 1:25:15 - FAQ JavaScript 1:37:55 - Footer HTML 1:43:30 - Footer CSS 1:47:05 - Mobile Menu HTML 1:49:29 - Mobile Menu CSS 1:58:50 - Mobile Menu JS 2:00:45 - Responsive Hero 2:05:40 - Remaining Responsiveness 2:12:26 - Deploy To Netlify15 Web Developer-Related Career PathsTraversy Media2023-09-28 | In this video, we will look a bit deeper than frontend, backend, and full stack. We will explore 15 different web dev-related roles including UI/UX Designers, SPA Developers, API/microservices developers, Blockchain, IoT and much more.
Timestamps: 0:00 - Intro 2:37 - 1. UI/UX Designer 4:42 - 2. SPA/Frontend Developer 6:10 - 3. Server-Side/Full Stack Developer 8:25 - 4. API/Microservices Developer 9:50 - 5. Dev Ops Engineer 11:18 - 6. Mobile Developer 12:45 - 7. Freelance Web Developer 15:29 - 8. Ecommerce Developer 16:57 - 9. Web Security Specialist 18:09 - 10. Web Game Developer 19:01 - 11. Blockchain Developer 19:55 - 12. AR/VR Developer 20:52 - 13. PWA Developer 21:45 - 14. IoT Developer 22:50 - 15. Chatbot Developer 24:13 - ConclusionBun Crash Course | JavaScript Runtime, Bundler & TranspilerTraversy Media2023-09-18 | In this crash course, we will look at the Bun.js JavaScript runtime/bundler/toolkit. I will show you how to get set up and check out some of the features.
Timestamps: 0:00 - Intro & What Is Prisma? 5:30 - What Is Data Modeling? 6:28 - Getting Started 9:38 - The Schema File 10:36 - User Model 12:29 - Article Model 14:13 - Running Migrations 15:45 - Using The Prisma Client 16:18 - main() Function 18:00 - Create a User 19:40 - Get Users 20:44 - Create Article & Relate User 23:16 - Create User & Article With One Query 27:59 - Loop Through Users & Articles 31:30 - Update Data 32:37 - Remove Data 34:23 - Prisma Studio GUINew Course Alert - JS Challenges: Data Structures & AlgorithmsTraversy Media2023-09-07 | Traversy Media Platform: https://www.traversymedia.com/javascript-challeges $15 Promo Code: CODEWIZARD
Timestamps: 0:00 - Intro 2:57 - Getting Setup 5:26 - OpenAI API Key 6:18 - OpenAI Library Setup 8:00 - Chat Completion Example 11:30 - Creating The Chatbot 13:42 - ReadlineSync Example 16:14 - Get User Input 18:05 - Exiting The Program 18:49 - Chat Completion for Chatbot 21:36 - Trying Out The Bot 22:13 - Storing The Chat History 25:22 - Update Chat History 26:05 - Final TestBuild A RealTime Chat App With React & Appwrite CloudTraversy Media2023-06-26 | Fullstack chat application with Authentication and real-time capabilities with Appwrite cloud. Be sure to join the Appwrite discord channel for technical support questions and say hello on Twitter:
UDEMY VERSION: https://www.udemy.com/course/bootstrap-from-scratchMERN Crash Course | JWT Authentication, Redux Toolkit, Deployment & MoreTraversy Media2023-05-15 | In this project, we will create a MERN stack app with a React SPA frontend. The main focus is authentication, but you will learn how to create a full-featured API, manage state with Redux Toolkit, and more.
Timestamps: 0:00 - Intro 1:58 - Hostinger Sponsor 3:13 - Vite & React Setup 4:30 - File Clean Up 7:00 - Chakra UI Setup 8:58 - Base Styles 10:58 - Header & Footer Components 15:42 - TextInput Component 21:46 - Start Extract Keywords Function 22:58 - Create API Key & Environment Variables 26:36 - Global State 27:56 - Completions API Request 36:50 - Modal Component & Spinner 43:54 - Project DeploymentVite Crash Course | Faster Alternative To CRATraversy Media2023-03-14 | In this video, we will talk about the Vite JavaScript build tool. We will also compare it to Webpack as well as Create React App.
0:00 - Intro 1:13 - Vite vs Traditional Module Bundlers 3:50 - Vite vs Create React App 7:14 - Setting Up a Project 8:21 - File & Folder Structure 11:27 - Creating a React Component 12:23 - Environment Variables 13:50 - Using Sass 14:50 - Build For Production & Preview 15:19 - PluginsWeb Development In 2023 - A Practical GuideTraversy Media2023-03-06 | Updated 2024 Version - https://www.youtube.com/watch?v=8sXRyHI3bLw
This is an in-depth guide that goes over every major technology that has to do with web development, from languages to frameworks to utilities.
The domain name has not propagated in a few regions. If you can not access the link yet, you can use https://brad-traversy.mykajabi.com/modern-javascript-2-0Build An AI Image Generator With OpenAI & Node.jsTraversy Media2022-12-07 | In this project, we will use OpenAI and the DALL-E model to create a web app that will generate images from scratch based on the entered text.
Timestamps: 0:00 - Intro 2:00 - Setup & Install Dependencies 3:33 - Express Server & ENV Variables 6:03 - Route & Controller 9:58 - OpenAI Library Request/Response 15:17 - Request Body Data 19:34 - Frontend Setup 24:00 - Form Event Listener 26:38 - GenerateImageRequest() Function 31:45 - Display Image in DOM 33:20 - Using The App & OutroIntro To Web Scraping With PuppeteerTraversy Media2022-11-09 | In this video, we will look at Puppeteer to scrape data from a web page.
Timestamps: 0:00 - Intro 0:36 - Install & Setup 3:36 - Init Browser & Page Object 5:02 - Screenshot & PDF 6:54 - Targeting HTML, Text, and Links 11:22 - Scraping Courses 17:08 - $$eval() 18:40 - Save JSON DataPostCSS Crash CourseTraversy Media2022-10-26 | In this video, we will talk about what PostCSS is, set it up and show you how to use some of the popular plugins such as postcss-preset-env, precss, postcss-import, autoprefixer and more.
Timestamps: 0:00 Project showcase 1:25 Create react app / installs 2:22 Navbar component 6:00 Implementing React Router 7:45 Creating pages for router 10:35 Building rows and cols for Store page 12:14 Creating products for React to use 16:50 Loading products dynamically 19:18 Creating product card component 22:45 Creating a modal for the cart 25:55 Creating our cart context (Cart functionality) 46:02 Adding CartProvider to our app 46:29 Creating add / remove product to product cards 52:05 Adding cart functionality to navbar (number of items) 54:40 Showing cart data in modal 57:00 Creating CartProduct component 1:01:00 Create Stripe account and add test products 1:03:06 Creating Express server / installs 1:05:00 Creating Stripe checkout request 1:09:30 Adding Stripe IDs to React 1:10:33 Creating checkout call from React 1:13:43 Final project / checkout demo! 1:15:06 Thank you for watchingClean Code vs PreferenceTraversy Media2022-10-11 | Let's talk about the phrase "clean code" and how it can be pretty subjective and a lot of it comes down to preference.
Timestamps: 0:00 - Intro 3:05 - Resources 4:48 - Setup & Install Dependencies 8:08 - Create Main Window 12:45 - Common Boilerplate 15:53 - Show Devtools 18:10 - Using Electronmon 18:54 - Adding the UI Theme 21:26 - Content Security Policy 23:00 - Menu Customization 27:36 - Menu Roles 30:00 - About Window 31:53 - Start Renderer JS / Load Image 38:15 - Get Original Dimensions 39:40 - Using Preload 44:28 - Show Output Path 46:43 - Toastify Alerts 50:58 - Form Submit Handler 53:54 - IPC Renderer (Send) 56:44 - IPC Main (Recieve) 59:35 - Resize Image 1:05:32 - Catch Message In Renderer 1:07:32 - Make mainWindow Global 1:10:22 - Test Production Mode5 Pro-Level React Dos & DontsTraversy Media2022-09-20 | In this video, Jack will talk about some do's and don'ts when it comes to writing code with the React JavaScript framework.
Timestamps: 00:00 Introduction 00:30 Do use functional components 02:22 Donβt think of function components as templates 07:08 Do use TypeScript 12:02 Donβt worry about re-renders (too much) 14:35 Do learn to love dependency arrays 18:36 Donβt ignore useCallback or useMemo 22:25 Do learn to make custom hooks 23:23 Donβt use Redux just because you think you have to 26:00 Do use a query library 27:50 Donβt make your own UI library 29:29 OutroductionCommand Line Crash Course For Beginners | Terminal CommandsTraversy Media2022-09-14 | This is a course for beginners to learn how to navigate the terminal/command line. I tried to make it as OS agnostic as possible, but if you are on Windows, I suggest using something like "Git Bash".
Timestamps: 0:00 - Intro 0:50 - Agora Sponsor 1:34 - Slides Start 2:00 - Why Learn The Command Line? 5:43 - Command Line vs Terminal vs Shell 8:25 - Let's Talk About Windows 10:30 - Gist File 12:20 - Up & Down Arrow 12:44 - Tab Key 13:08 - Keyboard Shortcuts 14:11 - man 15:11 - whoami 15:17 - date 15:21 - clear 15:47 - pwd 16:09 - ls 18:13 - cd 19:35 - open, start, xdg-open 20:25 - mkdir 20:55 - touch 21:22 - rm 22:31 - rm -r 23:48 - cp 24:28 - mv 27:46 - cat 29:14 - RIght Angle Bracket (piping) 30:32 - less 31:00 - head 31:21 - tail 32:01 - nano 33:04 - echo 33:53 - grep 36:10 - find 38:03 - More On Piping 39:44 - ln (symlinks) 41:36 - tar 43:45 - history3 Alternatives for Herokus Free Tier - Full Stack & API HostingTraversy Media2022-09-08 | Heroku is getting rid of its free tier. In this video, we will look at 3 really good alternatives that offer a similar service. We will deploy a simple Node.js API to each one.
0:00 - Intro & Chat About Heroku & Free Hosting 3:16 - Project Intro 3:47 - Render 5:24 - Railway 6:40 - Cyclic 7:35 - Render Deployment 9:53 - Railway Deployment 11:30 - Cyclic DeploymentAstro Crash CourseTraversy Media2022-08-29 | Astro is an amazing static site generator that allows you to build really fast websites with little to no production JavaScript. You can use Astro components as we all have components from other frameworks such as React, Vue and Svelte.
TIP: I forgot to mention there is a VS Code extension called "Astro". Use it for syntax highlighting.
Timestamps: 0:00 - Intro / What Is Astro? 3:20 - Project Demo 6:20 - Create A New Astro Project 7:50 - Folder Structure 10:19 - Run Dev Server & Prepare 11:18 - Astro Components 16:00 - Making a Request - Top Level Async 17:13 - Create A Layout 20:29 - Passing Props 23:17 - Start Project / Global Styling 26:53 - Header Component 31:38 - React Integration 37:10 - Showcase Component 43:18 - Features & Card Components 49:34 - Dynamic Classes - Dark Card 51:40 - Page Content & Tabs Component 1:03:28 - Footer Component 1:05:19 - About Page 1:08:37 - Refactor Card Component 1:10:53 - Blog Page & Markdown Files 1:18:44 - Fetching Markdown FIles 1:20:57 - Blog Showcase Component 1:22:50 - Single Post Page / getStaticPaths() 1:29:35 - Build Static Assets 1:30:40 - Deploy To NetlifyDo You Need To Learn Data Structures & Algorithms As A Developer?Traversy Media2022-08-25 | A short discussion on learning data structures and algorithms as a developer.
Timestamps: 0:00 - Intro 1:09 - Side Project Motivation 2:31 - QRCode.js Library Intro 3:16 - Dependency Setup 6:39 - Tailwind CSS Layout 20:42 - Start JavaScript & Get Form Inputs 23:03 - Show & Hide Spinner Functions 25:05 - Generate QR Code 27:28 - Clear UI Function 28:40 - Create Save Button 32:48 - Get QR Code Image Source 34:50 - Clear Button From UIBuild A Digital Resume & Host For FreeTraversy Media2022-08-11 | Turning a real-life resume into a digital resume hosted free on Github pages.
00:00 - Introduction 4:56 - Project Setup 9:15 - Hero Section 35:50 - Adding Dark Mode 39:50 - Techstack section 44:23 - Work History section 52:30 - Projects sections 57:30 - Project Detail Page 1:01:30 - Adding Responsiveness 1:05:50 - Hosting with Github pagesSpaceX Website Clone - HTML, CSS & JavaScriptTraversy Media2022-08-09 | In this video, we will re-create parts of the SpaceX website including the homepage, menus, and some inner pages. We will create some animations and use JavaScript to manipulate the DOM.
Timestamps: 0:00 - Intro 0:37 - Hostinger Sponsor 1:39 - Project Demo 4:38 - Header/Navbar HTML & CSS 17:23 - Menu Underline Animation 22:52 - Homepage Section A 30:22 - Button & Hover Animation 38:29 - Fade In & Up Animation 44:40 - Scroll Arrow Animation 49:29 - Remaining Homepage Sections 53:30 - Footer 58:29 - Media Queries 1:04:25 - Hamburger Icon & Open Animation 1:12:22 - JavaScript For Open Toggle 1:14:30 - Dark Overlay 1:18:32 - Remove Scroll On Open 1:19:40 - Side Menu HTML & CSS 1:33:00 - Inner Page & Fade Animation 1:42:20 - Stats Counter HTML & CSS 1:46:07 - Stat Counter JavaScript 2:00:00 - Inner Page Responsiveness 2:02:40 - Remaining Inner Pages 2:08:27 - Deploy To Hostinger (Using Git)Carbon Lang First Look & Crash Course | Googles C++ SuccessorTraversy Media2022-08-01 | Carbon is Google's new C++ successor. In this video, we will talk a little bit about it and then look at the basic syntax including variables, data types, arrays, tuples, classes, generics and more.
Timestamps: 0:00 - Intro 1:37 - Carbon - What & Why? 7:26 - Setup With Homebrew 13:15 - Package Namespace 14:16 - Main() Function 16:40 - Print() Function 18:00 - Creating Functions 19:40 - Primitive Data Types 21:37 - Naming Conventions 22:14 - Variables 24:15 - let Keyword 26:22 - auto Type 27:06 - Global Variables & Scope 28:52 - Multi-Line Strings 29:27 - Function Arguments 31:49 - Arrays 35:10 - Tuples 37:42 - Structs 41:11 - Classes & Objects 43:32 - Class Methods 46:10 - Class Functions 47:52 - Pointers 52:35 - If Else Statements 54:55 - Match Statement 59:04 - While Loops 1:01:32 - Generics 1:05:22 - Outro5 HTML, CSS & JS Mini Projects - Scroll Animation, Rotating Navigation, Drag Events, etcTraversy Media2022-07-27 | 5 projects from my 50 Projects In 50 Days course on Udemy. These projects are meant to sharpen your CSS skills and help you work with the DOM using JavaScript.
Timestamps: 0:00 - Intro 2:00 - Scroll Animation Project 16:13 - Rotating Navigation Project 40:40 - Login Input Wave 59:38 - Animated 3D Boxes Project 1:27:12 - Hoverboard ProjectImprove The Developer Hiring ProcessTraversy Media2022-07-19 | In this video, I will propose an alternative to the current hiring process that a lot of tech companies use to hire developers.
Timestamps: 0:00 - Intro 1:19 - Interview Questions 2:08 - Being Put On The Spot Sucks 3:55 - Ridiculous Tech Requirements 4:59 - Mandatory College Degree 5:24 - My Proposal 6:03 - Personal Project Review 6:39 - Relevant Take Home Project 7:54 - Learning Process Evaluation 8:25 - Wrap UpJavaScript Under The Hood [5] - JavaScript Engine OverviewTraversy Media2022-07-12 | In this final video of the series, we will talk about JS engines and look at how JavaScript code is turned into machine code that runs on the CPU.