Web Development

What is your favorite browser and why? Are you using a Password manager?

webdev: reddit for web developers - Thu, 01/17/2019 - 20:01

I'm using a MacbookPro and Safari + Keychain seems to be the best and easiest experience I can find.
I've started learning to code recently and I want to know what is the best browser I should focus on (for private and professional use)

Also, are you using a password manager ? I'm afraid to travel from Safari to another browser because Keychain is native in Apple ecosystem and it's pretty dope to be able to connect in any website with my iPhone without remembering any password or using a password manager.

I'm sure that there's better alternative, that's why I'm here.

What is your browser? Are you using a password manager? And for both question; why ?

submitted by /u/Houpsi
[link] [comments]
Categories: Web Development

I am looking to compile the best web development resources, any ideas?

webdev: reddit for web developers - Thu, 01/17/2019 - 19:59

I have created a community to teach beginners web development r/beginnerwebdev. We have seen decent growth recently with over 200 subscribers in 4 days. I want to create a sidebar and wiki with good resources and teaching materials for beginners. I figure posting in a web development subreddit would be the best place. You can respond in the comments here or on the resource suggestions thread. Thanks for the help :)

submitted by /u/Forgottenmudder
[link] [comments]
Categories: Web Development

I need some help moving my website to production.

webdev: reddit for web developers - Thu, 01/17/2019 - 18:56

I have a node webapp with a vue front-end and uses pg currently for back-end db.

The app is pretty simple, post content, comment, etc.

First question, is what do you guys use for db access, what kind of db server do you use in dev, and what do you use in prod.

Next question, when I'm ready to go to prod, what are some gotchas and steps I need to consider. Right now my plan is to just spin up a VPS install node and drop my app out there. Where am I going to waste time and spin my wheels?

submitted by /u/d344d
[link] [comments]
Categories: Web Development

Should I Get an Associate Degree or Bachelor’s Degree in Web Development?

webdev: reddit for web developers - Thu, 01/17/2019 - 18:25

Hi everyone,

I could really use some advice about pursuing a career in Web Development. I’m schedule to begin a Web Development Cohort and could really use some advice.

I completed a 45-credit certification in web design and interactive media at the Art Institute of Pittsburgh back in 2014.

When I graduated, I had great grades but honestly, I felt like I only had a basic knowledge of it. I have no experience working a design related job in the industry.

I’m going back to school to to become a full stack developer; understand backend coding, what’s being used nowadays, and to earn a degree.

That said, I’m worried about the debt I’ll have when I graduate! I wonder if I’d be better off just finishing my associates degree at Art Institute, and studying the rest through inexpensive resources online or through a boot camp.

When applying for jobs, is an associates degree enough?

Or should I get a bachelor’s degree?

Thanks in advance!

submitted by /u/kakutoudamashii
[link] [comments]
Categories: Web Development

I'm putting together a frontend development curriculum and would love your guys' thoughts on what to include.

webdev: reddit for web developers - Thu, 01/17/2019 - 18:14

Like the title says, I'm going to be teaching a bootcamp focused primarily on frontend. I was wondering if anyone had any suggestions for topics, resources, or fun assignments. I want the course to be focused on modern and practical development skills. What are the things you wish you were taught at the beginning of your career?

The students will have prior programming/CS knowledge, but I'm assuming they are all completely knew to web development. The main topics I am considering teaching are (in this order): Git -> HTML -> CSS -> JavaScript -> React -> Angular -> Node -> MongoDB -> Deployment (Netlify or Firebase)

Of course, I also want to through in languages and tools related to the above topics such as Bootstrap for the CSS section, or Redux for React. Let me know your thoughts!

submitted by /u/Razzmatazz123
[link] [comments]
Categories: Web Development

How do I make a background of 2 rows of 2 4 equally sized images.

webdev: reddit for web developers - Thu, 01/17/2019 - 18:07

Here is the CSS:

main {

padding: 0px;

background: url(./images/eiffel.jpg) left top no-repeat, url(./images/landscape.jpeg) right top no-repeat,

url(./images/nyc.jpg) left bottom no-repeat, url(./images/sistine.jpg) right bottom no-repeat;

/* padding: 15px; */

background-size: 50%, 50%;

padding: 0;


The images are showing in the intended order and the width of each image is correct; however, the top 2 are way taller than the bottom 2. I have resized every image file to be the same width and height.

Thanks in advance,


submitted by /u/BaylorPRSer
[link] [comments]
Categories: Web Development

How can a website have no backend?

webdev: reddit for web developers - Thu, 01/17/2019 - 18:05

I know this is a really basic question, but how is it possible for a website to have no backend? I've read from several sources that as long as the information is 'static' then you don't need a backend. But don't you need to make a GET request to the URL. At least initially when you first enter the website?

submitted by /u/ididntwin
[link] [comments]
Categories: Web Development

Best app to learn/practice coding on the go?

webdev: reddit for web developers - Thu, 01/17/2019 - 17:46

I'm doing online courses all the time to keep up and catch up with whatever is new and may improve my skills. I would like to have an app on my iPhone where I could continue practicing and learning while on the go, instead of getting on Reddit or whatever. Think of the grasshopper app from Google but better, with more content/languages.

submitted by /u/pastenes
[link] [comments]
Categories: Web Development

Is there a distinct difference between code written by a hobbyist vs a professional?

webdev: reddit for web developers - Thu, 01/17/2019 - 17:25

I'm trying to write code that isn't spaghetti code...

submitted by /u/Glarity
[link] [comments]
Categories: Web Development

Google Maps Infowindow - How can add a button with a function call

webdev: reddit for web developers - Thu, 01/17/2019 - 17:14

Please help I'm stuck on this, and it already is 11PM here :(

I'm opening a Google Maps Infowindow when the user clicks on a Marker on the map. The content of the Infowindow is modified before opening it, to show information about the clicked marker. I also have a button, that I want it to call a function, with the marker as the parameter. Somehow I don't know how to modify the onclick action for the button and giving it the marker as a parameter.

I really tried for the last two hours everything, and my googlefu is letting me down as well.

submitted by /u/DB6
[link] [comments]
Categories: Web Development

2019 CSS Wishlist

CSS-Tricks - Thu, 01/17/2019 - 17:02

What do you wish CSS could do natively that it can't do now? First, let's review the last time we did this in 2013.

  1. ❌ "I'd like to be able to select an element based on if it contains another particular selector"
  2. ❌ "I'd like to be able to select an element based on the content it contains"
  3. ❌ "I'd like multiple pseudo elements"
  4. ❌ "I'd like to be able to animate/transition something to height: auto;"
  5. ❌ "I'd like things from Sass, like @extend, @mixin, and nesting"
  6. ❌ "I'd like ::nth-letter, ::nth-word, etc"
  7. ✅ "I'd like all the major browsers to auto-update"

Ouch. Oh well. I'm not sure how hotly requested all those actually are or how feasible it is to even implement them. They're merely ideas that I thought we be useful in 2013, and as it turns out, I still do.

This time, instead of me making my own list, let's have a gander around the internet at other people who have rounded up CSS desires.

TL;DR List

In observing several sources of conversation around things people desire in CSS, these seem like the most common asks:

  • Parent queries. As in, selecting an element any-which-way, then selecting the parent of that element. We have some proof it's possible with :focus-within.
  • Container queries. Select a particular element when the element itself is under certain conditions.
  • Standardized styling of form elements.
  • Has/Contains Selectors.
  • Transitions to auto dimensions.
  • Fixed up handling of viewport units.

Notably, what's interesting to me is the lack of people asking for style scoping. It came up a little, but not a ton. It seems like such a big part of the CSS-in-JS conversation, so I'm surprised to see so little mention of it in the context of general "what does CSS need?" conversations.

Jen Simmons asked what's on our lists

Making a wish list of all the things I’d love to see happen in the world of CSS in 2019. What’s on your list? Things you want to learn? Problems you want help solving? New properties you need? Design ideas you wish you could code? Resources you’d love to have? Name your desire.

— Jen Simmons (@jensimmons) November 14, 2018

Notable replies from the thread:

  • Aspect ratios (it's weirdly tricky in CSS, coming to HTML probably, and maybe we'll get it natively in CSS with a property someday)
  • Exclusions
  • Regions
  • Subgrid (it's coming!)
  • text-wrap: avoid-widows-and-orphans
  • Nesting
  • Outline with radius
  • Animated background gradients (without faking it by moving them or whatever else)
  • text-overflow:ellipsis over multiple lines / line clamping</li>
    <li>0-to-auto transitions</li>
    <li>Parent selectors</li>
    <li>Async <code>@import
  • Math functions like sqrt(), sin() and cos()
  • font-min-size and font-max-size
  • Masonry
Tab Atkins wanted to know what parts of CSS give us the most trouble

What parts of CSS give you the most trouble due to browser behavior differences? Collecting some data, please RT. (If answer is different for mobile vs desktop, let me know.)

— &#x1f496;Taudry Hepburn&#x1f496; (@tabatkins) October 3, 2018

Notable replies from the thread:

  • Tons and tons of requests for a standardized way to style form elements — not just for styling desire, but for accessibility to prevent trading standards for styling.
  • Being able to test browser support of more than just property/values with @supports
  • Improved handling of viewport units and their relationship to other browser UI
  • Improved handling of multi-column layout handling
  • Elastic scrolling
Tommy Hodgins did a CSS+JS advent calendar on Twitter that documents interesting possibilities

Dec 1: Parent Selector &#x1f384;&#x1f381; Though CSS doesn't have a :parent selector, you can create your own with a small JavaScript function and use a selector like [--parent] in your CSS stylesheets today!

demo: https://t.co/9N1A1Un8XT
code: https://t.co/NNUuvOi1zH#css #javascript pic.twitter.com/Nv8V3rl2AF

— Tommy Hodgins (@innovati) December 1, 2018

Tommy's list:

  • Parent selector
  • Has selector
  • Closest selector
  • First in document (like how querySelector works)
  • Elder sibling selector
  • Previous sibling selector
  • Contains selector
  • Regex selector
  • Computed style selector
  • :nth-letter / :nth-word
  • Media pseudo selectors
  • Not-blank valid/invalid selector
  • Element queries
  • Attribute comparison selectors
  • Custom specificity
  • Visibility selectors
  • Overflow detection selector
  • User agent detection selector
  • Storage queries
  • Date queries
  • Protocol queries
  • Deep hover
We asked as well

Putting together a list of most-wanted native CSS features. There are lots of ideas out there!

Hit me with quick hit ideas. Don't think too hard.

— CSS-Tricks (@css) December 17, 2018

Notable replies from the thread:

  • Container queries
  • Has selector
  • Regions
  • Color modification functions
  • Nesting
  • Shaders
  • Transition to auto dimensions / transition from display: none;
  • Previous sibling selector
  • font-size: fit;
  • Styling grid-template-areas
  • Animation between grid-template-areas
  • Types for custom properties
  • clip-path accepting paths
  • inline-styles: ignore;
  • Aspect ratios
  • Scoping
  • // single line comments
  • Corner shapes

The post 2019 CSS Wishlist appeared first on CSS-Tricks.

Categories: Web Development

Create Smart WordPress Forms in Less Than 5 Minutes with WPForms

CSS-Tricks - Thu, 01/17/2019 - 17:00

(This is a sponsored post.)

Most online form solutions are either too complex or too expensive.

We believe you shouldn't have to spend hours creating online forms for your business. That's why we built WPForms, a drag and drop WordPress form builder that's both EASY and POWERFUL.

WPForms allows you to create beautiful contact forms, email subscription forms, payment forms, smart survey forms, and basically every other type of form for your website within minutes!

Since launching in 2016, WPForms has taken the market by surprise with it's pre-built templates and smart workflows. Currently, WPForms is being used on over 1 million WordPress websites.

WPForms also maintains a 4.9 out of 5 star rating average on WordPress.org with over 3,000 five-star ratings.

WPForms Features

Here are the features that makes WPForms the most powerful and user-friendly WordPress form plugin in the market.

  • Drag & Drop Form Builder - create smart forms in minutes without writing any code.
    150+ Pre-Made Form Templates - start with our form templates to save time, and customize them as needed.
    Smart Conditional Logic - customize your forms based on user interaction to collect the most relevant information.
  • Entry Management - See all your leads right inside your WordPress dashboard with Geo-location data, and other powerful features.
  • Instant Form Notifications - Get email notifications when a user submits a form. You can smart routing to send the inquiry to the right person in your team.
  • Spam Protection - Our smart captcha and honeypot automatically prevents all spam submissions. You can also add custom CAPTCHA questions as well.
  • Email Marketing Integrations - Integrate with your email marketing service using our native integration for MailChimp, AWeber, Constant Contact, Drip, and countless others. You can use also use our Zapier integration to connect your forms to over 1000+ other apps.
  • Payment Forms - Create online payments using Stripe or PayPal. Recurring payment support is built-in as well.
  • Surveys & Polls - Easily create smart survey forms and analyze your data with our interactive reports. Our WordPress survey plugin is by far the best solution in the industry.
  • Form Abandonment - Unlock more leads by capturing partial form submissions.
  • Form Permissions - Lock your forms and manage access control with password, logged-in users, and other restrictions.
  • Signature - Allow users to sign your online forms with their mouse or touch screen.
  • Post Submission - Allow users to submit guest blog posts and other content directly to your WordPress site without logging into the dashboard. Great for user-submitted content.
  • User Registration - Create custom user registration and login forms for WordPress with just a few clicks. Also include advanced features like profile field mapping, spam registration protection, etc.
  • All Advanced Fields You Need - From radio button to file uploads to multi-page forms to Likert scale, we have all the fields you need.
  • Easy to Customize - Completely customize your WordPress forms with section dividers, HTML blocks, and custom CSS. WPForms also comes with hooks and filters for developers to extend and create custom functionality.

Smart business owners, designers, and developers love WPForms, and you will too!

Unlike other form solutions that charge a monthly subscription which increases as your business grows, WPForms allows you to create unlimited forms and get unlimited entries for a small yearly fee.

Get Started with WPForms Pro Today

Bonus: CSS Tricks users can get 50% off by using the coupon: SAVE50

Need more social proof? Read WPForms user reviews to see why over 1 million websites choose WPForms to build powerful WordPress forms.

If you're just starting out and don't need all the advanced features, then you can try our free WPForms Lite plugin for creating a simple contact form. You can simply download it from your WordPress site by searching for WPForms in the plugin search of your WordPress site.

Direct Link to ArticlePermalink

The post Create Smart WordPress Forms in Less Than 5 Minutes with WPForms appeared first on CSS-Tricks.

Categories: Web Development

Which developer tool would you like to use at work, but cannot because it's so unpopular?

webdev: reddit for web developers - Thu, 01/17/2019 - 16:58

Is there a framework, library, etc. that you tried and liked, but cannot use because it's unpopular or it doesn't match the current stack you're building with at your work?

submitted by /u/jehna1
[link] [comments]
Categories: Web Development

What dev stack are you using to add recommendations/personalization features?

webdev: reddit for web developers - Thu, 01/17/2019 - 16:56

What tools are you using to add data-driven features like recommendations or personalizations to existing websites? Do you build them from scratch or just configure platform plugins or third-party SaaS products?

submitted by /u/Khanhanhan
[link] [comments]
Categories: Web Development

HttPlaceholder: open source HTTP stub application

webdev: reddit for web developers - Thu, 01/17/2019 - 16:38

Hi everyone,

At my work, we develop a lot of websites, services and other kinds of applications. These applications have dependencies on a variety of other webservices, making local development a pain in the ass in some cases (you have to prepare your data in the several external web services so you can finally debug your application).

To make this process easier, I decided to make a sort of "generic" HTTP stub. It reads a .yml file where you define all your stubs (a set of conditions a request needs to adhere to and the response it has to return) and you can point your application to HttPlaceholder instead of to the real deal.

The application has an admin panel written with Vue.js.

You can find the project here: https://github.com/dukeofharen/httplaceholder

P.S.: I know of other stub applications, but some only let you return JSON (we still work a lot with SOAP) and other ones need you to program (which is not a big deal for me and other developers, but for some QA people, it may be a bit too technical). That's why I think defining your stubs in a .yml file is the perfect middleground. Oh yeah, I also made it because I wanted to :P

I'm interested in hearing your feedback and am also interested to hear what kind of stub applications you use now.

BTW, as of now it mainly runs on Windows, but I will add a Linux and Mac binary very soon.

submitted by /u/duco91
[link] [comments]
Categories: Web Development

Why does Django advise not to put your code under the server's document root (such as /var/www)?

webdev: reddit for web developers - Thu, 01/17/2019 - 16:23

In part 1 of their tutorial, they write:

If your background is in plain old PHP (with no use of modern frameworks), you’re probably used to putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security.

Put your code in some directory outside of the document root, such as /home/mycode.


I don't understand the risk.

submitted by /u/cheerio_kindle
[link] [comments]
Categories: Web Development