21
57
u/thespite Jun 07 '22
You're missing a DOCTYPE declaration.
The language attribute is deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#deprecated_attributes
document.write is discouraged https://developer.mozilla.org/en-US/docs/Web/API/Document/write
Also https://www.urbandictionary.com/define.php?term=bussy but that might not be a typo.
But yeah. Easy fr.
14
11
u/kwesi_kakarot Jun 07 '22
😂😂😂😂😂
Yeah Easy fr...but not Simple fr🤣🤣🤣. Seems it's not as easy fr as he thinks 😂.
0
Jun 07 '22
[deleted]
1
u/kwesi_kakarot Jun 07 '22
If your first language isn't English your first language, people have made videos on YouTube focused on coding.
0
Jun 07 '22
[deleted]
4
u/kwesi_kakarot Jun 07 '22 edited Jun 07 '22
Check out this YouTube channel Tarversy Media.. He does it step by step explaining everything.
Edit:
You can also add Kevin Powell. Also , looking for a study partner so feel free to link up
2
u/d1sc1pl Jun 07 '22
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
2
Jun 07 '22
Learn with Leon aka 100devs starts from the very beginning and has great discord for support.
2
u/nooby339 Jun 07 '22 edited Jun 07 '22
I thought it was easy lmfao. Good luck!
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.
1
u/HadoukenYoMama Jun 08 '22
Plenty beats an actual school but that's usually the mantra of people who spent a bunch of money .. on school.
1
u/nooby339 Jun 09 '22
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.
Again, to each ones own.
1
u/jmblock2 Jun 08 '22 edited Jun 08 '22
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.
1
u/AcaiCoconutshake Jun 07 '22
If you need dumbed down try https://scrimba.com/. It’s the only thing that has made me feel comfortable learning coding from zero.
14
u/ManiacsThriftJewels Jun 07 '22
All js should start with the declaration:
document.write = () => throw 'Bad dog. No biscuit.'1
u/caligula7944 Jun 07 '22
i have no idea what this means lmao
9
u/LostErrorCode404 Jun 07 '22
It changes the source code for document.write to instead throw a error, stopping the program.
Terrible practice to mess with prototypes and default functions, but funny for the meme.
5
u/Safe_Skirt_7843 Jun 07 '22
what are you talking about? it makes you program like morbius, you are delusional
1
1
9
5
3
u/jack_waugh Jun 07 '22
What is "fr"?
12
u/kwesi_kakarot Jun 07 '22
"For real"
So... Easy fr (easy for real)
5
u/caligula7944 Jun 07 '22
kwesi i gotta say you type very professionally. seems like the people that are into coding are usually pretty smart or educated.
7
u/kwesi_kakarot Jun 07 '22
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 😊.
2
6
-10
u/caligula7944 Jun 07 '22
i have never seen someone who didnt know what fr meant.
2
Jun 08 '22
There are dozens- dozens!- of people on Earth who don't speak English as a first language.
3
u/Gamersnowere Jun 07 '22
Which theme is that ?
4
u/caligula7944 Jun 07 '22
visual studio code, it letme pick when i installed. this was dark theme high contrast, only had 4 options
4
Jun 07 '22
Boy shut yo dumbass up ☠️. Bussy looking ass
6
27
6
u/Modullah Jun 07 '22
This isn't even the tip m8 lol. Congrats on dippin that pinky toe into the water.
4
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
2
2
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
-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.
3
0
0
0
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.