r/code • • Jun 18 '23

Javascript Javascript .forEach method - Blog Post

0 Upvotes

Hello all, I've just uploaded a post about the JS .forEach method. I hope it's useful for everyone. Please let me know your thoughts and reach out with any queries for feedback :)

https://medium.com/@jsutcliffe1991/javascript-methods-foreach-3c7df1312cce


r/code • • Jun 25 '23

Javascript Javascript .map() array method - blog post

0 Upvotes

Hey all, I hope everyone's weekend has been positive! I've been learning about the .javascript array method .map() and wrote about. I hope it can be of help to anyone who reads. If you have any queries feel free to reach out! Also feedback / advice or comments very welcome!

https://medium.com/@jsutcliffe1991/javascript-array-methods-map-6ad3bfa50aef


r/code • • Jun 28 '24

My Own Code for in loop

0 Upvotes

I wanted to access the number of fruits in this object, but keep getting 3 undefined. since I'm getting 3 I know I have them I just cant visually get them what should I do so I can have the numbers printed out thank you

let list = {
    apple : 10,
    orange: 20,
    grapes:1000,
}
for (items in list){
   console.log(items[list]);
    }

r/code • • Oct 25 '20

Javascript Functions in js but it does nothing.

0 Upvotes

function functionthatdoesnothing(){

}


r/code • • Jan 16 '23

How can I write this same code in schema language

Post image
0 Upvotes

r/code • • Jul 14 '20

Where do I start to learn?

0 Upvotes

I'm a non-technical founder. Had a number of tech businesses. Its time to learn to code, for me fullstack would be the aim. Used VueJS & Laravel in our current platform WeStryve. Where do I start?


r/code • • Jul 30 '20

I run ubuntu and i need help downloading tails

0 Upvotes

i downloaded for linux, used the command promt for deb. and now i dont have permission to download of my flashdrive(/sdb). I have read a lot of message boards and they said i need to use chmod, which i did, i copyed and pasted their command. (didnt install anything) I have no idead how to use chmod I was hoping someone here could help me

i run on 16.04 ubuntu, downloaded for linux, used the deb. command promt, dont have permission to access my flash drive. Forgot to mention im using torrent not img and no i dont have a vitual machine.


r/code • • Sep 23 '20

Halp pls! Help me decipher this code.

0 Upvotes

I’m in this group and they gave everyone a code to decode so I’m asking for your help to help me decide it here it is.

;_U(3<A6is<(92N<V[]<&&2<%p=1<E3)9egTR<,6GU<[<p<GP'#<GY],;_W#U<LkE=);DL;cQR<,,HB;D;Wi;efi4;/:DY;gM2-<)lsd<Wm)9ef73<&$j?;akJI;FPP$<)uIZ;(ufT;FNDs<W]a=&pf<)uUj<dIYI9e]aB:.@]C;cHJ;;H5GA:.@uF:2>)O<&%EO;DCXE<(:Cn<V[\;H@a2;JS-n<E3^/=)3%U<)keY<dIAH<(0hW;//]o:2=Z7;_U$_<W]a;cQ^q<)m+&<\S>^;))H;J^;S<\S>X;D9p^=)2>;=)2bO;H6=Y<\Q7#;FYV$:/jhb;-%IY;/8$m<E3R%=)3%L<,,H5;D<2b;FX_;/B99;D;oU<,43i=);P@=&jK:<!$t;akJI;FObc;f#3.;,gPA;en6h<\R98:.8&X<%pd>;aka];/8Wr;H?7X;cH@<^e==%6jm=)1Dp<)keY<\S>u;enB;/:,A<AAE<;cPhU<E3Qt=&r3r<&%O$;(tFa;FObc;f#3/<Ns);cPhV9l"E/:.B/I;JK*4<\S<7<(9b\<,?5N;H@a(<%p!\<^oe=<Vse<CL\K;akM#=&j?9<,?5I;-%U]<CJ!<A7re:/uO-<,43d;D:gk<^g%Y;/BoJ:..iG=)1i'9l*Qk:.8&N<,,H;;DDur;enit<,>$+:.8tf<E1bD=);P@;cQ^r<,,</;akJI;FObY;/Bo:;gMV9<N0f=);PB=&jK:<*!%&;,f50:fK


r/code • • Sep 12 '20

Resource Watch to learn formatting and quotations

0 Upvotes

Link to the video : https://youtu.be/9opGyXkegTs

hi 👋 i run a youtube channel where i teach every beneficial part of html and css and after that I’m planing on teaching react and python

i make my videos in 2 parts one where i teach and show examples for that subject in this example formatting and quotations and for part 2 of this video which I’m gonna upload tomorrow

I make a project and give exercises so anyone watching and easily learn with practice and some time


r/code • • Sep 12 '20

Guide Watch this to learn formatting and quotations

0 Upvotes

Link to the video : https://youtu.be/9opGyXkegTs

hi 👋 i run a youtube channel where i teach every beneficial parts of html and css and after that I’m planing on teaching react and python

i make my videos in 2 parts one where i teach and show examples for that subject in this example formatting and quotations and for part 2 of this video which I’m gonna upload tomorrow

I make a project and give exercises so anyone watching and easily learn with practice and some time


r/code • • Feb 05 '20

Start coding

0 Upvotes

Hello, I am just starting coding and just wanna know how to write a jump script in unity with c#. I looked up for a few videos and couldn’t find anyone helpfull, so can pls someone help me out.


r/code • • Apr 24 '18

Should You code ??

0 Upvotes

So I have got 12 emails since yesterday telling me that I can learn programming in 14 weeks . The average salary for a programmer in USA is $79000 which is significantly higher than national average of $55000 . Even the lowest paid 10â„… programmers make more than the national average . So what I don't understand is why are the companies paying such a high price for something which I can learn in just 14 weeks . The answer to that is the companies pay that amount not for #programming but for

computerScience

Don't mistake them as same thing Computer science is much vast than just programming it involving solving complex mathematical problems while The programming you learn in " 14 weeks " only teaches you the syntax to write a code not the problem solving skill you need in order to get a high paying job . So here is the conclusion It's possible to learn programming/coding in 14 weeks but it's not possible to get the 6 digit job you want with only that much Not everyone will like computer science Should you learn programming sure do it it's cool , fun and really helps you understand how most of the tech works . But if you want to earn using code it's not that easy And surgeons and bankers , financial adviser , stock brokers, property dealers also make a lot money so don't get into something just for money .You can earn using anything as long as you are passionate about it . Because if you just learn to code for money it's definitely going to burn down the supply and demand and basically salaries will go down .

Source . Poly Matter / YouTube And a lot more articles

ShouldYouCode !!! ??

What's your take.


r/code • • Mar 11 '24

Javascript Question on error

0 Upvotes

the 404 is connected to the .catch line, and the Error: could is connected to the throw new error.

why in the console does the 404 come first if the catch is at the end?

side question why can you use .then with fetch


r/code • • Aug 10 '21

Halp pls! Interesting white space I found, can anyone identify it?

0 Upvotes
​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ 

Check out that single white space.

Can anyone identify it? It has to be some sort of unicode but I can't figure out its Unicode index.

It is a 70 character wide single space white space. I have never seen anything like this in my life when working with characters. I know that emojis can take up to 4 characters and some Arabic combinations can reach 5 (or maybe 6). But never have I ever seen a character even come close to 70.

I found this while moving file from my Windows machine to my Nas, it was generated by windows with the GameDVR screen shot feature for the game Call of Duty Modern Warfare, the original file name was

C​a​l​l​ ​o​f​ ​D​u​t​y​®​_​ ​M​o​d​e​r​n​ ​W​a​r​f​a​r​e​®​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ May 26 20 03_10_28 PM.png

which is 154 characters long according to my text editor, but is only 76 spaces wide. And at this point I don't know what column number I can trust anymore.


r/code • • Jul 01 '22

Anybody know where the error is happening in this code ?

Thumbnail
gallery
0 Upvotes

r/code • • Nov 18 '19

Need some simple PHP coding explained.

0 Upvotes

So we (my class) is getting started with PHP coding and were given the task to write a program that would write the following text:

(Watch image)

For most of you this is going to be easy, but I have no clue where to begin. So i checked what the final answer is supposed to be:

<?php          $rowNumber = 10;        while( $rowNumber > 0 ) {          $columnNumber = 0;          while ( $columnNumber < $rowNumber )          {                    echo "\*";                    $columnNumber++;          }          echo "\\n";          $rowNumber--;        }?>

I just don't understand how I'm supposed to see this. Anyone got any advice for how I can practice these kinds of tasks?


r/code • • Dec 06 '21

Halp pls! Can you find an old/potentially deleted code

0 Upvotes

He's going to sound weird but for the past 3 years I've been trying to find a specific playlist that used to be played on SCM on Tumblr. The owner of the playlist deleted SCM on their Tumblr but I'm trying to find a way back to that playlist any ideas on how I can't find it? INFO: Already looked through the wayback and the content is blocked. Even while looking at the added stuff it redirects me to the blocked page?? I don't know what most of these codes mean but I have been searching and searching and I kind of know what I should look for but any help would be appreciated. Edit: I'm aware about the spelling mistakes I'm running on 3 hours of sleep and non stop searching.


r/code • • Dec 10 '20

Halp pls! is it possible to make bot that pastes every 5 seconds

0 Upvotes

how do i make pc paste every 5 seconds pls help ok thank you


r/code • • Nov 10 '20

Guide Coding a survey page for dating my daughter

0 Upvotes

Link to the video : https://youtu.be/JDUs6LpEU5k


r/code • • Mar 03 '20

C++ Looking for teaching

0 Upvotes

I want to learn c++ but k cant find any website thats good. Any suggestions?


r/code • • Mar 11 '20

Code Question

0 Upvotes

I am going to be attending General Assembly and was working on the prework.

Here are my current instructions:

Next we'll add logic to check to see if two cards have been played, because in our final game we will not want to check for a match until the user has selected two cards.

  • Write an if
    statement that checks to see if the length of the cardsInPlay array is 2.

  • For the condition, you can use the length
    property to find out how many items are in the cardsInPlay
    array and then use the ===
    operator to see if the length is equal to 2.

I've got the first part of the if statement, but I am clueless on what they want for the rest of it. Next step is putting an if statement in the if statement...which wasn't hard or a problem. It's this that is making me stuck. Help?


r/code • • Mar 05 '20

In need of PEGA's RPA (Robotic Process Automation) Tool Free Download (Full Version)

0 Upvotes

I'm trying to find the PEGA RPA tool for learning purposes and the free version is not capable of many advanced things, so I looked online for the full version of the tool and I couldn't find it. Can anyone please suggest me a website where I can download the full version of the software for free (it doesn't matter if I've to use a cracked version of the tool).


r/code • • Mar 11 '23

Code Reviews Need Context

0 Upvotes

A prominent social media company I spoke with said, "some teams do lots of code reviews, while others don't do them at all...but we're shipping more and more bugs."

They said, "the key is lacking the context to grok the context quickly."


r/code • • Mar 09 '23

What's missing in PRs & code reviews?

0 Upvotes

What's something you feel is missing in PRs & code reviews?