[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/wdg/ - Web Development General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 320
Thread images: 34

File: 1456449140972.png (868KB, 822x552px) Image search: [Google]
1456449140972.png
868KB, 822x552px
/wdg/ - Web Development General

Previous Thread: >>57343056

> Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/

>Useful Youtube channels
derekbanas
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
[Gist] backendDevelopmentBookmarks.md

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/

>How to get started
http://pastebin.com/pDT82mQS

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
I'm having a weird issue with a site I've made. I've built it to be responsive. It looks fine when resizing it in the browser.

However, when viewing it on an Android device in the Chrome browser, it has this weird issue where a small bar of whitespace appears at the bottom of the screen. The bar changes size depending on how fast I swipe downward, and whether or not the address bar is present on the top of the screen. To be honest, this page should not really be scrollable in the first place. It has a min-height of 100%, and there isn't any element within the page pushing beyond that 100% boundary with a margin or padding or something like that.
>>
>>57385052
it sounds like you need this:
html {
height: 100%;
}
body {
min-height: 100%;
}
>>
>>57385131
I have never had a problem with chrome overriding my css but I am reading that it does that and you need to force it:
html,body{
height: 100% !important;
}
>>
>>57385173
remove the important, you shouldn't override since chrome does jack shit. If 100% width/height isn't working for html, body, then you've got an error somewhere else, use the highlightet tool in the chrome browser to see what section he's showing you.
>>
>>57385131
>>57385173
Thanks for the suggestions dudes. I've fixed the issue by adding overflow-y: hidden to html and body, and adjusting the height rules for both elements
>>
Should i learn django or node.js, which one is better?
>>
>>57385400
node.js is not a framework
>>
>>57385288
that is not a solid solution. find the error
>>
>guy has difficult medium/senior-level 1 week gig.
>paying 13 an hour

Decide to take it for part-time hours and for portfolio/resume because I don't care about the pay.

He stopped emailing because I couldn't do full-time.

5 days go by and now he's saying to call him ASAP.

Guess he burned through a few 13/hr dreamweaver wizards who, go figure, couldn't do shit.

Maybe he even hired pajeet who said at 20 paid hours a day it would be done in 2019.

I think I'll cut him a break and do it anyways.
>>
>>57385665
>Think Software developers / Programmers jobs are over saturated.
>Been prograamming as a hobby for like 8 years.
>Consider myself a junior in all languages i know
>Settle down for an avarage salary
>Quickly become Project manager / Lead programmer in the small company im in.
>Too many project for us to handle, time to recuit one or 2 people.
>Out of 8 people i had interviewed, noone knew what the fuck a framework was.
> 2 of them couldn't even make a loop to print an array of objects
> 1 was a female and couldn't even declare a variable right.

Holy. Fuck. /g/

Its mindblowing the people that apply to programming jobs with this level of knowlage.
>>
Been using angularjs 1.4 for 1 year. Should i move to angularjs 2.0?

doing shit in angularjs is comfy as fuck
>>
>>57385942
ng2 is basically a completely different framework. It's mega complicated and feature-rich just like ng1. TS is pretty comfy. Overall, it's a pretty solid framework, and will probably continue to look good on a resume and see corporate use for years to come, assuming google doesn't decide to axe it.
>>
>>57385942
Vue is the spiritual successor to AngularJS 1.x. Unless you want Angular 2.0 on your resume, try it and Mithril.js first. They are so much easier to learn.
>>
What the last useful web thing you made? Show it you fuckers. Bonus points if it is relevant to 4chins somehow.
>>
>>57386398
Useful for who?
>>
>>57386398
>web
>useful
impossibru
>>
I've installed nginx on my Loonix machine and it's working but the html folder is in /usr/ so I need root access to edit those files. How do you change the files in there? I could run my editor as root but that's inconvenient and I don't think it's a good idea
>>
Interesting things to make with Laravel to improve my knowledge? So far I made a blog/cms and a facemash thingy.
>>
>>57387518
edit them wherever and cp /
git clone
them in. Or run a vagrant box / docker container.
>>
>>57385665
The guy wants me to send a resume for a 40 hour job at 13 an hour requiring pro skills.

WTF. I'm going to law down the law right now.
>>
>>57387529
Dick rating site.
>>
>>57387609
Alright thanks
>>
>>57386398
Newest one is not done yet. Too much UI shit to do to show.

tfwnogf.com was useful though :^)
>>
>>57385867
I think the best devs have imposter syndrome.

I can't stop learning to the point where my brain overwrites entire languages I haven't used recently.
>>
>>57387661
>>>/soc/
>>
>>57387518
Install Dokku.
>>
whats the most painless way of deploying an asp.net server to a very cheap ($0?) host that maybe isn't isnt azure

i like c# and the robustness of the framework but i dont understand much of it and setting it up to deployment is kind of hard, should i just try to learn azure
>>
>>57388532
You can get 1 year for free on AWS with a shitty windows server. They have tools that help with deployment (elasticbeanstalk).
AWS is not necessarily the best host after the 1 free year though.
>>
How would you handle multiple client sites on a single server?
>>
>>57388648
Docker, but if you're the guy from before who didn't want docker then idk.
>>
>>57388661
I've tried docker but I can't even keep 3 sites running without one of them going down to memory limits. This is on a 1 GB digital ocean droplet.
>>
Have you ever made a website for nefarious purposes?
>>
>>57388769
Yes.
>>
>>57388733
Details? What stacks?
>>
>>57389197
2 wordpress sites, 1 django

Looking to add 1 react site but can't keep all three of the others running with Docker. Without docker I'm sure there wouldn't be any problem.

For now these aren't client sites, but I'm trying to set things up as if they were for the future.
>>
>>57389268
First, check that you use Alpine, not Ubuntu, inside Docker.

FreeBSD jails could also work for you. They have better docs than Docker.
>>
>>57387529
bump
>>
>>57389354
Post the facesmash thing.
>>
>>57387529
An imageboard. Duh!
>>
>>57389541
>>57389541
im trying to blur something on click with js

<div id="fuck">
something
</div>
<div id="a_button">
nazi
</div>

>
#fuck {
filter: blur(0);
}

// on clic on #a_button
Document.getElementById("fuck").style.filter="blur(50)";

but it doesn't filter:blur(50) anything, while other properties like this work:
    Document.getElementById("fuck").style.background="red";


do ya kno y?
>>
>>57389567
>quoting my dead post to edit
damn i'm tired as fuck
>>
Good tutorials for form styling?

I need something very in-depth. I go full autism when it comes to forms and getting tired of cutestrap.
>>
>>57389567
Is .webkitFilter available?
>>
>>57389268
>can't keep all three of the others running with Docker
- Where's the bottleneck? Memory? CPU?
- Are they running slow, or is shit crashing? If so, do they crash on their own, or is it only when you try to do something? Do they all crash? Just one?
- Are they fairly stock setups, or are you trying to do any real-time stuff with them? (They should be sitting idle most of the time)

You should have no problem running 3-4 low/no traffic sites on a 1GB server.

As >>57389313 said, Alpine is worth a try.
You could also have them share a database. That wouldn't be recommended for real sites, but if they're just dummy sites for a portfolio it should be fine.
>>
>>57389567
You have to use a px when using the blur filter.

http://jsbin.com/gahivol/1/edit?html,css,js,console,output
>>
>>57385867
Please hire me. I'll work for 15/hr as a Jr Dev.
>>
>>57386385
>Vue is the spiritual successor

I can't believe you've done this.
>>
What do massive web frameworks offer that microframeworks don't?
>>
How do I get good at CSS?

I literally spend most of my time on figuring out how the fuck to do CSS. And stackoverflow gives answers that almost always never work.
>>
>>57391098
I don't know, man.

My backend took 2 days to finish and my CSS has taken a week already.
>>
>>57391098
Practice, practice, practice.

There's just a shitload of edgecases, different browsers, and viewing formats that make life hard for that since unlike any back-end stuff which will probably run without any difference between them, CSS that works perfectly in one browser can easily be fucked in another, not counting for mobile. It just takes a lot of getting used to what works and what doesn't and trying to make something that will work for most displays.

You could always just cave and use a CSS framework like Bootstrap or Skeleton to get by.
>>
>>57389930
Memory
Crash on their own, usually just one
Mostly static content

The problem is docker containers hitting the memory the limit. I am going to try what another anon said and see if they are using Alpine. I haven't really tried to mess with these sites in a while so I am not sure exactly how I had them set up.
>>
>>57391098
Learning CSS is easy, its the creativity that kills you. I can do just about anything with CSS, I can even replicate a lot of really good designs if given enough time. But ask me to come up with something original that actually looks good and I'm stumped.
>>
>>57385867
this is my life right now. we've been trying to hire someone for a few months and everyone that comes in like has not even touched JS or PHP, for a web dev position. commooon
>>
>>57387518
wtf just put them in a folder you have write access to and point yer server at that, if its just a dev box. or even if its not.
>>
>>57389268
can you not just use virtual hosts for some reason?
>>
>>57387518
Use http-server for basic css/js/html projects.
>>
>>57391730
Alpine might help, but if they crash on their own it might be a memory leak. Try booting them up on your dev machine (where you presumably have more than 1GB of RAM) and seeing how much they hog on there.
>>
>>57385867
But I can't do any of that then again I'm also not applying to any jobs
>>
File: 1473731020383.png (115KB, 850x800px) Image search: [Google]
1473731020383.png
115KB, 850x800px
>>57392152
What the fuck?

How do these idiots get past HR when I can do everything but can't?

Let me guess, degrees?
>>
>>57392824
we're really small so we don't have any HR its just my boss throwing people at us. i explained very clearly that they should have JAVA-SCRIPT OR PEE-AECH-PEE experience after the last one...
>>
>>57392855
>JAVA-SCRIPT OR PEE-AECH-PEE

You mean like the coffee? I can bring peaches too.
>>
>>57384928
Do you guys still use PHP to build web apps?
Is PHP making a comeback with PHP 7?
Will PHP every die since Wordpress is built on in?
>>
>>57392942
PHP is fine for back-end, just don't use it for front-end.

I use it for back-end APIs that I use JS to interact with. Plenty viable.
>>
>>57392855
That's a weird either/or. Like whats the point in hiring someone to do front end on the basis that they know at least php but don't know any js.
>>
>install something globally with yarn on linux
>command not found
>yarn installs packages in /root/.bin
>and then links them in /usr/bin
jesus fuck
>>
function musicForProgramming(task) 
{
task = (task === undefined) ? 'programming' : task;
return 'A series of mixes intended for listening while '+task+' to aid concentration and increase productivity (also compatible with other activities).';
}



Saw this on a website linked by hackernewletter. Now, I'm a novice programmer, but why would they use an if-then-else statement and needlessly reassign 'task' like above where just initializing task with "programming" with an if-then statement would suffice?

Did they think the '?' operator looked l33t or something?
>>
>>57388648
Don't listen to these retards recommending docker or any other virtualisation.
Every normal HTTP server supports vhosts (different domains on same IP pointing to different folders).

If you need additional security and service separation:
DO got article on nginx https://www.digitalocean.com/community/tutorials/how-to-host-multiple-websites-securely-with-nginx-and-php-fpm-on-ubuntu-14-04
If you use Apache, you can consider mod_privileges.
FreeBSD's jails are a very good option.

Docker is a fucking meme and waste of resources.
>>
What do you guys think of Vertx?

Is it viable to build a reactive web app?
>>
>>57389748
If you do, always make sure to style both background and *text* colour of inputs.
Many retards, including big companies (e.g. Google) fuck up there, and use white background with default text colour for inputs. Good luck with dark system themes, that use white text as default.
>>
I lost my job 2 months ago, and I'm only now realizing that I could probably go back to a place I interned at 2 years ago and I might have a chance of getting hired.

Of course if I don't I'll lose any hope I have left
>>
>>57393377
No reason, because they wanted to do it that way.
>>
>>57393396

>Docker is a fucking meme and waste of resources.

care to elaborate? I really want to get to know Docker a little better , rather than just docs.
>>
>>57393470
If you're not a poorfag trying to run 3 websites on 1 mediocre server, docker is good.
>>
So apparently bootstrap+jquery+codeigniter isnt good enough anymore, people around here are suggesting Angular. Do I go 1 or 2?
>>
>>57393470
It's use case is not for hosting static content or simple web pages. The exception can be one instance with e.g. nginx that hosts multiple webpages.

It's well suited for applications, often ones exposed to network. So it's okay to have a database running in separate docker instance.

You can use it also if you need two instances of the same software running, but in different configurations.

It's also useful if you need to manage big amount of services, as it lets you have an easy way to migrate them between machines.
>>
Why not just point the DNS to different directories?

The fuck are you guys doing?
>>
>>57385942
>>57386385
Don't make the same mistake I did and waste your time learning angular 2, unless you going to develop enterprise level apps.

Google is building angular for their (((partners))) and solving their own problems, not yours.
>>
>>57393566
tough call. nobody uses 2 yet but it's going to replace things soon. The issue is it's a lot less intuitive which is a huge failure on the part of the creators since they were trying to make it easier
>>
>>57385867
>>57392152

How do you guys look for people.

The big sites seem to only look for the Expert ninjas.

I think I have seen just two positions that are entry level in my city.

Houston
>>
What's a framework that will let me do something I can't do in vanilla JS and PHP?

I dunno...I just solve all of my problems with JS.

The only framework I need is one that streamlines grids and animating element movement when the screen changes.

I'm bad at CSS.
>>
File: images.duckduckgo.com.jpg (78KB, 720x888px) Image search: [Google]
images.duckduckgo.com.jpg
78KB, 720x888px
What's the fastest way of making a webpage.

I need some tool, some mechanism. Right now I'm typing in everything from <head>. I want speed and efficiency!
>>
>>57394335
>What's the fastest way of making a webpage.
<html></html>
>>
>>57394335
Templates.
>>
>>57394374
Any specifics or standards?
>>
>>57394402
Not really, you can find some templates on Bootstrap webpage, if you intend to use it.
>>
I want my divs to animate to other parts of the screen.

How do I do this>

On scroll, I want textboxes to go from the center of the page, up to the top, inline in a navbar.

Is there like a motion tween thing?
>>
Are Rails sites super slow or is the company i'm working at incompetant?

I swear the amount of sql queries running on the terminal for 1 single page is crazy.
>>
>>57396246
Probably incompetent, depends on how these queries look.
>>
To me they mostly look like they are the ones you can avoid if you add includes to your each loops. But i just started learning ruby and rails a month ago when they hired me so not sure.
>>
>>57390036
Oh thanks
>>
>>57393806
I learned Angular 2 because is the base of Ionic Framework 2 and Nativescript 2.
Perhaps Vue 2 will become a better option in the future, when the mobile framework the chinese are developing (Weex) becomes available.
Angular 2 will look fine in your resume.
>>57394335
Emmet?
>>
>>57394284
if you only need 1 aspect of a framework you're likely wasting time reinventing the wheel
>>
>>57393290
Not that anon, but it sounds like they'll just take what they can get at this point
>>
>>57393366
That's the whole point of yarn -- it only downloads packages once, then symlinks them so your node_modules folder isn't filled with 200 instances of left pad because every other package has it as a dependency. And I'm pretty sure you can specify where you want it to store the files.
>>
>>57392957
>>57392942
PHP is not fine fuck off. It's the worst language I've ever had to use and all the PHP web frameworks suck too

Python+Django is the best
>>
>>57397145
What other languages have you used in the past?
>>
>>57397172
C, C++, Python, Java, Scala, JS, Rust
>>
>>57397187
Besides having an stable API and object property typing, I'm not sure what else do you think is missing to be able to create a web backend with Symfony like you would do in Django.
>>
>>57393880
Actually I found angular 2 to be more intuitive than 1, although they're both still needlessly complicated for most use cases.

>>57394018
Job openings always list everything they want to see in their *ideal* candidate and are usually written by HR people that don't have a clue what any of it means. Of course the *ideal* candidate will have 10+ yrs of exp every language and framework ever, but that candidate isn't going to work for a junior dev salary, so they'll take what they can get.

In other words, just apply to anything that seems like it's reasonably in the ballpark of your skill level. The worst that can happen is they don't hire you.

And as someone who used to live in Houston, there *are* software jobs around, but... Well, it's Houston. Consider relocating out of swamp-town to DFW or Austin and you'll have a lot more to pick from. Texas is a great area for the tech industry, just not *that* part of Texas.

>>57396246
Rails is pretty slow, but not normally noticeably so. It's probably poorly optimized. Time to learn about about complex SQL queries.
>>
>>57397265
It's not just about whether you can or not, it's about the ease of doing it and the resulting quality. The PHP language itself has a lot of very weird things about it that make working in the language horrible.

I've also found the two PHP frameworks I've worked with, Symfony and Laravel, are just very poor compared to Django, in particular when you compare the ORMs
>>
>>57397382
It is kind of annoying having to use isset(), !==, is_null(), and weird functions from time to time. Experienced developers will get accustomed to it, or use another language they are comfortable with.
PHP frameworks do not have complete ORM libraries. More advanced ones are Doctrine and Propel, for example.
>>
>>57392957
>PHP is fine for back-end, just don't use it for front-end.
It's not even possible to use PHP for front-end. The fuck are you talking about bro?
>>
>>57397705
php used to be a simple templating engine used for front end, you fucking retard
>>
anyone have experience with polymer ? how is it ?
>>
>>57397705
Front-end doesn't mean client-side.
>>
>>57397820
Look at you all mad and shit.
>>
>>57397895
good argument bro

php shitters everyone, dont even know what front end is
>>
>>57397987
backend is anal

frontend is vagina

i like backend best
>>
>>57398001
Look at you all homosexual and shit.
>>
>>57398013
girls have anal hole too retard
>>
>>57397868
Fuck, haven't heard about this in ages. It's probably still shit.
>>
>>57398020
My entire life has been a lie.
>>
>>57385942
yes you should, angular2 is niiiice but different compared to angular1
>>
Who pseudo-FRP here?

        const isDoubleView =
Kefir.fromKey("d")
.scan((x, y) => !x, Session.doubleView)
.combine(isShowingInfo, (x, y) => x && y)
.toProperty()
>>
>>57398026
I've heard the latest update is really good and overall very easy to use.
>>
>>57385867
Gib interview questions so I can practice
>>
idea guy here

it's like twitter but its also an mmorpg
>>
>>57398325
>>>/vg/agdg
>>
>>57398325
Is it a procedural-generated rpg?
>>
>>57398325
does it have facebook integration?
>>
>>57398325
Can I be a level 99 shitposter?
>>
http://www.bbc.com/sport/live/football/37643410

How do I make something like this? I want to make something like this, but I don't really know what front-end technology to use to make the news updates automatically appear on the page.

Basically everytime I update the feed the user should see the updates instantly without having to refresh the page. Web sockets? I'd say my Javascript skills are at least average so it shouldn't be too hard, right?
>>
>>57399467
AJAX
https://developer.mozilla.org/en-US/docs/AJAX/Getting_Started
>>
>>57398325
idea guy here again
it's like pinterest but with nude selfies
>>
>>57399546
Good shout, I already know basic Ajax too. I just thought there was some framework to make the process easier.
>>
>>57399467
AJAX
>>
>>57399625
Is it a procedural-generated dating site?
>>
>>57399645
There probably are, but it's for braindead faggots, who can't use JavaScript for such simple problems.
>>
>>57399645
>basic Ajax
vs....advanced ajax
>>
File: 1477943929514.jpg (63KB, 540x510px) Image search: [Google]
1477943929514.jpg
63KB, 540x510px
>when you download your facebook messages and its a 30Mb html file your shit ass pc cant even open without shitting the bed
>>
File: 8c601abc9d33c60e6b6290818abf666d.jpg (96KB, 1500x1155px) Image search: [Google]
8c601abc9d33c60e6b6290818abf666d.jpg
96KB, 1500x1155px
Learning websockets to make a neat little webapp
>>
>>57397877
Actually it usually does
>>
>>57399736
YOU CAN DO ANYTHING!
>>
>>57400173
It can often imply, never mean.
>>
For terminology's sake, is web development a form of software development? To me software always meant a program you download to your computer, but in technical terms, a website downloads to your computer, and is a program. HUAH?!??
>>
>>57399920
god I love his comics so much
>>
>>57399736
it's pinterest but with nude selfies and it's build upon deepmind AI in which case it automatically knows exactly what kind of nudes you're wanting based on eye position and feeds you new more accurate nudes to your liking

pls donut steel
>>
>>57400379
yes it is a form of software development
but they have to actually develop, exclusive designers are excluded.

also websites are basically just files on another computer you have access to so it's not actually much different from other forms of softdev
>>
File: chie-holiday.png (383KB, 1024x512px) Image search: [Google]
chie-holiday.png
383KB, 1024x512px
I want my URL:

domain.com/t/index.php?id=12345

to be

domain.com/t/12345

my htaccess file has:

RewriteEngine on
RewriteRule ^/t/([0-9]+) /t/index.php?id=$i
>>
>>57400850
*But it's not working
>>
>>57400850
fixed:

RewriteRule ^/?t/([0-9]+)$ /t/index.php?id=$1

>>
Why JavaScript is such a horrible piece of shit?
https://www.youtube.com/watch?v=AU2Rhq5eWa4&feature=youtu.be&t=1m21s
>>
>>57401683
kys my mam
>>
>>57401683
i literally do not understand why so many devs are absolutely cringeworthy in presentations
you would think that due to their immediate access to web communities that they would be less cringeworthy than a mum who just discovered facebook, but apparently not.
>>
>>57401754
DAE le memes xDDDd WAT

hahaha WAT
lol XDDDDDDD

WAT!!!!!!
>>
>>57402218
Wow that was actually the beginning of the video, thought you were just exaggerating.
>>
>>57401754
Starting from the javascript part it's not cringy, it's fairly good.
>>
>>57402332
like many things there are plus and minuses about this video, like the good and bad within all of man
>>
>>57401683
It's actually interesting but the memes made me enjoy it much less... why do people do that?
>>
>Looking for someone to work full time for about a week. Could be a bit longer. $13 / hr integrating apps and tools into ecommerce site. Must work in person with our three man team in dickbutt city
What kind of apps and tools do you need to integrate into the website?
>We are on the Sparkpay Ecommerce Platform.
We are looking to integrate Friendbuy I have all the API directions from their tech support.
We will also be adding some basic stuff like Google Analytics,
a affiliate network ptracking pixels, fac(e)book comments with page specific commenting
and admin moderation, as well as various platform tweaks.

I am sure there will be many other needs along the way.
I have lots of wishes but our team is not very talented in this area so we don't implement many things that could be beneficial.
(thinking: ok, so this is probably mid-level work and this guy is paying 13/hr which is nothing, but I'll do it for the portfolio)
I am interested in the project. I currently work full-time, so I would only be able to work on the project 2 weekdays a week. Would that be alright?

>Give me a call asap. (sent 5 FUCKING DAYS later)
(thinking: craigslist bit him hard. Probably lost a few 100 on a fake developer who fucked everything up and realized I'm the only one who can do what I say I can)
I just saw your email. Are you still looking?
>Yes, what is your name? Do you have a resume?
Yes my name is dickbutt and I've attached my resume

>no response for 24 hours


Good fucking luck, dude.

Also, fucking spamfilter.
>>
What's the best way of handling images using Markdown?
>>
>>57392942
>Do you guys still use PHP to build web apps?
I still do, however, many people prefer to use JS or Python.

Is PHP making a comeback with PHP 7?
No. PHP 7 is essentially a clean up from PHP 5.x. There was talk about PHP 7 being used in machine learning scenarios, but I doubt it.

Will PHP every die since Wordpress is built on in?
Yes, one day. The only reason why Wordpress is still running is because Pajeets and Niggers still run it on their crappy boxes, expecting it to be an all-in-one solution, when the actual Wordpress framework is an incomplete pile of crap (thus requiring many supporting scripts or """"wordpress plugins/addons"""").
>>
>>57392942
>Do you guys still use PHP to build web apps?
I still do, however, many people prefer to use JS or Python.

>Is PHP making a comeback with PHP 7?
No. PHP 7 is essentially a clean up from PHP 5.x. There was talk about PHP 7 being used in machine learning scenarios, but I doubt it.

>Will PHP every die since Wordpress is built on in?
Yes, one day. The only reason why Wordpress is still running is because Pajeets and Niggers still run it on their crappy boxes, expecting it to be an all-in-one solution, when the actual Wordpress framework is an incomplete pile of crap (thus requiring many supporting scripts or """"wordpress plugins/addons"""").

Fucked up my quotes.
>>
I have an idea

Like twitter but you can only post cute anime girls
>>
>>57403074
It's called /a/
>>
File: Dutch niggerfrog.png (80KB, 499x499px) Image search: [Google]
Dutch niggerfrog.png
80KB, 499x499px
I'm making the perfect anti-adblocker.

If someone uses adblocker then a .gif with a ghost will fly over the screen to scare the user away.
>>
>>57400021
wow no wonder muslims are so mad they have such a tiny little sun
>>
>>57403473
2spooky

http://codepen.io/steveg3003/pen/gwyGpm
>>
File: cowboy.png (6KB, 465x247px) Image search: [Google]
cowboy.png
6KB, 465x247px
Does this mean that cowboy is fast or slow?
>>
File: cowboy2.png (55KB, 679x892px) Image search: [Google]
cowboy2.png
55KB, 679x892px
>>57403781
Oh, apparently is supports HTTP/2, too
>>
>php is finally getting proper built in coalesce
>it's shorthand

all these shorthand conditionals are great until you've worked with someone who over-uses them. Shorthand nested ifs are cancer.

>Anonymous functions also coming to PHP

All hail impossible to debug spaghetti code. I always thought this is a crutch for languages that don't have decent OOP, why does PHP need it again?
>>
>>57404029
Anonymous functions have been a thing since PHP 5.3, do you mean anonymous classes?
>>
>>57404095
>anonymous classes

Bleh, meant to say that.

>anonymous class
>all the variables are private
>no get/set methods

Nothing like spending an hour going through a long backtrace trying to find the definition.
>>
>>57404168
>anonymous classes
>crutch for languages that don't have decent OOP

0/10 hit the books
>>
>>57404192

Why would you ever use them when proper polymorphism is superior in every way?

Next you're going to defend the use of $$
>>
>>57404332
Anonymous classes are not used for the same purposes as polymorphism.
>>
What should I put on in a portfolio on my personal website?
I have almost nothing.
Would you suggest some kind of GitHub project, or a hipstery flashy weather app coded in Xamarin on Google Play?
>>
>>57404552
Why not both?
>>
>>57404577
what kind of github project tho
I certainly don't have the expertise to make very
advanced stuff.. any suggestions?
>>
>>57384928
How can I make the facebook publish plugin, to update the embedded post to the most recent instead of just a static one.
>>
>>57404585
Host the flashy xamarin app on github.
>>57404733
Delete the previous post.
>>
The font I've used in my app looks thinner on Chrome compared to Firefox.

Is this a commonly-expected thing?
>>
>>57403781
Test it with Siege.
>>
>>57404771
The previous post .?
>>
>>57405193
The one published afterwards, if possible.
>>
>>57405213
.. depends where and how the child post was created.
>>
>>57404733
You would need to poll their api to check for new posts
>>
File: siege.png (19KB, 858x437px) Image search: [Google]
siege.png
19KB, 858x437px
>>57405148
I don't know what I'm doing but I did my best.

Probably would be better to run this on a networked PC and not the server itself. Not that I really care about the performance anyways.
>>
>>57405729
Looks pretty good. Try something else on the same machine for comparison, like a Flask "Hello, World!" and Apache/Nginx/Caddy.

It's nice to see someone working with Erlang here.
>>
File: internet_egos.jpg (335KB, 1618x471px) Image search: [Google]
internet_egos.jpg
335KB, 1618x471px
If my ambition is to be a web dev and I'm serious about it, having read (and be reading) numerous books and actively working on projects, should I opt to stay in education or not?
>>
>>57403473
I auto-redirect to lemonparty.org
>>
>>57405756
I've been working with Erlang for a while actually, just never did any web stuff with it before.
>>
>>57405844
As a male, my ego is inflated more in real life than it is on the Internet.

I YouTube and stream too. No one gives a fuck about a dude on the Internet.
>>
>>57405844
What kind of question is that though, like realistically what is anyone here able to help you with when it comes to that answer?
OMG yes anon stay in education, OMG no anon drop out - it doesn't fucking matter because we aren't you and aren't living your life. It could go bad in both paths, it could go great in both paths, do whatever you please.
>>
>>57405993
People give a fuck about hot dudes on the internet. You must just not be hot 2bh
>>
>>57405912
Do you plan on trying out Elixir and Phoenix? I've heard good things about Phoenix but am yet to use it.
>>
After learning node js, it feels like everything in web dev makes so much more sense
>>
>>57406045
everything is better with php fagit
>>
>>57406045
Good. Now learn how to avoid spaguetti code and callback hell.
>>
>>57406016
I'm very average, but boobs are fantastic clickbait for even average girls.

I'm sure someone has the OKCupid statistics showing that an average guy is responded to as much as a girl rated 1 out of 10.
>>
>>57406080
For sure, but I was just directly correcting your statement about men on the internet.
>>
>>57406080
>average guy is responded to as much as a girl rated 1 out of 10.
you're depressing me
>>
>>57406045
>>57406077
This. Learning Go, Clojure, Erlang, Scala or Haskell (ordered by difficulty), that is, a language that does concurrency better, is the next step.
>>
do people still use twitter's bootstrap?
>>
>>57406034
Haven't really seen a reason to use Elixir over Erlang yet, might look into it when it's a little more mature. There's been a lot of BEAM languages over the years that come and go, so jumping the gun isn't too productive.

Don't know about Phoenix, just getting into webdev. I like to start with smaller frameworks that are easier to learn and don't hide too much.
>>
>>57406232
Yes
>>
don't die
>>
>>57406286

Elixir brings a lot of nice features into Erlang. Even Armstrong himself said that some things in Elixir are great.

For example, in Elixir you have much better Strign handling:

def is_palindrome(str), do: str == String.reverse(str)

Range.new(1,10)
|> Enum.map(fn x -> x * x end)
|> Enum.filter(fn x -> rem(x, 2) == 0 end)

list = Enum.to_list(1..20)
Enum.random(list)
>>
Thinking about learning C# (Xamarin, Unity3d, .NET Core). Is it worth it?
>>
Doing my first node project. Having two web browsers communicate with each other through websockets. Useful project that I hope with help people with a simple problem
>>
>>57408096
Are you using the native net module or Socket.io?
>>
>>57408374
I'm using

https://www.npmjs.com/package/websocket
>>
All this shitting on php if the website is written in a decent framework (sympfony/laravel) and works why does it matter what the language is. Would pornhub be any different if it was written in django vs php.
>>
>>57408759
No, but there's no reason to not use something better for new projects.
>>
>>57408759
Nothing wrong with PHP.

The problem is that people use it for front-end when all they should use it for is back-end as an API.
>>
want to try out coding.
decided to make my way threw the odin project for some beginner knowledge.
>>
Where do I even start learning how to code properly?
>>
>>57409496
do you have a community college? take a programming class
>>
>>57409496

Depends on what you mean by 'properly'

From scratch to a good working knowledge?
From a light knowledge to using advanced principles and good coding standards?
>>
Looking to get some advice on a site I'm building. Started making a simple blogging site as an excuse to learn gulp and sass, and now I have a few problems I'm not sure how to solve. At the moment, the site is just html / css.

1) What can I use to create actual layouts, so I'm not repeating the header and footer on every single page? I had a look at some js templating engines but there are a million of them, and most seem overkill for what I want to do.

2) What are my options for grabbing stuff from a database? Are node and express the way to go here? Never used either of them but they seem like they can do what I want. Would prefer to avoid php and any microsoft stuff if possible.

Also wondering where things like react and angular and vue fit into a site. Don't really know much about them - are they suitable at all for something like this?
>>
Looking for an eCommerce framework like django-oscar
but for a statically typed language.
>>
>>57409496
Practice and google.com.
Try googling for "[language] best practices" or something like that.
>>
Is Express still relevant?
>>
Does anyone know a simple paint plugin I can use for my shitposting engine? So far I've looked at wPaint and tegaki, but the former uses jQuery and the latter is a bitch to embed.
>>
>>57411072
yes
>>
>>57410478

You're trying to come off like you know something about web design, but it's obvious you know very little. This isn't going to help you learn nor make people want to help you. See, no one here cares about your ego. So, ask honest questions or piss off.
>>
>>57410478
1) Depends on what you're making. If you want a static site, look into static site generators like jekyll, or just ctrl-c, ctrl-v it. If you want to make a site with a backend, use whatever the recommended template engine is for that framework. PHP is it's own thing, Rails uses erb, NodeJS uses jade/pug or ejs, etc.

2) I think what you're really asking is about backend frameworks. There are dozens of good options here. At your level of expertise, it mostly depends on what language you want to use. Some common languages/frameworks are:
Node => Express
Python => Flask, Django
Ruby => Sinatra, Rails
PHP => Laravel, Symfony
Java => Spring
C# => ASP.NET MVC
...And many others. There are web frameworks (of varying usefulness) for basically any language you can think of.

From there, the way to specifically interact with a database depends on language, type of database, etc. Sometimes an ORM is already built into the framework, and sometimes you need to import a library to do it. For PHP, you'd just use the built-in PDO or one of the dozen other broken database modules.

>Also wondering where things like react and angular and vue fit into a site.
These are all front end frameworks (okay, react is just a view library, yadda yadda). Basically, these are all for making Single Page Applications, which just means instead of requesting an HTML page for every page in your site, you just request one page which uses a bunch of JS to asynchronously load data from the backend and shove it into / remove it from the same DOM tree.

>>57411088
What's wrong with the vanilla canvas? It's relatively simple to learn and you don't need any external libraries.
>>
>>57411316
well, I'm trying to stick with just a canvas. the thing I'm looking for is a simple javascript oekaki applet, one that doesn't use jquery. finding one is harder then I thought though, so I might just write it myself after all.
>>
>>57391098
look at other people's code
https://github.com/you-dont-need/You-Dont-Need-Javascript
>>
>>57411121

I don't understand this at all. Can you explain a bit more?
>>
>>57411466
I think his autism is getting out of control, nothing to worry about.
>>
Okay, so I'm probably missing something really obvious here, but here we go. I have this code:

function expand(img){
var el = document.getElementById(img);
el.style = 'display:none;';

var fullimg = document.createElement("img");
fullimg.src = el.parentNode.href;
fullimg.onClick = 'unexpand(\"'+img+'\")';
fullimg.id = img+'full';
console.log(fullimg.onClick);
el.parentNode.appendChild(fullimg);
}


Now, the new img element gets created, and its id and src are set properly, but somehow the onClick attribute is not set. The console.log(fullimg.onClick) however, does display "unexpand("1478433598052")" in my console.

Can anyone help me with this? What am I missing?
>>
>>57411686
> el.style = 'display:none;';
wrong, it's: el.style.display = 'none';
>fullimg.onClick = 'unexpand(\"'+img+'\")';
wrong, it's: fullimg.onclick=funciton(){ unexpand(\"'+img+'\") };
and it's not the 90 anymore, use addEventListener()
>>
>>57411316

Good post, but..


>Rails uses erb

..many Rails guys prefer HAML or Slim. Just saying.

>https://speakerdeck.com/lvrug/erb-vs-haml-vs-slim-randy-schifflin
>>
I wish there was a way for me to do backend in BASIC. Not VisualBASIC, but something closer to QuickBASIC
>>
>>57412741
You can figure out websockets in FreeBASIC with

http://ext.freebasic.net/dev-docs/files/ext/net/tcp-bi.html

and do mysql with

http://ext.freebasic.net/dev-docs/files/ext/database/drivers/mysql-bi.html

FreeBASIC compiles using gcc modified a little I think. I don't know much about compilers, but it's sort of like LLVM
>>
File: 1478041018091.jpg (63KB, 778x512px) Image search: [Google]
1478041018091.jpg
63KB, 778x512px
Is there any easy way to convert a adobe flash site over to HTML5? Is there anythign important I should know about HTML5?
>>
>>57413003
These tags:
Canvas
Audio
Video
>>
Is there a good 2016 CSS tutorial?

I've been using it since 2000 and still suck balls at it.
>>
>>57401754
>>57402218
>>57402284
To be fair the talk is from 2012 according to the description, and the memes presented in the video used to be "fresh" back then.
>>
>>57413966
how? it's literally just setting colors and margins to make something look like you want.

Just make some shitty drawing in paint of how you want the page to look like as final and then look up the css words to make it happen.
>>
File: 1474875298131.png (278KB, 565x800px) Image search: [Google]
1474875298131.png
278KB, 565x800px
>>57405756
I'm a different anon, and I'm just getting started with erlang + yaws.
>>
>>57413966
if you've tried everything then just do codecademy for a bit, then if you still haven't learnt anything then do what I did for a bit which isn't actually really recommended but seeing as you're stuggling, get a free template online, preferably without any framework, then just have a play around and change and rearrange stuff

then when you're comfortable with that try reading and tweaking some bootstrap templates

but css is easy
>>
>>57414179
I have trouble with aligning elements because I don't get how to align based on display type.

Like center aligning text in a div vs centering an image. vertical-align, valign, translatey, height 50%

When to use position relative vs absolute and float.

I am also looking for form styling tips
>>
>>57411786
>it's not the 90 anymore, use addEventListener()
Another anon. You made me check details on both.
element.onclick is not deprecated, the HTMLWG spec is pretty up to date, too. A living standard. It's even the same working group, that defines addEventListener().
element.onclick = …
is not the same as
element.setAttribute('onclick', …)
.
And both element.onclick and addEventListener() have different uses, they work a little differently, but can coexists. You can define only one element.onclick event, but unlimited addEventListeners(), even if all handle same event. It's much easier to use element.onclick if you plan to override it – saves you time and is less prone to errors than using removeEventListener().
>>
>>57414390
most of the time you don't even need to use the position attribute. and just google/try

maybe using a text editor like brackets which suggests shit for you would help
>>
Protip: you'll never really understand webdev until you write a webpage in assembly
>>
>>57413966
Just learn some of the basics and learn what you need when you need it. There's really not much to it.
>>
File: SAS soldier.jpg (70KB, 564x551px) Image search: [Google]
SAS soldier.jpg
70KB, 564x551px
Hello, I've a question. Since I've come across the webernets, I've noticed that everything is programmed using javascript, despite the fact that a) it's not entirely necessary to make a website or a page thereon, b) it's mostly useful for web admins to oversee their security on their site, though, it can b compromised by crakcers and it's notoriously creepy when it comes to usual visitors to websites visiting a page. Since I've been the using the internet since the mid-90's, those who will remember know that it is possible to play little video of around 240X240 (or later, 480X360 on W2000). My question is twofold, since javascript is only necessary for web admin security + making interesting (but sometimes unnecessary) web applications, is it possible to play either 1080 or 1440 videos on a website without using javascript? If not, why not? Thanks for your time.

pic unrelated
>>
>>57414748
You can play videos using the html5 video tag.

You certainly are tech retarded though. The main purpose of javascript is to make websites look nice. For example you know how websites have a navigation bar and when you mouse over one item in the bar it shows a drop down list of items in that category. That's javascript. Anything that moves on a webpage is javascript.
>>
>>57414825
>The main purpose of javascript is to make websites look nice.
You are certainly retarded though. You should always try to do everything like this with CSS. If you have a huge script that plays fancy animations all over your site, you're doing it wrong. There are much more useful applications for JavaScript.
>>
File: computer netwerk simulation.gif (257KB, 255x143px) Image search: [Google]
computer netwerk simulation.gif
257KB, 255x143px
>>57414825
That's what I forgot to mention friend, that yes, JavaScript does make a website look nicer because of (insert reason here). My main question was whether or not one could play large file videos on a website that didn't run JavaScript. That was the main question. But sense you answered my question by suggesting using something called "HTML5", which I've no understanding what it is. Thank-You for your input. But friend, what you fail to understand, is that JavaScript also acts as a protective layer for sniffing out l337 haxors, though it can be coopted by many things.

>>57414886
Kind sir, were you referring to him as being retarded or me? Either way, Please continue giving me advice on the matter, thank you.
>>
>>57414923
I'm not sure if this is bait
>Please continue giving me advice on the matter, thank you.
Like what? Don't overuse JS and only use it when it's actually necessary or useful for the visitor.
>>
Is PHP good for MMORPGs?
>>
>>57414390
Google. A lot.
Also if results are shitty, change google search result to only last year.
>>
Any good ebooks on HTML5 and CSS? OP seems to mostly be training sites, I'm looking for something I can just read on my tablet.
>>
>>57415428
second this but for new js books that teach how to use js in a 'modern' design way
>>
>>57415428
I don't think you really need a book for that, they're extremely simple. Just read a web tutorial
>>
>>57415474
eloquent javascript, guaranteed you'll get stuck
dont move on from that book until you can actually accomplish the exercises on your own

>>57415428
all of the web tutorials are pretty great, from free ones like fcc to paid ones like treehouse.
html & css by jon duckett is probably the most introductory book possible.
>>
>>57415161
Good for signup/auth/payment shit on the website? Sure, no problem.
Actual game logic? It depends on the game, but you probably want something faster and less html-focused.

You technically *could* use PHP, but there are many better options.
>>
>>57415784
Like COBOL?
>>
>>57415843
http://www.coboloncogs.org/HOME.HTM
>>
>>57415843
Are you joking? For an mmorpg you would use an existing engine (unless you have a budget of at least a few million), and the language you would use to write game logic would most likely be C++ or C#.
>>
>>57416024
Although I made this post assuming a 3d game.

If it's text based then you can do whatever the fuck you want.

If it's 2d you should still use an engine made by someone else (unless you want to waste time and money) but you have more options with languages for game logic.
>>
>>57416063
You know that servers and clients are different, right? WoW's servers aren't rendering 3D.
>>
>>57416349
What's your point?
>>
I'm including templated HTML into web pages using the PHP "includes" method.

Is this really considered OK to do? Will it slow down my server? I also read that servers are able to cache the parsed HTML pages so they don't have to recreate it every time. Can someone back me up on this? Thanks.
>>
>>57415146
> Wha' else ya' want?
I'm just asking if I can run a website without js but also run a video that is either 1080p or 1440p. I think my question was asked, but then someone else suggested to just run the website with as little js as possible. Since I'm tech retarded, I just needed someone to answer if this could be done. Now I'm just more confused than I started because no one has fully answered my question to begin with.
>>
>>57417930
I didn't reply to your question, I replied to the other guy who said "The main purpose of javascript is to make websites look nice". This has nothing to do with your question.
>no one has fully answered my question to begin with
The other guy already said that you should use the HTML5 video tag.
>>
>>57417257
Not your personal army.
>http://php-fig.org/
Read up on PSR-1 and PSR-2.
>>
>>57417999
>use HTML5
Oh right, thanks pop.
>>
>>57418024
That was all about coding standards. Im talking about server performance.
>>
File: 1477167427428.png (169KB, 500x265px) Image search: [Google]
1477167427428.png
169KB, 500x265px
Code challenge I recieved:

>Imagine that you are a doctor whose dream is to work at [REDACTED] Hospital but before you apply for a position you want to know what people are saying about this hospital. Create well-designed, one page, website that displays tweets with a positive attitude about [REDACTED] Hospital.
>Your project must be responsive and developed to production quality code standards. We prefer that you use Node.js for this assignment but it’s not a requirement. Please submit your finished project code to Github.

Easy enough for the most part but what the fuck do they want me to use Node for here? Am I missing something really obvious?
>>
Writing a procedural PHP forum that uses redis and a C websocket server for chat
>>
Guys, I need some help with this javascript thing.
I've a function that creates an html table dynamically. When a cell is clicked, it triggers a function.
How can I make the function to have access to the coordinates on the table of the element that triggered it?
>>
>>57418024

>Not your personal army.

But there was no personal army request, you idiot.

How about "Not doing your homework!" or "Use Google!", even a plain "kys" would be OK...

Newfag.
>>
>>57419235
I'm not sure but I don't think you can do that without adding an id to each cell. What do you need the coordinates for? If you just want to modify the cell then you can probably use "this".
>>
>>57419235

So basically you are dynamicallycally creating links?

Why not putting the information in the links while creating them? Either you can use an id as the other anon suggestd or you create those links with fixed parameters (each links has a different parameter..):

<button onclick="myFunction(1,1)">Link 1</button>
<button onclick="myFunction(1,2)">Link 2</button>
>>
>>57385867
why do people expect applicants to know it all, to remember everything, to not get nervous and make mistakes because of that, etc, etc?
>>
English2oger translator:

http://oger.inkykinky.net/oger/this%20is%20what%20happens%20when%20you%20translate%20english%20to%20engrish
This happens when the translation of English Ying geurisi
http://oger.inkykinky.net/oger/this%20crappy%20script%20translates%20english%20to%20hebrew%20to%20finnish%20to%20chinese%20to%20engrish
This bloody scenario Ying geurisi Finnish Chinese Hebrew into English Translation

Feedback?
>>
>>57419907
No idea what this does but i like it
>>
>>57394335

Sublime Text has a code snippets + autocomplete for html tags. ALMOST all text editors/IDE has a code snippet for HTML. If all else fails, Dreamweaver.
>>
>>57400850

or

RewriteRule ^t/index.php?id=([0-9]+)$ /t/index.php?id=$1
>>
Newfag here.

I want to change the white color, but it does not change. I have already tried everything.

Here the code: http://pastebin.com/QqjaN3s5

Thanks for the help.
>>
File: 1350449639588_748.gif (698KB, 555x666px) Image search: [Google]
1350449639588_748.gif
698KB, 555x666px
>>57419907
>>57419971
translates english2engrish
for example:
What the fuck did you just fucking say about me, you little bitch? I’ll have you know I graduated top of my class in the Navy Seals, and I’ve been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I’m the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet?

to
What the hell are you fucking say a little bad, or? I need to know the end of the top of my class naval commandos, I know - has been involved in many secret raids Qaeda, I have been more than 300 confirmed deaths. I was training, I'm a monkey war the best shooter in the entire US Army. You do not do anything different target. I can show you a fucking word destroy in hell the likes of degree not seen before gyeolkoyi Earth. Do you think you can get away by saying shit to me on the Internet?
>>
>>57420508
If you can not find anywhere else in relation to poor English, which is - what is the point of this if you can find bad english anywhere
>>
>>57414390
draw some example of what you are thinking of getting something to look like, and i'll explain in detail how to do it so you can get a better grasp of it.
>>
>>57420353
>hey can you please just read all of my 351 lines of code and do this thing for me
>>
>>57420353
ill do this for 5$
>>
Anyone here use Clojure?
>>
I want to make my own website. What are some free options for this?
Also, I don't want something that is just color by numbers. I want to mess around and write all the HTML and CSS.
I'm not trying to make anything marketable, just have fun.
And fwiw, I know next to nothing about HTML/CSS web dev stuff. My only background is with standard uni programming classes that dealt with data structures, algorithms, etc. I did do the codeacademy html/css tutorial thing once, though.
>>
>>57421936
>What are some free options for this?

Writing it from scratch with HTML and CSS

Are you retarded perhaps?
>>
>>57422043
Well doing it pretty much any other way is also free.
>>
Guy learning CSS here.The following code is an excerpt from a CSS style sheet.

body{

background-image:url:("bg_body.png");
}


Why doesn't this work? background-color works, and bg_body.png is in the same folder as the assoicated HTML document.
>>
>>57421936
just go to codepen and make a site. it updates real time.

look at simple bootstrap shit.
>>
>>57422087
background-image: url("http://www.example.com/bck.png");

https://developer.mozilla.org/en-US/docs/Web/CSS/background-image
>>
>>57422087
I bet the body height is 0% for some reason.
This can be tricky by the way. Try giving the body 100% height and 100% width, for starters.
>>
>>57422087
Try losing the extra colon for starters
>>
>>57421936
Use Neocities to host it, write everything in your favourite text editor.
>>
what are some tools and techniques to make responsive HTML5 pages FAST, for people who don't like HTML5/CSS/design?
>>
>>57421936
https://pages.github.com/
>>
File: 1449936098527.gif (4MB, 490x476px) Image search: [Google]
1449936098527.gif
4MB, 490x476px
>>57422156
>what are some things that magically do X for people who don't like knowing jack shit
>>
>>57422184
>"knowing html+css+design"
>implying frontend people don't copy/steal from one each other, and/or don't follow retarded trends from microsoft, google or whatever "rockstar" they know
k

pro-tip: emmet is one tool, but I want to see if you fags know something else.
>>
>>57422184
>what is wordpress
>>
>>57422156
Pure HTML, minimal CSS, no images, no JS.
http://prog21.dadgum.com/130.html
>>
File: 1475559579831.jpg (40KB, 657x527px) Image search: [Google]
1475559579831.jpg
40KB, 657x527px
>>57422235
>what is this thing that is guaranteed to make a site run SLOWER because I don't like knowing jack shit

>>57422221
>i cover for my crippling lack of knowledge, something that i'm clearly insecure about, by accusing everyone who knows more than i do of "following retarded trends from google"
>>
File: 1428250039668.jpg (15KB, 192x154px) Image search: [Google]
1428250039668.jpg
15KB, 192x154px
>>57422221
>frontend people don't copy/steal
lol. there are only so many ways you can make a fucking web page look. There is nothing to steal from frontend.
>>
>>57411407
Out of interest how preferable is it to use CSS over JS.
I'm still pretty new to web dev, but CSS seems like much more of a cruel and unloving mistress than JS. I can't imagine wanting to use it to do more things.
Is it faster, easier?
>>
>>57422509
no js removes all the overhead involved with it.
>>
>>57422509
CSS and JS are used for different things.
>>
learning Bootstrap.

what would be a good font to use for the company name and section headers? something a little more interesting but not too crazy. maybe lobster? lul
>>
>>57422548
jokerman
>>
>>57422537
That article that's being quoted is showing how to do many commonly used JS tasks with CSS is it not?
>>
>>57422552

thanks. I guess lobster is fine. overused but whatever. looks okay in the jumbotron section I guess. thoughts on changing the font in navbar, or should I have left it?
>>
>>57422246
nice article, thanks for that

>>57422279
>>57422504
>implying
you fucking retards, I bet you use templates for all your shit, and barely even touch/know html/css, yet here you are

I've made whole websites using progressive enhancement, with bootstrap... writing HTML and CSS SUCKS
>>
File: 1475559190544.jpg (67KB, 500x354px) Image search: [Google]
1475559190544.jpg
67KB, 500x354px
>>57422690
>i cover for my crippling lack of knowledge, something that i'm clearly insecure about, by accusing everyone who knows more than i do of not actually knowing anything at all
>>
>>57422559
Oh, didn't know some of those things were possible. But like, use the right tool for the job. JS does many things that CSS can't do. For some of the examples on that page JS is better (didn't look at everything).
>>
please stop fighting guys
>>
File: 1432738739104.jpg (11KB, 287x200px) Image search: [Google]
1432738739104.jpg
11KB, 287x200px
>>57422690
who needs html and css when you can just drag elements inside of visual studio and asp.net LUL
>>
>>57422697
>html+css """"coder"""" talking about knowledge
HAHAHAHAHAHAHAHAHA
>>
>>57422725
Yeah that's what I thought, just because you can doesn't mean you should.
There's a lot of irrational hatred of JS on /g/ though
>>
>>57422758
Because it shouldn't be required to see a page.
Many shitty websites just show a blank white screen, if you disable JS.
>>
File: 1478446583076.gif (2MB, 740x600px) Image search: [Google]
1478446583076.gif
2MB, 740x600px
>>57422755
>too stupid to even write simple markup
>talking about knowledge
>>
File: 1475459571208.gif (646KB, 512x481px) Image search: [Google]
1475459571208.gif
646KB, 512x481px
>>57422755
>i cover for my crippling lack of knowledge, something that i'm clearly insecure about, by mocking the very knowledge itself that would allow me to do the thing i'm begging other people to help me do
>>
>>57422789
I have js disabled by default and if I see a blank page I instantly close the site in 90% of cases.
>>
>>57422790
>writing HTML means I'm intelligent
>asking how to do it efficiently means I'm dumb

>>57422813
>html + css
>knowledge
>not rote memorization

>coming from html+css """"coders"""
HAHAHAHAHA, holy shit, this is the world of the absurd
>>
File: 1474365823387.jpg (75KB, 960x540px) Image search: [Google]
1474365823387.jpg
75KB, 960x540px
>>57422873
>i cover for my crippling lack of knowledge, something that i'm clearly insecure about, by demeaning the ability required to learn the very thing i openly admit i'm unable to do
>>
>>57423407
>>57423407
>>57423407
>>57423407
Thread posts: 320
Thread images: 34


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.