r/learnjavascript • • Jun 07 '22

this coding stuff easy fr

Post image
149 Upvotes

71 comments sorted by

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.

24

u/caligula7944 Jun 07 '22

im good like that. thank you fr tho, never been much into computers but from what ive seen coding seems fun. like learning an instrument.

3

u/jack_waugh Jun 07 '22

Are you more of a craft worker or an engineer, by temperament and interest? The best coding (and most fun, in my opinion) is an act of engineering.

0

u/[deleted] Jun 07 '22

[deleted]

10

u/[deleted] Jun 07 '22

Buy Colt Steele's udemy course very cheap and really good

3

u/caligula7944 Jun 07 '22

tyty ill look into it

2

u/DabInALab Jun 07 '22

Just to add, I can’t recommend that course enough. I’m closing in on the end of it right now and I have learned so much from it

Wait for a sale on Udemy though. You can grab the course for like $12

2

u/[deleted] Jun 08 '22

Yh that's what I did, or just make a new account and you get a discounted price

1

u/survivorsarah Jun 08 '22

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...

2

u/[deleted] Jun 08 '22

There's no subscription, it's a one time purchase

0

u/survivorsarah Jun 08 '22

I see theres a subscription model, does it apply to the entire website or just specific courses...?

1

u/[deleted] Jun 08 '22

Entire website, I personally wouldn't get that. I'd recommend just buying the courses you want/need.

2

u/_Invictuz Jun 07 '22

Accounting is boring, FYI.

7

u/caligula7944 Jun 07 '22

yea i figured eating hot glass would be more fun. i mean i thought coding was too until i saw a bit of what it is

21

u/LunchBox98 Jun 07 '22

I hope to one day craft such a masterpiece as this

8

u/caligula7944 Jun 07 '22

goated with the sauce

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

u/caligula7944 Jun 07 '22

i have no idea what any of that means, i do know bussy tho

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

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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

u/ManiacsThriftJewels Jun 07 '22

Is it worse than actually using the method it replaces though?

9

u/_Illuvatar Jun 07 '22

Damm, this is elite. Can you drop a tutorial series on this?

4

u/caligula7944 Jun 07 '22

i gotchu homie

5

u/ApatheticWithoutTheA Jun 07 '22

Cool can you do it in React?

8

u/caligula7944 Jun 07 '22

i could barely do it period lol

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

u/Muted_Dog Jun 08 '22

lmao I wish mate

6

u/Illoyonex Jun 08 '22

Css fractional unit.

display: grid; grid-template-rows: repeat(4, 1fr);

3

u/catscancode Jun 08 '22

thats actually what i thought lol

-10

u/caligula7944 Jun 07 '22

i have never seen someone who didnt know what fr meant.

2

u/[deleted] 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

u/[deleted] Jun 07 '22

Boy shut yo dumbass up ☠️. Bussy looking ass

6

u/caligula7944 Jun 08 '22

found the one who gets no bussy

2

u/EatMeMonster Jun 08 '22

this is reddit no one here gets bussy

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/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

u/jack_waugh Jun 08 '22

JSX is alien and I say it is unnecessary.

0

u/[deleted] Jun 07 '22

[deleted]

2

u/ryesan58 Jun 07 '22

😂🤣😂🤣

0

u/[deleted] Jun 07 '22

[deleted]

5

u/caligula7944 Jun 07 '22

bussy lmao