
Join the Conversation!
Subscribing gives you access to the comments so you can share your ideas, ask questions, and connect with others.
"Please login to view comments"
Subscribing gives you access to the comments so you can share your ideas, ask questions, and connect with others.
By logging in, you'll unlock full access to this and other free tutorials on JSM Pro.
Why? Logging in lets us personalize your learning experience, track your progress, and keep you in the loop with new workshops, coding tips, and platform updates.
You'll also be the first to know about upcoming launches, events, and exclusive discounts.
No spam—just helpful content to level up your skills.
If that sounds fair, go ahead and log in to continue →
Enter your name and email to get instant access
##Looks like we found a thief monkey By the way, I liked the trick how you reached till here. You have a good sense of humor. You will improve a lot if you join our course with this passion.
var
(function-scoped, outdated)let
(block-scoped, modern and recommended)const
(block-scoped, cannot be reassigned)_
, or $
let let = 5;
is invalid)myVar
and myvar
are different)string
, number
, boolean
, null
, undefined
, bigint
, symbol
Objects
, Arrays
, Functions
Subscribing gives you access to a brief, insightful summary of each lecture to stay on track.
00:00:01Â To do that, you can head back over to your code, stop your terminal from running, and then run npm run build.
00:00:08Â This will generate an optimized production build of your application in about 800 milliseconds.
00:00:15Â Damn, these builders are getting fast.
00:00:16Â If you open up your file explorer, you'll notice that now there's an additional folder here called dist as in distro or distribution.
00:00:24Â So just click it and then open it in your finder or file explorer.
00:00:29Â It should look something like this.
00:00:31Â Once you do that, head back over to your host thinker dashboard.
00:00:34Â And head over to the project we created.
00:00:36Â Now might be the perfect time to use that domain that you chose.
00:00:39Â You can either do something like, you know, JSM movie app, which is a bit specific.
00:00:44Â So you would get this domain specifically for this app, which is totally okay.
00:00:48Â You can see it's zero bucks for the first year, but what I would recommend, but maybe what I would recommend is getting the domain name for your portfolio instead.
00:00:58Â So something like your first and last name .dev or .com.
00:01:03Â like jsmadrian.dev or .com is even better if it's available.
00:01:09Â With that domain, you would have one single place for your portfolio and you would be able to put many projects on there.
00:01:15Â So in this case, I can go with something like adrianjsmastery.com, click next, and once the domain is connected, you can head over to your project's dashboard,
00:01:25Â go to file manager, head over into public HTML, Delete the default PHP file because here we're going to upload your website.
00:01:35Â So delete it, open up your Finder.
00:01:38Â go inside of it, and then simply copy everything and move it over to this public HTML.
00:01:45Â This contains the index HTML file as well as all of the assets needed to run your React app.
00:01:51Â Once you do that, go back to your Hostinger dashboard, make sure that the SSL certificate for the domain has been installed.
00:01:58Â Typically, it takes a couple of minutes from once you select your domain name, There we go.
00:02:03Â It's done.
00:02:03Â And then click on it right here.
00:02:05Â And check this out.
00:02:07Â We are now live under your specific domain name.
00:02:10Â You can find all of the popular movies as well as see what other people are searching for, or you can search for something yourself.
00:02:18Â Do we have any movies about JavaScript?
00:02:21Â Who knows?
00:02:23Â Well, not really.
00:02:24Â What about React?
00:02:25Â Well, this is good enough, I guess.
00:02:28Â Keanu running away from some kind of a chain reaction?
00:02:31Â That reminds me of working with Redux, which is kind of an advanced React state management library that was used back in the day.
00:02:38Â But in today's world, you don't have to worry about that.
00:02:41Â because there are simpler and more advanced technologies to help you manage your state and bring your React game to the next level.
00:02:48Â For example, the best next way forward after learning React is to dive into Next.js, as Next.js is a framework that is built on top of React that allows
00:02:58Â you to turn your front-end React apps into full-stack apps with optimized performance.
00:03:04Â So, if you're not sure what to do next, well, Next.js is the way to go.
00:03:08Â With that in mind, once again, thank you so much for watching.
00:03:12Â I hope you learned a lot.
00:03:13Â Let me know what you want to see in the next one.
00:03:15Â I'll see you inside jsmastery.pro, and have a wonderful day.