I just launched a brand new TypeScript Simplified course!
This course contains everything you need to know about TypeScript in just 5 hours. No more wasting days of your life struggling with TS. Right now you can get ~17% off with the code EARLY. Ends soon
I know I don't often post personal updates here but this is too big of an event to not mention.
Yesterday, I was lucky enough to convince the most wonderful woman in the entire world to marry me! It was an incredible day and I could not have asked for it to go any better.
🔥 Hot Tip - JavaScript
Do you ever wish you could display relative dates like 'yesterday', '3 hours ago', or 'in 4 days' similar to how Twitter or YouTube do? All you need to do is use the JavaScript relative time formatter which will do all of this for you in any locale.
How to be a programmer
Step 1: Write code
Step 2: Refactor code since it isn't perfect
Step 2.5: Realize the new refactor has problems half way through so repeat step 2
I am getting ready to start a brand new series called "Who Wants To Be A Megabit." It is just like "Who Wants To Be A Millionaire" but with web dev trivia questions.
Let me know who I should bring on as the first few quests by tagging them below!
This Saturday my biggest project ever will be released! In this video I create a Whatsapp clone using React and it is a big project. I am super excited for this to release!
🔥 Hot Tip - CSS
Handling scaling and multiple screen sizes in CSS is never fun. It requires tons of media queries and messy code, or does it? With the clamp property in CSS you can easily create values that scale but never grow past a maximum or shrink below a minimum.
🔥 Hot Tip - CSS
Have you ever tried to scroll an element into view when clicking a link only to have it stuck behind your sticky header? You can fix this in CSS by adding scroll-padding-top equal to the header height on the scroll container element (most likely html or :root).
It surprises me when I see comments similar to this. We all know there is no way I am smart enough to code out an entire project in such a short time🤣
I generally spend hours pre-building each project before actually recording the 20 minute video.
I code out everything ahead of time and all the other youtubers are probably doing it too. I thought this was obvious. So no, I am not coming up with an idea and code out a full website in 25 minutes lol
🔥 Hot Tip - JavaScript
One of the worst parts of JavaScript is accessing a property on a potentially null object. It requires tons of && chaining and looks really messy.
Luckily optional chaining is being introduced to JavaScript which lets you check for null in a cleaner way.
I have showed you how to create Google Maps and Whatsapp, but now I am stepping it up a notch with a Google Drive clone! I cannot wait to record this and share it with you.
My JavaScript piano video is one of my more popular videos, so I decided to give it an upgrade and add in a full backend with recording and sharing features. I should be able to get this recorded for next week!
🔥 Hot Tip - JavaScript
The template tag in HTML is often overlooked, but it makes creating dynamic content with plain JavaScript easier since you no longer need to write HTML in your JavaScript.
In this example I use the template tag to dynamically add elements to a list.
I just began work on a simple
@CodePen
clone and it is coming along quite well. I cannot wait to finish it so I can create a tutorial on it and share it with you.
🔥 Hot Tip - CSS
Did you know you can use the resize property on all elements! This means you can easily create re-sizable boxes with only CSS. You just need to make sure you have some overflow property set for the resize handle to appear.
After months of work I am finally ready to announce my brand NEW React Simplified course!
This course will take you from knowing nothing about React all the way to a mid-level React developer.
💰 First 150 people get 10% off!
🕐 Course closes in 7 days.
I just finished building out one of the projects for the end of my beginner JavaScript course. I am so excited to finally launch the course next month and share it with you!
PS: I know the styling is very minimal. I am keeping the CSS as simple as possible so the focus is on JS.
@MajorMcDoom
Reminds me of an app that required me to answer security questions but all answers had to be at least 8 characters. So when it asked me for the make of my first car, the city I was born in, my best friend's first name, etc. I was just like well I guess I pad this with underscores
I always forget how difficult planning courses is. I have been sitting in front of a whiteboard writing down and erasing ideas for my JavaScript course for the last 2 hours. Right now my whiteboard looks like a mess of incoherent scribbling.
🔥 Hot Tip - Design
Determining the perceived hierarchy of a design is difficult. To help with this try converting your design to grayscale with a slight blur. This makes it way easier to see which elements stand out on a page.
🔥 Hot Tip - JavaScript
Internationalization is hard, but JavaScript has tons of features for making it easier. One of the best features is the number formatter which can do easy currency formatting. It can even infer your current locale from the browser!
🔥 Hot Tip - CSS
You can create dynamic CSS content such as tooltips without any JavaScript. All it takes is the attr property. This lets you access any HTML attribute and assigns its value to the content of a before/after element. Check the thread for the code.
🔥 Hot Tip - CSS
If you have a CSS variable with no units you easily can add units to it with CSS calc. If you set a CSS variable to 10 in JS, but want that variable to be 10px just use calc and multiply by 1px. This works for all units as long as you multiply by 1 of the unit.
Design for Developers...
It's not easy, so I'm putting together
#EnhanceUI
, a resource/book to help us all!
It will help you learn the basics of for design, color, UI & UX for all of us programmers. Design is a formula just like typescript, let's figure it out!
🔗👇 link below
My 25th birthday is in 2 days and I had this conversation with my girlfriend. Nothing like a bowl of reality soup for lunch.
𝗠𝗲: I am nearly a quarter dead
𝗚𝗶𝗿𝗹𝗳𝗿𝗶𝗲𝗻𝗱: Well males only have a life expectancy of 76 so you are really more like a third dead
𝗠𝗲: 😨
🔥 Hot Tip - React
If you are writing a custom hook and want to easily see information about your hook use the useDebugValue hook. This hook will display whatever you pass to it next to the custom hook in the React dev tools making debugging much easier.
The almighty Brad has even been tainted by not using semi-colons. Now everyone that comments on my videos telling me I should use semi-colons can go yell at Brad instead 😜
If you want to learn everything you need to know about this formatter check out my full blog post. I even include code you can use to create a single function that takes a date and gives you the correct formatted string.
JavaScript Simplified is finally ready! It is 40 hours long and contains months worth of content for you to practice. I am incredibly proud of this course since it is a complete JavaScript bootcamp.
Use the code EARLY within the first week to get 20% off
Tomorrow the first episode of Who Wants To Be A Megabit will be going live with the one and only
@developedbyed
. Make sure to check out the full video when it goes live to see if you are smarter than Ed.😜
I am getting ready to start a brand new series called "Who Wants To Be A Megabit." It is just like "Who Wants To Be A Millionaire" but with web dev trivia questions.
Let me know who I should bring on as the first few quests by tagging them below!
It seems like everyone wants a tutorial on this so I will be working on that, but I have another question. Should I create an AI that plays this game as well? This is something I have never done, but I think it could be fun.
Are you looking for a fun CSS project? Try creating simple emojis using only CSS. It is really fun and makes you think about CSS in a totally different way. Here are a few simple ones I made.
🔥 Hot Tip - CSS
I cannot wait until the :is selector is supported in all browsers. It takes multiple potential parent elements as a list instead of having to write every permutation out by hand. This example gets really messy when you go 3 levels deep with the old way.
If you need further proof that
@unacademy
is one of the worst companies look no further. I received 6 emails from them in the span of 7 hours with 3 emails being from the same person! This happens daily and they refuse to stop emailing me. I wonder how many more I will get today.
I had to resort to making my own dumbbells for my workouts now that the gyms have been closed for awhile.
Don't let isolation prevent you from reaching your dreams. Use this time to invest in yourself so you can come out the other side a stronger version of yourself.
Sometimes I wonder how much more peaceful the world would be if everyone was deaf and blind. There would be no race or gender to really know about since you could only communicate through touch.
If this was true, though, discrimination would still be a problem. (1/3)
You better be ready for my next video because we are making a piano in JavaScript and it is so fun. I already starting playing Yankee Doodle on it.
PS: Don't judge me for my musical ability. I am a much better programmer than musician I promise.😜
In one of my next videos we are going to take a look at how to use SVG icons to smash the like button, because that is what the YouTube algorithm really wants. I can't wait for my throat to start feeling better so I can record this for you.
I just finished recording the longest video I have ever done. I have over an hour of raw footage which I am hoping to trim to just below an hour. I hope you are ready for a long video this weekend.
After over a year of work I am finally ready to announce my complete React Simplified course!
This course will take you from knowing nothing about React all the way to a mid-level React developer.
15% off for the first 7 days + $100 off Premium Package
This was created with just CSS (no JS) using popover, anchor, and position-fallback. Learn more about them in this video
I haven't been this excited for new CSS features since Flexbox and Grid.
More bleeding edge CSS features coming in tomorrow's video.
🔥 Hot Tip - CSS
Adding values to a transform in CSS sucks since you need to remember to always copy over any of the old values in the transform.
Try using CSS variables next time to make it so you never need to worry about the old values when defining an additional transform.
Do you want more simplified web development content from me? I hope so, because I created a free weekly newsletter full of web development tips and tricks, and updates on what I am working on.
Sign up at my site so you don't miss out on these free tips.
@designcoursecom
@developedbyed
@traversymedia
@thenetninjauk
You cannot become a developer by only watching videos, but I can assure you I wouldn't be a web developer if I hadn't used YouTube to learn web dev. YouTube is a tool to learn new things, but in order to make it stick you need to build your own projects with that knowledge.
If your eyes stopped working tomorrow you would no longer be able to distinguish people based on their skin color or race. So I ask that next time you find yourself discriminating against or judging another, please close your eyes and open your heart. (3/3)