Learn React 18 with Redux Toolkit – Full Tutorial for Beginners
By freeCodeCamp.org
Published: Mar 15, 2023“
Learn how to use React version 18 and Redux Toolkit in this full course for beginners. React is a free and open-source front-end JavaScript library for building user interfaces based on components.Course created by @CodingAddict
Source Code
React Tutorial: https://github.com/john-smilga/react-course-v3
Redux Toolkit: https://github.com/john-smilga/redux-toolkit-tutorialContents
- (00:00:00) Setup
- (0:30:33) Folder Structure
- (0:42:58) First Component
- (0:53:25) Extensions and settings.json
- (1:06:09) JSX
- (1:20:21) Nest Components
- (1:26:35) Booklist
- (1:36:57) CSS
- (1:47:31) Images
- (1:55:31) JSX – CSS
- (2:02:17) JSX – Javascript
- (2:08:44) Props
- (2:18:33) Props – Somewhat Dynamic Setup
- (2:23:00) Access Props – Multiple Approaches
- (2:27:44) Children Prop
- (2:35:12) Simple List
- (2:43:48) Proper List
- (2:51:12) Key Prop
- (2:57:20) Props – Options
- (3:02:56) Events
- (3:21:51) Form Submission
- (3:25:35) Mind Grenade
- (3:28:55) Component Feature
- (3:34:00) React Data Flow
- (3:39:42) Challenge
- (3:48:51) ES6 Modules
- (3:58:40) Local Images (src folder)
- (4:04:25) More Challenges
- (4:13:20) Deployment
- (4:18:43) useState Hook
- (5:48:19) useEffect Hook
- (6:19:29) Multiple Returns
- (7:28:02) Folder Structure
- (8:27:07) Forms
- (9:27:53) useRef Hook
- (9:50:10) Custom Hooks
- (10:06:20) Context API
- (10:43:01) useReducer Hook
- (11:26:39) Performance
- (12:11:45) Redux Toolkit
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
”
Tag: coding
[#Script #Coding] Python Reinforcement Learning using OpenAI Gymnasium – Full Course
Python Reinforcement Learning using OpenAI Gymnasium – Full Course
By freeCodeCamp.org
Published: Mar 21, 2023“
Learn the basics of reinforcement learning and how to implement it using Gymnasium (previously called OpenAI Gym). Gymnasium is an open source Python library originally created by OpenAI that provides a collection of pre-built environments for reinforcement learning agents. It provides a standard API to communicate between learning algorithms and environments, as well as a standard set of environments compliant with that API.Reinforcement learning is an area of machine learning concerned with how intelligent agents ought to take actions in an environment in order to maximize the notion of cumulative reward.
Google Colab Notebook (full tutorial code): https://colab.research.google.com/drive/1oNxRpRnht2Ogu5Id76YLLg_hkmwy-yKy?usp=sharing
Gymnasium documentation: https://gymnasium.farama.org/
Course developed by @EverythingTechWithMustaf
Mustaf on LinkedIn: https://www.linkedin.com/in/mustafa-esoofally-aab0501ab/Contents
- (0:00:00) Introduction
- (0:04:19) Reinforcement Learning Basics (Agent and Environment)
- ((0:12:15) Introduction to OpenAI Gymnasium
- (0:14:59) Blackjack Rules and Implementation in Gymnasium
- (0:18:27) Solving Blackjack
- (0:19:46) Install and Import Libraries
- (0:23:19) Observing the Environment
- (0:27:55) Executing an Action in the Environment
- (0:33:01) Understand and Implement Epsilon-greedy Strategy to Solve Blackjack
- (0:42:28) Understand the Q-values
- (0:47:29) Training the Agent to Play Blackjack
- (0:57:10) Visualize the Training of Agent Playing Blackjack
- (1:04:34) Summary of Solving Blackjack
- (1:09:57) Solving Cartpole Using Deep-Q-Networks(DQN)
- (2:29:29) Summary of Solving Cartpole
- (2:34:07) Advanced Topics and Introduction to Multi-Agent Reinforcement Learning using Pettingzoo
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
”
[#Script #Coding] Best Shortcut You Didn’t Know!!
Best Shortcut You Didn’t Know!!
By codeSTACKr
Published: Feb 15, 2023“
Code Tip of the Day
Do you ever need to go back up to some code you wrote earlier to copy a piece of it, then have to figure out where you were at just before that?Just press Alt+LeftArrow, you’ll go right back to that previous cursor location.
You’re welcome!
Become A VS Code SuperHero Today: https://vsCodeHero.com
Join my Discord developer community: https://discord.gg/A9CnsVzzkZ
Tools I use:
- codeSTACKr VS Code Theme: https://marketplace.visualstudio.com/…
- STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
- SuperHero Extension Pack: https://marketplace.visualstudio.com/…
Show support!
- PayPal: https://paypal.me/codeSTACKr
Watch Next:
- Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yH…
Connect With codeSTACKr:
- Website: https://www.codestackr.com
- Twitter: https://twitter.com/codeSTACKr
- Instagram: https://instagram.com/codeSTACKr
- Facebook: https://facebook.com/codeSTACKr
”
[#Script #Coding] JavaScript Tutorial – Create a Card Game
JavaScript Tutorial – Create a Card Game
By freeCodeCamp.org
Published: Dec 14, 2022“
Improve your JavaScript skills by creating a basic card game with HTML and CSS.This tutorial not only covers creating a basic card game using JavaScript
but also:- How to create dynamic user interactive code using vanilla JavaScript
- Creating some animation effects
- Responsive layout design using CSS grid, CSS FlexBox and media queries
- How to dynamically change the positions of grid cells, so as to randomize the positions of the cards contained in a css grid using JavaScript,
- localStorage functionality
- And much More…
Code: https://github.com/GavinLonDigital/HuntTheAceJSGame
Gavin Lon created this tutorial. Check out his channel: @GavinLon
Contents
- (0:00:00) Introduction
- (0:05:26) Getting Started
- (0:07:00) Live Server Extension
- (0:09:50) Create Cards – HTML
- (0:14:44) Create the Game Play Grid
- (0:19:55) Create Cards Dynamically – JS Code
- (0:28:46) Initialise Card Positions
- (0:34:39) Load Game and Start Game
- (0:38:43) Stack Cards
- (0:41:53) Flip Cards
- (0:45:14) Shuffle Cards
- (0:49:28) Deal Cards
- (0:54:37) Choose Card
- (1:16:56) Styling and Layout
- (1:24:28) Animation
- (1:32:39) Responsive Layout
- (1:36:43) Local Storage
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
And subscribe for new videos on technology every day: https://youtube.com/subscription_cent…
”
[#Script #Coding] Open VS Code from Finder in macOS
Open VS Code from Finder in macOS
By codeSTACKr
Published: Mar 17, 2023“
Become A VS Code SuperHero Today: https://vsCodeHero.comJoin my Discord developer community: https://discord.gg/A9CnsVzzkZ
Want to quickly open a file or folder in VS Code from Finder in MacOS?
Add a quick action:
– Open the Shortcuts App
– Select “Quick Actions”
– Add a new action
– Change “Receive Any” to “Receive Files and Folders”
– From the right menu under Categories, choose Scripting and add “Run Shell Script”Permissions may need to be added.
– Enter this script: open -n -b “com.microsoft.VSCode” –args “$*”
– For the Input choose Folder as the Type and Get the File Path
– Pass input: as arguments
– Name the Quick Action “Open with Code”Now, when you right-click any folder or file in Finder, you’ll get this quick action to open it in VS Code.
Tools I use:
- codeSTACKr VS Code Theme: https://marketplace.visualstudio.com/…
- STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
- SuperHero Extension Pack: https://marketplace.visualstudio.com/…
Show support!
- PayPal: https://paypal.me/codeSTACKr
Watch Next:
- Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yH…
Connect With codeSTACKr:
- Website: https://www.codestackr.com
- Twitter: https://twitter.com/codeSTACKr
- Instagram: https://instagram.com/codeSTACKr
- Facebook: https://facebook.com/codeSTACKr
”
[#Script #Coding] How to Make Money From Your Website Using Microtransactions
How to Make Money From Your Website Using Microtransactions
By freeCodeCamp.org
Published: Oct 24, 2022“
Learn how to make money from your website without having to reply on third party advertisers or selling your users data by using the Interledger Protocol and microtransactions.Ania Kubów developed this course. Check out her channel: https://www.youtube.com/c/AniaKub%C3%B3w
Sign up for Uphold: https://wallet.uphold.com/signup
Coil Chrome extension: https://chrome.google.com/webstore/detail…
Sign up for Coil: https://coil.com/auth/signupGrant for the Web provided a grant to make this course possible. Grant for the Web is an Interledger Foundation program to boost open, fair, and inclusive standards and innovation in Web Monetization.
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
”
[#Script #Coding] Best VS Code Feature! Never Lose Your Place!
Best VS Code Feature! Never Lose Your Place!
By codeSTACKr
Published: Jan 30, 2023“
Become A VS Code SuperHero Today: https://vsCodeHero.com
Join my Discord developer community: https://discord.gg/A9CnsVzzkZCode Tip of the Day
When you work with large chunks of code, it’s easy to get lost.
With sticky scrolling enabled, the top of the editor will show you your current scope.
And you can click on the top layer to go back to the top of that section.
It works in many file types like HTML, JavaScript/TypeScript, CSS, md, package.json, and many more.
Tools I use:
codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions
Show support!
PayPal: https://paypal.me/codeSTACKr
Watch Next:
Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
Connect With CodeSTACKr:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr”
[#Script #Coding] Web Development with Python Tutorial – Flask & Dynamic Database-Driven Web Apps
Web Development with Python Tutorial – Flask & Dynamic Database-Driven Web Apps
By freeCodeCamp.org
Published: Feb 16, 2023“
Learn how to develop Dynamic Database-Driven Web Apps with Python, Flask, and MySQL. This course is broken up into two parts. In part one, you will learn how to build and deploy a site using the Flask Python web framework. In part two, you will connect the Flask application from the first part to a cloud MySQL database and learn how to deploy a production-ready database-driven web application.Aakash N S created this course.
Submit your project & earn a certificate: https://jovian.com/learn/web-development-with-python-and-flask
Check out Jovian’s YouTube channel: https://youtube.com/@jovianhqNotes & references links:
Part 1: https://jovian.com/aakashns/web-development-with-python
Part 2: https://jovian.com/aakashns/database-driven-web-applicationsContents
Part 1
- (0:00:00) Introduction
- (0:02:07) 1.1 Project Setup & Flask Basics
- (0:22:25) 1.2 Building Web Pages using HTML
- (0:40:57) 1.3 Styling with CSS & Bootstrap
- (1:08:25) 1.4 Dynamic Data using Templates
- (1:27:22) 1.5 Deploying to the Cloud with Render
- (1:42:39) 1.6 Functional and Aesthetic Improvements
- (1:58:44) 1.7 Summary & Future Work
Part 2
- (2:04:19) Database-Driven Web Applications
- (2:07:24) 2.1 Project Setup & Deployment
- (2:21:44) 2.2 Cloud MySQL Database Setup
- (2:36:20) 2.3 DB Connection with SQLAlchemy
- (2:56:22) 2.4 Display DB Data on Web Page
- (3:20:04) 2.5 Dynamic Database-Driven Pages
- (3:49:23) 2.6 HTML Form for Applications
- (4:15:37) 2.7 Saving Applications to DB
- (4:26:23) 2.8 Summary & Future Work
(4:37:50) Conclusion
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
And subscribe for new videos on technology every day: https://youtube.com/subscription_cent…
”
[#Script #Coding] Pro Tip – Code from Any Device with Remote Tunnels in VS Code
Pro Tip – Code from Any Device with Remote Tunnels in VS Code
By codeSTACKr
Published: Jan 25, 2023VS Code Tip of the Day
- Do you know how easy it is to code on any device?
- Account menu – Turn on remote tunnel access.
- Sign in with GitHub if prompted.
- Creates a secure tunnel directly to your machine.
- Copy / Paste this URL anywhere!
- Literally, anything with a browser.
- Access your local machine as if you were at it.
- You can even run terminal commands!
Become A VS Code SuperHero Today: https://vsCodeHero.com
Join my Discord developer community: https://discord.gg/A9CnsVzzkZ
Tools I use:
- codeSTACKr VS Code Theme: https://marketplace.visualstudio.com/…
- STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
- SuperHero Extension Pack: https://marketplace.visualstudio.com/…
Show support!
- PayPal: https://paypal.me/codeSTACKr
Watch Next:
- Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yH…
Connect With codeSTACKr:
- Website: https://www.codestackr.com
- Twitter: https://twitter.com/codeSTACKr
- Instagram: https://instagram.com/codeSTACKr
- Facebook: https://facebook.com/codeSTACKr
”
[#Script #Coding] Best VS Code Time Saver!!
Best VS Code Time Saver!!
By codeSTACKr
Published: Jan 09, 2023“
Become A VS Code SuperHero Today: https://vsCodeHero.comJoin my Discord developer community: https://discord.gg/A9CnsVzzkZ
If you’re not using Emmet to write HTML markup and CSS, you’re wasting time!
– Create an entire HTML boilerplate with just an exclamation mark.
– Create a header, with an H1, and a paragraph with just a few keystrokes.
– Create a list with 10 items that are all populated with classes and incrementing numbers.
– Quickly add CSS propertiesThere’s so much that Emmet can do to speed up your workflow!
Tools I use:
- codeSTACKr VS Code Theme: https://marketplace.visualstudio.com/…
- STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
- SuperHero Extension Pack: https://marketplace.visualstudio.com/…
Show support!
- PayPal: https://paypal.me/codeSTACKr
Watch Next:
- Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yH…
Connect With codeSTACKr:
- Website: https://www.codestackr.com
- Twitter: https://twitter.com/codeSTACKr
- Instagram: https://instagram.com/codeSTACKr
- Facebook: https://facebook.com/codeSTACKr
”