>Free beginner resources to get started Get a good understanding of HTML, CSS and JavaScript. developer.mozilla.org/en-US/docs/Learn - a good introduction to HTML/CSS/JS and Node.js or Django freecodecamp.org - curriculum including HTML/CSS/JS, React, Node.js, Express, and MongoDB javascript.info - curriculum providing a strong basis in JavaScript
>Further learning resources and documentation developer.mozilla.org/en-US/docs/Web - excellent documentation for HTML, CSS & JS hackr.io - crowdsourced collection of tutorials from across the web for learning languages and libraries (ignore sponsored stuff, look at upvotes) learnxinyminutes.com - quick reference sheets for the syntax of many different languages (generally not sufficient on their own for learning something, but very helpful) pastebin.com/gfBPg24A - Everything PHP
>Asking questions jsfiddle.net - Use this and post a link, if you need help with your HTML/CSS/JS 3v4l.org/ - Use this and post a link, if you need help with PHP/HackLang
Make sure you register your sites to accept Basic Attention Token.
There's no reason not to.
Kayden Martinez
Fuck Javascript and fuck CSS
Liam Turner
What about MathML?
Evan Watson
TypeScript + a CSS library, problem solved.
Jayden Cooper
Oh nice, a ring buffer sounds ideal. Thanks for that.
Dylan Butler
example pseudo code: var a = "apple"; var b = "apple"; var c = "apple";
Is there a shortcut in any editor ( I am using Sublime) to select all strings "apple" and then go over each one change it to some new value? I know that Ctrl+D will select all of them but the pointer will be on all of them at the same time so if I type something they will simultaneously be changed to the same value and I want to change them to different value by jumping from one to another with Tab or whatever
Jeremiah Ross
Ctrl+H is the "find and replace" shortcut in sublime. you can replace all, or go over one at a time with "find next" button
Parker Davis
thanks user , thought there was something even more better similar to Ctrl+D but that will do
Ethan Perez
so I'm getting back into web dev HTML/JS for the first time after 5+ years What's a good resource to bring me up to date? (but that isn't masses of basic stuff aimed at noobs) I've been learning React and all the horrible bundling tools already, I'm more thinking of lower level changes in HTML and CSS
Jace Hughes
Bundling your react site has gotten so simple nowadays. You either use create-react-app, Parcel or even writing a simple Webpack config isn't that hard anymore. I know you didn't ask about that, but make sure you are up to date with ES6, Promises, async/await and that sort of stuff.
Robert Sullivan
did you guys ever made something actually useful in React or similar memescript framework? what was the project about? is it still alive?
I'm fairly new to web dev and have been learning some nodejs for one of my pet project What are the benefits of typescript? Is it just the autocompletion?
Luke Green
it has type checking.
Jason Martinez
Why do I need it if I already know what each variable are used for?
Brody Peterson
Because typos happen.
Evan Evans
you probably dont. its supposed to help reduce the rate of bugs when doing a large project
Owen Lewis
its invented for faggots basically, hard core programmers dont need a babysitting type checking system
Bentley Russell
>not having the equivalent to write-tab function even bash terminal has that man...
Adam Gutierrez
You don't need TypeScript for small projects where you can track everything. For anything remotely complex where you can't, you need it. Also essential for working in teams and maintainability. JavaScript = truly based and redpilled.
Eli Sullivan
>something actually useful not sure about that, but I used Vue to build 4stats.io
Wyatt Lee
hardcore programmers dont put up with the language deciding itself what types your variables are. they control that shit. which means for as long as you're in a thread like this you will never be a hardcore programmer.
t. c fag
Angel Murphy
Any start point on web design?
Chase Anderson
Why are you even here, do you have anything to contribute?
Logan Walker
muh material design!
Blake Peterson
>use webpack >be miserable what else can i use?
Eli Walker
>what else can i use? Whatever you want. Everything will make you miserable.
Liam Scott
the beginning
Leo Carter
Just stop having such a mess of dependencies and tools that you need another tool to manage it all
Chase Young
What's the problem with Webpack? Anyway you can try Parcel.
Jayden Peterson
i even tried to get around writing javascript and using the typescript compiler just because it takes less config than webpack, but that obviously didn't turn out well i literally just want to use es6 imports and classes. that's it. i want to write my regular js without webpack complaining that if i want imports i need to use some stupid plugin or if i want to use the document object i need another stupid plugin yes im a retard but this enterprise configuration shit isnt helping i'll take a look into parcel, thank you
How does Firestore even work in production, when one malicious user could burn through thousands of requests in no time? If you have to proxy everything through cloud functions or another server to be able to apply rate limits, then what's the point of having the feature of direct user connections to the DB? I really feel like I am missing something, but I haven't found a real answer so far.
It sounds amazing in theory. Subscribing for real-time updates, controlling access via security rules, etc., yet one bad client could push me to my daily quota or budget-limit in literally no time with little (native) means to prevent that?
You made 4stats?? That is really awesome! I just checked it out, and it looks extremely professional, but it takes some time for everything to initialize. i can't believe there are close to 1 million new posts on 4C every day. That is mind blowing.
Also, I like how everything looks! When you started this project, did you start with a mock up? Or did you free style everything? I love the responsiveness, and the animations when sorting. It's a nice website, it's clear you've worked hard on it!
James Nelson
Parcel is quite opinionated, so it will do things like transpiling and inlining certain things out-of-the-box afaik. >i literally just want to use es6 imports and classes Almost sounds like a Webpack setup with literally no configuration is what you rather want. Specify your entry .js file and tell it to bundle. Done. Unless you actually need more things like Babel for transpiling, tree-shaking, minification, compiling jsx/vue, and so on. thanks >but it takes some time for everything to initialize. you mean loading and parsing the assets or connecting to the API and establishing the socket connection? I normally try my best to keep everything fast, though the chart library I use for the timeline is a bit heavy and latency could play a role if you connect from far away. >When you started this project, did you start with a mock up? Or did you free style everything? No plan, just everything as I go. I wanted to do something to learn React, but when I decided to expand on it, I switched back to Vue again. pic related was the very first version made with React (more: imgur.com/a/RS1TA)
What's a good free CMS to use in combination with Gatsby?
Matthew Bennett
anyone? I know Firebase/Firestore has become a meme here recently, but I am really interested.
I tried Netlify CMS and that seemed quite nice, otherwise I heard the free Contentful tier seems to work fine as well.
William Jenkins
What is everyone's editor of choice?
Bentley Wilson
vs code
Owen Long
Sublime nigga
Ayden Richardson
thanks
Noah Roberts
Anons, how long did it take you to learn html? What about CSS? Javascript?
It's something I'd like to think about doing, but really have no clue on if it's something I could actually learn or not. I tried learning C++, but I just couldn't retain everything to make me an adequate programmer.
Evan Flores
It's one thing to say, that you don't like a certain language or some specific environment to develop for, but if you had troubles to grasp one language, then switching to something else won't magically make things easier. For webdev there is also a lot more than just learning the individual parts of HTML, CSS and JS. At some point you want to fit it all together in a more organized and optimized way, so you likely get into bundlers, pre-processors, devops; then in order to not only be limited to creating UIs, you likely want to get into backend as well, where there is a shit more to learn like concepts for authentication, databases, etc. Assuming this isn't just some /dpt/ bait. But yeah it's still very interesting and fun if you work on something you are into, like a personal project or just something challenging you like to solve. Hard to say "how long". You can get the basics of HTML and CSS in a day and then it's just a matter of using it to slowly learn about all the specific elements and properties and when to use them. Maybe some you will never use for years and from time to time you find cool things done with them, that you didn't think about before. JS shouln't be too hard, if you already know programming and don't start from scratch.
Justin Perry
VSCodium
Easton Rogers
Atom
Levi Barnes
Is the difficulty level of HTML, CSS, or JS comparable to C++?
Aaron Gutierrez
I wanna load some data into a md-select but its returning pic relate.
How the hell do I put the hash of a password into a php file?
I only need one user for this site. Will it work if I return the hash as a json response and copy it into the user array?
Brayden Howard
It's really hard to compare. I think the saying that it's more important to know the underlying concepts of programming is more important than knowing a specific syntax is true. JS is certainly easier to get into, but ultimately it depends on what you are building. A simple frontend-only website is certainly easier to create, than a complicated fullstack application. With CSS in the beginning it's maybe tricky to get an overview of all those available style properties, but imo the real difficulty with that is to know how to properly structure your styles to keep even larger sites maintainable and easy to edit. And of course the design part. Learning CSS is not even worth mentioning, compared to actually learning how to come up with good looking designs. It's no wonder that many people kinda dislike to work with CSS, because on the one hand you feel like you are some kind of skilled dev when it comes to JS and then suddenly you are a literal child with some crayons, that can't create something good lucking for shit, which can be really frustrating.
Jeremiah White
Probably easier, but its a different ballgame. It's a lot more visually oriented and much more loose with how strict implementations have to be to get a desired behavior than a language like C++. How hard it can get to be is mainly dependent on how hard you make it by the complexity of the visual interfaces you want, and the best ways to implement those are constantly changing over time with new additions in native CSS/JS that replace the need for external libraries that used to be almost standard.
Hudson Howard
This seems to work. Now, how the hell do I implement sessions with this thing. My front-end is an SPA.
Carson Diaz
I get: >Too few arguments to function Zend\Expressive\Session\SessionMiddleware::__construct(), 0 passed in /var/www/iris-dev.info/vendor/zendframework/zend-expressive/src/MiddlewareContainer.php on line 64 and exactly 1 expected
by doing this: $app->post('/login', [ \Zend\Expressive\Session\SessionMiddleware::class, \User\Middleware\LoginHandler::class ]);
How do I pass a parameter to the SessionMiddleware?
Joseph Clark
Vs code is pretty good for this, has both a find and replace on the file, or alternately you can search over the entire codebase or a folder inside the codebase to find and replace. It's very powerful.
Evan Thompson
nevermind, I'll do it without sessions, fuck this, it should work out of the box
Sebastian Long
well I used React with Gatsbyjs to build cousins website for his business
Also use it at work with typescript
Justin Lopez
vscode just works
Isaac Martin
>itp: blog
I posted here three weeks ago about creating babby's first website because I had an idea for one.
In about a week and a half of work, I've created a basic HTML/CSS framework that's enough to get me started on the JS portion of my website. Learning JS is tricky but I'm slowly making progress. I just finished the form validation portion of my site. Now I need to program the function my website is going to perform. It'll be a while but I'm having fun nonetheless. Thanks for listening /wdg/.
Jacob Lopez
I know what normal destructuring in javascript is: [a,b,c]=[1,2,3]
But I would like to know - and can't find answers online - why the following example works. To me it looks like 'double destructuring'. I know why it is necessary to assign it with an empty array (because in case we called the function without arguments) but I don't get why it works. Can anybody explain to why this works or give me a good link to read about it please.
function fun([a, b, c = 33] = []) { console.log(a, b, c) }
fun([1, 2, 3]) // 1 2 3
Jeremiah King
My problem is not the 'c = 33' part (just ignore it), but the double destructuring via '= []' and via the function call.
Is there any course on Udemy or elsewhere on UX? I'd like to up my UX game, but so far I haven't seen anything worth my time.
Elijah Martinez
It's not XP, it's just something that looks like it. People have made OS look-a-likes for decades.
Justin Nguyen
any reason not to pick dropwizard or even sparkjava over spring boot? I like to keep it simple and sprong looks like cancer squared, but it is much more in demand
James Parker
The function receives 1 argument - an array of elements [a, b, c = 33]. When you call the function, you also need to supply an array of values [1, 2, 3], else your function doesn't know how to interpret what you have given it. Check the Destructuring assignment page on MDN.
Colton Thomas
Im trying asp.net mvc entity framework .net core on anguilar.
What should i expect? what versions should i use? leaving at default or LTS versions?
Hi, thx again. Yes I understood it isolated from a function call.
Look, what I mean is, it is strange that we execute TWO destructurings.
First destructuring: [a, b, c = 33] = []
second destructuring: function fun([a, b, c]{} fun([1, 2, 3])
Until now, everything is clear. We just have two different ways of destructuring.
But now we combine them both: function fun([a, b, c] = []) { console.log(a, b, c) } fun([1, 2, 3]) // 1 2 3
For me it looks like destructuring is executed twice. But I think I will just accept it as syntactical sugar. Maybe understand how it works under the hood will help me.
Elijah Morris
No there is only one destructuring here. Your 'first destructuring' is simply a default argument for the function, in case you don't provide a value yourself when calling it.
just witnessing it make me sick, I can see the ironing, but it could also be non ironic, maybe a text with a witty comment about hipsters and webdev...
Elijah Harris
Damn, you are right! I didn't think of a default argument. It reminded me all the time of destructuring. Thanks so much!
Adam Bennett
why do you think it's happening twice? there is only one play you are destructuring an array
it'd make more sense to you if you wrote it like this first:
like the first 2 OP lines? I have actually seen these used way too often on actual sites. Most often with US devs or ones from Scandinavia for some reason. Might just be a coincidence.
Zachary Gonzalez
I have interview tuesday to work as Frontend Developer with React.js.
hell naw, that'd furtherly enforce the hipsterness, more along the lines of "competing with pajeet for low wages"
Colton Diaz
>Advice please. learn React
My consulting fee is 150$ an hour btw. Where do I send the invoice to?
Daniel Johnson
Can i do it for exposure? I'll say how great you are in Instagram and twitter.
Tyler Russell
Heya, /wdg/. I'm making a website for a friend and I want him to be able to update it in the future without my help. Lately, most of my work has been on static sites or custom backends so I'm kind of out of the loop.
Any recommended CMS to work with in 2019? I've used wordpress before but that seems dated and like I'd have to teach him a lot.
what will he update? i am assuming he wants to change pages, posts and create new pages and you don't want to spend too much time on it then wordpress is the best option.