Sign in

originally published on hellodevworld.com

Congrats! You have chosen the best and most overwhelming career. There are so many great things about being a developer or software engineer but do not fall into these pitfalls junior engineers frequently fall into!

1. Be a Smart Ass

You may think this is a given but you would be surprised how many junior developers have an attitude and that they know better than everyone. Let me tell you no matter how much faster you could do your work than the others in your class you do not know more than your senior developer and you have no reason to…


Originally publish on hellodevworld.com

Congrats! You have chosen the best and most overwhelming career and you are at the magical point where very little is expected of you. There are so many great things about being a developer or software engineer but be sure to do these things as a junior engineer to get your career on the right track!

1. Ask Questions

Some people may think this is a given but you may be amazed how many junior engineers feel they should know everything and stay quiet rather than asking questions, or they think their question is stupid so they don’t want…


originally published on hellodevworld.com

Happy day 9 of 365 Days of Coding! Today is day 2 of a 4 day series on creating a sign up form! This form can have any input but you must require, first name, last name, phone number and email. It should also have a section for OAuth (allow for sign in with Facebook, Google, etc.). The phone number must be formatted. It will also have validation for the email and phone number. Since this is more than just 1 function I am going to create a Github repository for it. Every day will…


Originally published on hellodevworld.com

Happy day 8 of 365 Days of Coding! Today we are starting a 4 day series on creating a sign up form! This form can have any input but you must require, first name, last name, phone number and email. It should also have a section for OAuth (allow for sign in with Facebook, Google, etc.). The phone number must be formatted. It will also have validation for the email and phone number. Since this is more than just 1 function I am going to create a Github repository for it. Every day will be…


originally published on hellodevworld.com

Happy day 7 of 365 Days of Coding! 1 week down 52 to go. A JavaScript solution for a function that counts how many times something shows up in an array. This can be a flat array or an array of arrays.

Disclaimer: there are MANY ways to solve this problem this is an answer that I would see or use in a coding interview and would accept as a proper answer

TLDR: Solution is at the bottom of the post

The Problem

Create a function that accepts an array and an item and counts the number…


originally published on hellodevworld.com

Happy Day 6! Today we are going back to basics. This challenge can easily be applied to front end as well as backend.

Disclaimer: there are MANY ways to solve this problem this is an answer that I would see or use in a coding interview and would accept as a proper answer

TLDR: Solution is at the bottom of the post

The Problem

Create a function that accepts a string and a number. The function must return the given string truncated to the maximum length (number that was passed in) followed by "...". …


Today we are borrowing a challenge from Codewars!

Disclaimer: This is not my challenge the original challenge is linked about. Also, there are MANY ways to solve this problem. These are a few answers that I wrote or find clever with explanations of why/how they work

TLDR: explanation of best solution at the bottom of the post and actual solutions at the bottom of each section

The Problem

Create a function that accepts and array. Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise.

Examples:

snail( [[1,2,3], [4,5,6],[7,8,9]]) // [1,2,3,6,9,8,7,4,5] snail([[1,2,3]…


Originally published on hellodevworld.com

Day 4 of 365 Days of Coding challenge!

Disclaimer: there are MANY ways to solve this problem this is an answers that I would see or use in a coding interview and would accept as a proper answer

TLDR: Solution is at the bottom of the post

The Problem

Write a function that accepts a string of numbers or a number and converts it to a US phone number format.

Examples:

phoneFormat(2359654144) //'235-965-4144' phoneFormat('2359654144') //'235-965-4144' phoneFormat([2359654144]) //'235-965-4144' phoneFormat(1234) //error: was not supplied enough numbers please pass a 10 digit number phoneFormat(23596541445) //error: was supplied too many numbers…

originally posted on hellodevworld.com

Welcome to day 3 of 365 days of coding! Today we are going to jump into ciphers. Specifically the ROT13 Caesar cipher.

Disclaimer: there are MANY ways to solve this problem these are a few answers that I would see or use in a coding interview and would accept as a proper answers

TLDR: explanation of best solution at the bottom of the post and actual solutions at the bottom of each section

What is a ROT13 Caesar Cipher?

If you have ever done any research on cyber security or cryptography you have probably heard of a Caesar cipher. If you…


originally posted on hellodevworld.com

365 days of coding day 2! How to flatten, filter, and sort and array in JavaScript. The solution for a popular interview question flatten an array taken one step further to make it an array with only the unique values and have it sorted in numerical order. I did add strings to the tests later today so I apologize for the people earlier that just got numbers. for their tests.

Disclaimer: there are MANY ways to solve this problem this is an answers that I would see or use in a coding interview and would…

HelloDevWorldBlog

I love being a dev and learning from other devs as well! I want to help aspiring and current devs love their jobs, fix issues, and solve the world’s problems!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store