What do I need to know for web development?

Hey, I’m currently learning web development and I was wondering which languages I would need to learn. I’ve learnt HTML and CSS, currently learning JavaScript. I’m not sure if I need to learn PHP or Ruby aswell.

Also,

How do I make a website compatible for mobile, tablet and PC? When I’ve made websites they’ve always looked different in each browser, so I expect it to look different on different devices.

How do I make so that all the stuff I’ve put on my website, stays there? As I said, in different browser it looks different. Like, a DIV could be further to the right or further down.

Also, is there something I should know for web development?

Thanks!

2 Likes

For web development, you will need to learn a programming language for your backend, as well as SQL for your database (or another query language if you’re using nosql).

Since different devices like mobile and PCs have vastly different screen sizes, you use CSS media queries to provide styling for those different devices.

Getting your website to look the same in multiple browsers isn’t as hard as it used to be. Use HTML5 and test in multiple browsers. It’s often possible to get pixel-perfect accuracy between modern browsers these days.

Web development is a can of worms, lol. If you’re learning JavaScript right now, you should consider also learning NodeJS since it’s also in JavaScript (Though node uses ES6 which has a bunch more features than browser JavaScript). That way you don’t have to learn another language on top of the others.

1 Like

Bootstrap also helps a lot with that (responsiveness), and it is simple to learn. I’d recommend JavaScript + Bootstrap (then React? I’ve yet to learn that but I see people recommending) for front and NodeJS for back since they’re already learning JS. MongoDB integrates very well with Node, so you could also learn that later. Killing three birds with one stone.

I feel like bootstrap is a pretty dated recommendation now. It doesn’t line up well with how people typically couple their styles with their components, nowadays.

1 Like

Bootstrap is just incredibly easy, especially if you’re not a design savvy individual. It’s a quick way to make your website passable. I’d recommend picking it up just for how quick you can turn projects around using it.

As long as you don’t mind that you’re making every fucking bootstrap website ever.