Wdg

Previous thread: >Beginner Roadmap and Overview
github.com/kamranahmedse/developer-roadmap (don't be overwhelmed, ignore the later parts and go step-by-step)
youtube.com/watch?v=UnTQVlqmDQ0

>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 (ignore sponsored stuff, look at upvotes)
learnxinyminutes.com - quick reference sheets for the syntax of many different languages
pastebin.com/gfBPg24A - Collection of PHP links.

>Need help with some HTML, CSS or JS?
jsfiddle.net - create an example here and post the link
codesandbox.io - or here if you're using React/Angular/Vue

Attached: 1551573969963.png (2028x1152, 779K)

Other urls found in this thread:

github.com/jgraph/drawio/issues/495
pastebin.com/uJiS6s4t
filezilla-project.org/
paragonie.com/blog/2015/05/preventing-sql-injection-in-php-applications-easy-and-definitive-guide
php.net/manual/en/book.pdo.php
pastebin.com/yqwdnguQ
weblog.rubyonrails.org/2019/8/15/Rails-6-0-final-release/
twitter.com/AnonBabble

Why isn't this working?

Attached: 1332832649979.jpg (303x404, 34K)

cunts

Attached: 1537847555021.png (1355x417, 88K)

>cunts
because of the class names being alphabetical?

Yeah, I know I cant use full name because it is reused elsewhere so I just
#root > div:first-child > nav:nth-child(2) { display:none!important;}

whatevr

EXPLAIN THIS SHIT. YOU CANT.
>disable js
>goto github.com/jgraph/drawio/issues/495 or any issue with lists in the body
>inspect until you find the greyed out
>box model properties show display: none, but the style itself for display doesn't show in the element list, only on 'compiled'
you can even try display: block !important

>!important
for the love of god, these should be a last resort to be used in CSS.
i've seen a lecturer open one of his "web design" business' stylesheets. wouldn't you know it was full of this.
find out what's overriding the style from being set and change it.

it is userCSS to override the resource one, it is absolute irrelevant there

I was gone for few months, sorry, had some personal issues to deal with, now i'm back, ask me anything PHP related.

whats getCategoryNameById()
whats $category_id
need context

Attached: Untitled.png (1860x825, 81K)

Jow Forums won't let me post the code for some reason.

Pasted it here: pastebin.com/uJiS6s4t

Pic related is the result.

Attached: d.jpg (1920x1080, 94K)

Pls recommend me a good guide to setting up an FTP server. I wanna try hosting stuff for practice.

Attached: 1562608345914.jpg (326x326, 21K)

Use filezilla

I'm that far at least user. Is there a guide to actually using Filezilla and using it to host content? Assume I'm a retard who doesn't know what an IP address is. I do, but assume anyway.

Attached: 1561924878385.png (662x478, 22K)

This is your homework for tonight user
filezilla-project.org/

>Is there a guide to actually using Filezilla and using it to host content?
Yeah, it's called the official documentation.

>Install FileZilla to machine
>Set up user(s)
>Open port
>Connect to it via client
How hard is that?

>pastebin.com/uJiS6s4t
you code is vulnerable to SQL injection, fix that first.

see : paragonie.com/blog/2015/05/preventing-sql-injection-in-php-applications-easy-and-definitive-guide

I'll give it a shot.

>Install FileZilla to machine
>Set up user(s)
>Open port
>Connect to it via client
>How hard is that?

Let's find out.

Attached: ghost.png (466x433, 294K)

I want to fix the problem first and then i'll do that. I'm on localhost anyway, it isn't a live site yet.

>Putting a GET straight into an SQL snippet
Absolutely madlad

Attached: aah.png (738x684, 61K)

>nuh, i will do it later
NO YOU DO IT NOW FFS
seriously, i'm not taking a look at your fucking code until you fix that kek

pls, the site isn't live. I need to get it working first then i'll concentrate on making it secure.

Attached: Deal-WI.webm (640x360, 357K)

>these should be a last resort to be used in CSS
That's like saying using Javascript should be a last resort when something can't be made in CSS.

stop using "mysqli_" functions, switch to PDO : php.net/manual/en/book.pdo.php

also, what the fuck is `$conn` + why the fuck are you using global variables ?

+ you are always using "$category_id", but that variable is only defined if 'category' was passed in the query string, make sure to enable php errors

Not even close, but thanks for playing. You're leaving here today with an airhead and a ThinkPad with Gentoo installed.

This is probably a really retarded question but it's been giving me such a headache so here it goes:
async function doSomething(query) {
let json;
request(myUrl, (error, response, body) => {
json = parsePage(body, query);
console.log(json);
});
console.log(json)
}

I'm using the request library and then have a custom function that parses a page. When I consol.log json within the request function, I see I get the exact data that I need, but if I console.log json within the doSomething function, I get undefined. It doesn't matter that I return the json in the request function. How to retrieve the json data?

Can anyone help me fix this userChrome.css for Firefox? I am trying to remove the 1px left/right gaps next to the top gray line in the "New Tab" in pic related. I copied bits and peices of this from a few github pages, as they don't seem to work on their own.

I'm using the "Compact" density setting.

Here is the complete file:
pastebin.com/yqwdnguQ

I think the issue is in one of these monstrous areas:

.tab-background[selected="true"]::before {
background-image: var(--svg-selected-before) !important;
filter: drop-shadow(-1px 0px 0px #7F878F);
}

.tab-background[selected="true"]::after {
background-image: var(--svg-selected-after) !important;
filter: drop-shadow(1px 0px 0px #7F878F)
}

.tab-background[selected="true"] > spacer {
background-image: var(--background-selected-middle) !important;
filter: drop-shadow(0px -1px 0px #A3A8AD);
}

:root {
--svg-selected-before: url("data:image/svg+xml;utf8,");

Attached: pic.png (954x545, 19K)

I just realized I don't really like software development.

I need some opinions on how to architecture an angular library, but since you guys are useless I made a stack overflow account, but apparently you can't post questions that ask for people's subjective opinion on the matter, and I feel like mine fits that bill. So where else can I get help from people who actually know what they're talking about and not imbeciles like yourselves, I don't really want to go to reddit but I will have to if I don't find a better place.

Attached: g.jpg (1189x1684, 132K)

How do I move this to the right? How can I generally move things to the other side, or make the container larger? I tried making the width 100% but the profile box got squshed for some reason

Attached: Capture.png (1002x786, 85K)

set its margin left to auto, or just wrap that and the button in its own container and use space between

It already is margin-left auto

whats the styling of the parent element of the icons?

You're doing something wrong.

Attached: Capture.png (1908x686, 30K)

With 100% of what? the icons container? It probably got squashed because it's flexible, set the flex shrink to 0.

What design patterns do you use more often?

might not work because the return might not do anything, but you get the general idea

async function doSomething(query) {

let josn = await request(myUrl, (error, response, body) => {

return parsePage(body, query);
});

console.log(json);
}

if it's a personal project then do it how you feel like and then fall in your own pit holes

im learning async for the first time but havent really coded anything yet
isnt the problem that the variable isnt set yet, like the tutorials always say you need to retrieve the value with .then()
because the request is a promise

to add to this

see async as an abstraction on top of promises and generators

it returns a thenable promise
the await works like the next() in generators

Okay I figured out FileZilla. Got a nice little FTP server going, what is the best application for site hosting? Is MAMP good? Is MAMP the only option? I literally have no clue.

Attached: 1562184710608.gif (320x240, 2.3M)

How do I design a website? Is there a good course on web/UI design that explains basic principles? The website I want to design doesn't have to be fancy, I just want it to look good and have a functional UI.

browser bug?

Go to w3schools. Do a crash course in HTML, CSS, javascript and PHP first. Then learn Bootstrap if you want good portability and page flow.

Which of these is the most exciting stack to work with: React.js + Node or Vue.js + Ruby on Rails?
I'm a junior dev and I got two job offers, about the same salary and benefits and everything. I think in terms of job prospects Node is definitely superior, but is Ruby on Rails really that bad? Does anyone here actually enjoy working with it? I love Django (more than I do Node) so I'm wondering if there are similarities between the two.

they're both 100% meme stacks who cares lmao
ruby is going out of fashion (except for in Japan) but it doesnt actually matter

weblog.rubyonrails.org/2019/8/15/Rails-6-0-final-release/
>Support for multiple DB's
>Built-in support for rich text editing
>Built-in email library
>Webpack by default

Attached: 68511515_2093021904324966_6415400728868683776_n.png (720x960, 982K)

>meme stacks
As opposed to what? Java?

Attached: 1565464321924.png (294x322, 210K)

java is a fantastic language, best in class actually

Has anyone bought a boot theme before? Is it worth it and how the FUCK do you transfer the thrme on the website to the client?

agreed sir

Attached: pooloo.jpg (383x681, 43K)

Ruby on Rails werks, stick with it if you want. C# with ASP.NET Core is also good.
Everything else is either antiquated or not suitable for a beginner

Node.js based stacks are this though. Unmaintainable unstable insecure dumpster fires compared to alternatives.

Fuck off pajeet

I make 200k a year what do I know

Attached: dankmeme.png (1600x1832, 413K)

ANYONE PLS

>C# only 89k
BTFO seesharp fags

Attached: 1565093017986.gif (294x250, 90K)