Web Development

What tools can validate JS code to conform to a specific ECMAScript standard?

webdev: reddit for web developers - 26 min 19 sec ago

Long story short, I'm working with an old codebase where, due to policy, all JavaScript must be written to conform to the ES5 spec.

I can't add Babel/other transpilers or polyfills. The project doesn't use things like NPM modules either.

What tools can I use ensure that the code doesn't contain ES6 code, e.g. during a code review?

I don't need it to check for code style. Checking for bad practices (such as ways to reduce cyclomatic complexity, redundant functions, dead code, etc...) would be a plus, but not necessary.

I've already tried es-check, but it didn't seem to notice the Array.prototype.includes() call I added for testing.

Any ideas?

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

Are math skills important for a career in web development?

Right now I’m learning JavaScript and solving open.kattis.com problems to have at least some sort of practical experience with it. The problem is, I’m struggling with problems beyond Easy, mostly because they require decent math skills. Math was somewhat difficult for me in the university (I’m not talking basic math, but things like combinatorics etc.). Should I keep trying to learn web development, or am I just wasting my time?

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

Does it make sense to hire someone to figure out the security/rules for my firebase database?

I'm a frontend developer, and recently I started a new project using firebase as my database/authentication system so I've set up my entire database structure, but since I'm a frontend developer, I've never really done that before, so it's probably not the best...

That being said, firebase has the rules section of a database and it looks like semi intuitive stuff, but I'm a little worried that I should have an experienced person take a look at that stuff instead.

The downside to this is that they don't know how my database is structured and I'll have to explain it, but I feel like the upside is that I won't have to worry that I'm doing something that is irresponsible..

Does it make sense to hire someone for this? I can't imagine it taking too long.. maybe 2-3 hours max?

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

I'm starting a blog... Let me interview you

webdev: reddit for web developers - 1 hour 48 min ago

Hey Guys,

I’m a fourth-year business student and going into the second year of being a computer science student. I was programming before I entered into the computer science program at my university and being self-taught in web dev and now experiencing some of a comp sci degree I’m a bit disappointed. I feel a lot of what we learn is outdated and some of the teachers have really let me down. An example is there is a Web Technologies course offered but HTML5 is only covered in the last week of lectures. Talking to some people in the industry I know that HTML5 is becoming the standard they use. I have begun wondering if a degree is as useful as I once thought it was.

  I’m starting an initiative called #EmployYourself which encourages people my age 19-25 to take business risks in the most opportune years of their life and work for yourself as if you’re working for someone else. I personally turned down a few job offers this summer to learn programming, I spend 5+ hours each week day learning about web dev. Each week I’ll be releasing blog post on what I learned and other post like useful free resources and whatever else I can come up with.

  I had this idea that each week I’d love to release an interview from someone in the industry talking about their personal experience with coding. They’re perspective on self-taught vs a degree and what someone should be doing so they can enter the workforce and be as prepared as possible.  

  This is something I am putting a lot of time into and really hope to help a few people. If you’d be open to answering a few questions we can have a sit down skype or google hangouts call whenever works for you! Excited to hear from you guys.


I’m launching my blog on June 4th!   Edit: I tried to keep this post as short as possible. Any additional questions don't be afraid to ask

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

Which site allows me to host a dynamic website for FREE(!)

webdev: reddit for web developers - 3 hours 6 min ago


I have a dynamic site that I need to be hosted, the site will have less than 50 people opening the site a YEAR.

I tried Heroku and it was all going well until I had to hook up my MySQL(I'm talking about the addon) and it just said "oh you want that huh? give us your credit card info"

I don't want to.

So is there any website that will do that, or am I just better of hosting it myself?

Thank you for your time.

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

Building a website for a family member. I think I broke the navbar/hamburger button. Need help fixing it.

webdev: reddit for web developers - 3 hours 24 min ago

I'm trying to build a website for a family member. I've already put the HTML and CSS together with placeholder images and a functional mobile-sized window.

My problem is that I think I broke the hamburger button that appears when scaling down to mobile sized. I want to try and animate it when you click on it (to make it spin into an X), so I copied some code from a free hamburger source, and I think I broke the nav bar when I pasted it into my HTML code.

I'm completely new to web development, and I need help fixing this. Here is the GitHub repository

Can someone please point out where I went wrong and why it doesn't work?

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

Atom plugin or other tool to automatically update href, src, etc., when moving files

webdev: reddit for web developers - 3 hours 39 min ago

I've taken over a static site that needs major cleanup, including moving a bunch of HTML files around. And of course, none of the href or src attributes are done with a leading slash. It'd a real pain in the ass to do this by hand.

Is there an Atom plugin or other tool that can automatically seek out and correct broken references?

if you say Frontpage, I'm getting my shiv

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

Support resources for design? (fonts, colour palettes)

webdev: reddit for web developers - 4 hours 55 min ago

I've been a full-stack web and application developer for the past year. I have a good eye for UX/UI and build strong responsive layouts using cssgrid and flexbox.

I am confident with my backend skills and I feel like I've got the right tools to continue along this job path in the front end, however I'm not a graphic designer. I feel like my lack of formal understanding of typography, colour and overall visual design will hold me back unless I start to fill in the gaps.

Does anyone have any resources they would recommend regarding general reference, tutorials or styleguides? I've come across a handfull of tools that I find handy for generating what I need quickly, however I have a feeling I haven't come across the right tools just yet.

I would like to get into rapid prototyping, and styleguide generation at the beginning of a project.

Cheers guys

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

React onClick event not updating the variable value

webdev: reddit for web developers - 5 hours 14 min ago

Hi guys, I have a component which converts temp either to F or C. When onclick function fires it doesn't seem to update the value. It is stuck on original value of temp variable. I can do other stuff like change bgcolor. So I must be doing something wrong. Please help me out thank you. Here is my code.

export const UnitConverter = props => { let temp = props.tempC; const handleClickF = () => { temp = props.tempF }; const handleClickC = () => { temp = props.tempC }; return ( <React.Fragment> <button onClick={handleClickF}>°F</button> <span>|</span> <button onClick={handleClickC}>°C</button> <h1>Today temp:{temp}</h1> </React.Fragment> ) }; submitted by /u/Rubyfast
[link] [comments]
Categories: Web Development

Can you embed videos and have them autoplay?

webdev: reddit for web developers - 5 hours 25 min ago

Rather then having the video on my local server/pc, wouldn't my site load faster if the content was stored on like youtube or something and pulled from their? Can I have it so that a small 1080x1080 resolution video is played repeatedly?

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

My first drawing tool Progressive web apps (PWAs) written in VanillaJS

webdev: reddit for web developers - 5 hours 44 min ago

Hi, guys. This is my first time developing drawing tool with PWAs feature in raw Javascript.

I named it "DrawOnPhone" because I only target the phone users and let them draw on phone.

You guys could comment the site and let me know if there is any good features for the drawing tool out there I can add to the site.

Link: https://photo.recognize.tech

Source code: https://github.com/hkturtco/drawOnPhone

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

Looking for a thread that was posted here about the new EU privacy changes

webdev: reddit for web developers - 6 hours 1 min ago

As the titles states I've seen a post sometime ago that talks about the new EU privacy changes. I think it had the wording 'EU privacy crash course' or something similar. I tried the search but didn't get the proper result. Could you point me in the right direction?

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

What do you love about web development?

webdev: reddit for web developers - 6 hours 10 min ago

I’m a jr front end developer who had so much passion for my craft, I’ve started to lose that as well as my passion for anything else after a not so fun work experience and I’m working on building back that. I do love what I do but would love to know why you guys are passionate about web development and what you enjoy about what you do to help get me driven again :-)

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

Search console "fetch as google" shows error (x-post from r/seo)

webdev: reddit for web developers - 6 hours 27 min ago

I am currently doing a test to see what google can fetch when I use a javascript framework (vuejs).

For that test, I am using three different wordpress themes:

For the static + javascript site I can crawl just fine, the google results seems to find the static content.

But for the static only and javascript only site, I get an error once I use the "fetch as google" tool within search console.

The error is "Currently not available" (can't switch the language, the german error says "Vorübergehend nicht erreichbar") Can anyone say why that error may occur? Is it my testresult on what google can crawl, or did I make a mistake?

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

Full Stack Development

webdev: reddit for web developers - 6 hours 45 min ago

I want to become a full stack developer. Any tips on how to start working towards that. I want to develop using python on Ubuntu. Can anybody give me a quick guide or study through materials?

What tools to use? How to work on my skills of programming? What else do I need to learn apart from python basics to become a developer?

I know its a lot to ask but I you can all help it would be great.

I am in debt and I can't afford online courses that's the reason I am asking here.

Thank you in advance.

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

I’m looking for some ideas on some projects to test my skills

webdev: reddit for web developers - 6 hours 47 min ago

I’m trying to learn how to code and I want to prove to myself that I’ve learned the concepts. Where can I find some kind of project ideas for me to try out?

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

quick book recommendation

webdev: reddit for web developers - 8 hours 12 min ago

Hey, gotten into front-end web dev a while ago and wanted to read a good css book as i feel my previous studies on it were really incomplete. I so far found css in depth, which seems to be a lighter read, or oriellys css book which is the most comprehensive but 1000 pages... Anyone read any of them and can help decide?

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