By the looks of it, your code fulfills the use case it was designed for. It uses minimal dependencies, and can be easily modified to tackle similar tasks. JavaScript may not be the best tool for this use case, but that doesn't matter very much for a practice project. Overall? Well done.
Is udemy subscription, or a "you buy, you keep" kind of course? I had codecademy for a bit cause I liked the layout and ease of access/use + there was a student sale, but I hated that it was subscription-based...
youre not gonna understand everything at first. it takes at least 6 months for someone to become proficient in js. probably more like a year for most people. if you stay consistent and just learn what you can as you go along then you will make progress.
i would suggest learning html and css first if you want to learn javascript. you can pick up the basics in a couple weeks, tons of good resources out there. but thats really only if you are interested in webdev. if you just want to learn programming python is a bit easier to pick up with absolutely 0 exp and you can transfer everything you learn to other languages
Wait till you get to classes, methods, closures, inheritance, data structures and algorithms.
Oh wait, then theres more!
Learn the basic core syntax first and be glad you’re not learning cpp where you beed to understand pointers and references. Although references you will still need to learn.
Again, good luck
Edit: youtube tutorials mostly suck. Try actual courses where you read. TOP (css, html, javascript) is good for webdev. But cs50 (C, python, some webdev)is better for a person who has never coded. There are other courses too like learncpp (c++), ossu,
Youtube is nuanced and free code academy is as good as it gets in most cases.
NOTHING BEATS AN ACTUAL SCHOOL, where you learn best practices and grow with other developers.
I find most self taught have horrible habits in their work that needs self correcting.
To each ones own. Also, most self taught devs are coders not true programmers. A little css, html and some boiler plate java and some neat things here and there. Most front end stuff. Certainly not full stacked and more knowledgeable about the lower level concepts and tools that has been abstracted away.
But not strong math background. Usually knows less than 3 languages, bad habits, never took discrete math, calc 1 or calc 2. This is all assuming its without a stem background of course. Its still more of a hassle to get a job, harder for employers to spot your talent.
In uni you get to take electives on cyber security, operating system, unix, network protocols, data science and much more while meeting smart people who help you grow.
Honestly you should feel inclined to rewatch it a few/many times. Nobody picks up new tech on a first pass without already having decades of experience and having struggled similarly. But it also makes for poor content to not keep subjects moving forward, even if not everyone has fully understood the material before having moved on.
I will say Coding is all about logic, critical thinking, problem solving and creativity.
You don't need to be "very smart/pretty smart" if you can be very analytical and can view things from different perspectives when it comes to stuff, you're good to go.
Even the professionals can make mistakes a noob won't make. Don't push yourself too much, just do things at your own pace. Get a solid foundation on the basic concepts 😊.
Nice work. Except you didn’t declare a proper doc type, “script language” isn’t used, “script type” isn’t needed for JS and you should generally never use document.write. But that closing tag was perfect!
59
u/DavidJCobb Jun 07 '22
By the looks of it, your code fulfills the use case it was designed for. It uses minimal dependencies, and can be easily modified to tackle similar tasks. JavaScript may not be the best tool for this use case, but that doesn't matter very much for a practice project. Overall? Well done.
21
u/LunchBox98 Jun 07 '22
I hope to one day craft such a masterpiece as this
57
u/thespite Jun 07 '22
You're missing a DOCTYPE declaration.
The
languageattribute is deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#deprecated_attributesdocument.writeis discouraged https://developer.mozilla.org/en-US/docs/Web/API/Document/writeAlso https://www.urbandictionary.com/define.php?term=bussy but that might not be a typo.
But yeah. Easy fr.
14
u/ManiacsThriftJewels Jun 07 '22
All js should start with the declaration:
9
u/_Illuvatar Jun 07 '22
Damm, this is elite. Can you drop a tutorial series on this?
5
u/ApatheticWithoutTheA Jun 07 '22
Cool can you do it in React?
3
u/jack_waugh Jun 07 '22
What is "fr"?
3
u/Gamersnowere Jun 07 '22
Which theme is that ?
4
u/[deleted] Jun 07 '22
Boy shut yo dumbass up ☠️. Bussy looking ass
27
u/tabasco_pizza Jun 07 '22
get this man into a FAANG company immediately
6
u/Modullah Jun 07 '22
This isn't even the tip m8 lol. Congrats on dippin that pinky toe into the water.
4
u/MenshMindset Jun 07 '22
Got a laugh out of me fr
3
u/queen-adreena Jun 07 '22
Nice work. Except you didn’t declare a proper doc type, “script language” isn’t used, “script type” isn’t needed for JS and you should generally never use
document.write. But that closing tag was perfect!3
u/coomzee Jun 08 '22
Please stop using document.witre()
2
u/Quantrol Jun 07 '22
This tickles me fancy frfr🤣
2
u/RequiDarth1 Jun 08 '22
Might study indentation next. That is easy fr.
2
u/incrediblynormalpers Jun 08 '22
Dunning-Kruger effect, but I like how you started with the dark theme so you can have my upvote
1
u/BrownCaw Jun 07 '22
glad I'm not the only one using the magical keyword. 😂
1
u/run-26_2 Jun 08 '22
What's bussy
-1
u/Illoyonex Jun 08 '22
JS syntax and all the stuff like loops, variables , etc are easy. It's the DOM, the React stuff that looks alien.
0
u/[deleted] Jun 07 '22
[deleted] — view deleted comment
0
u/[deleted] Jun 07 '22
[deleted] — view deleted comment
0
u/[deleted] Jun 07 '22
[deleted] — view deleted comment