• Breaking News

    Tuesday, January 26, 2021

    This website is a single HTML file. It simply uses the #anchor suffix (from 1992) and the :target CSS selector to show and hide pages/content. This setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person. web developers

    This website is a single HTML file. It simply uses the #anchor suffix (from 1992) and the :target CSS selector to show and hide pages/content. This setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person. web developers


    This website is a single HTML file. It simply uses the #anchor suffix (from 1992) and the :target CSS selector to show and hide pages/content. This setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person.

    Posted: 26 Jan 2021 07:18 AM PST

    How the f* do you start projects without spending days implementing auth, payments, simple CRUD, transactional emails? I don't want to reinvent the wheel

    Posted: 26 Jan 2021 01:36 PM PST

    Seriously. I just want a nice Flask/Django/Node.js backend with a React frontend without a bazillion lines of state management. Anyone have any suggestions?

    submitted by /u/_conquistador
    [link] [comments]

    I think 2014 is when I started getting burnt out with web dev

    Posted: 26 Jan 2021 09:24 AM PST

    Prior to 2014 I didn't have to worry about responsive layouts. Now every page takes like 2-3x the time to build as non-responsive pages. And stakeholders want everything done faster and faster. And designers still think they can present one layout and let the "devs figure out the rest". But as soon as you do "figure it out" they suddenly want to mock up a new layout.

    SCSS was a massive improvement but the overall build tool process is pain in the ass. Ever have to go into an older project just to change a link color and get into a hellscape of node and gulp updates breaking everything? Two minutes to change the link color, but 4+ hours reconfiguring node and gulp.

    Now stakeholders run every page through Page Speed Insights and Lighthouse and I have to field countless emails from non-technical people freaking out over Cumulative Layout shift. Or wondering why the page speed and other scores change by large numbers as they sit there hitting refresh over and over and over.

    We built a lot of custom CMS' back in the day. Now it's WordPress for everything. And the marketing team that had to use WordPress because they "know it" are hounding me about every single WordPress question they have. How do I add a user? How can I change my password? Etc. And I am not writing documentation for core WordPress functionality.

    And don't get me started on using this JS framework or that JS framework. And as soon as we get up to speed on one, it gets updated and breaks something.

    Anyhow, that's my rant for now...

    submitted by /u/bobcottle
    [link] [comments]

    VSCode VS webstorm

    Posted: 26 Jan 2021 11:36 AM PST

    Hi everyone.

    So I have been using VScode since I have started learning webdev. However I was just curious to know if webstorm had any advantages compared to VSCode ? VSCode is free and has tons of modules. Webstorm on the other hand comes at $129. Is there any reason that would explain the difference of price and give a good reason to pay that much for an IDE ?

    submitted by /u/Narfi1
    [link] [comments]

    CSS Grid not the expected behaviour on mobile when I change from a category with just one element, using Vue and Cordova to get the api compiled

    Posted: 26 Jan 2021 06:25 AM PST

    How do you make your responsive navbar at work?

    Posted: 26 Jan 2021 01:48 PM PST

    I just want to know how they do it in the industry

    submitted by /u/newidcuzigotbanned
    [link] [comments]

    Need help (hosting) - Rest API MongoDB and Express

    Posted: 26 Jan 2021 01:47 PM PST

    Hey,
    i want to use MongoDB as database for a project im working on and express and node to create the api.
    Now i need some help with the hosting because i never used a service before and did all locally.
    I thought about using one hosting for the mongodb and another hosting for the node app, so that the database is not running on the same server, but i dont know which one to choose.
    I want to store player data for a game. (inventory, world data, npc data, items, bank and so on)
    Hope to find someone that can help me with that .

    submitted by /u/derHenky
    [link] [comments]

    WebRTC 1.0 is a W3C Recommendation

    Posted: 26 Jan 2021 06:24 AM PST

    Email I recieved regarding one of my chrome extensions. I'm guessing it's a scam

    Posted: 26 Jan 2021 03:16 PM PST

    Help for job interview

    Posted: 26 Jan 2021 02:40 PM PST

    I am interviewing for a Front End Developer role and would want to know what kind of questions to expect at the onsite interview. have always interviewed for SDE roles and this is a new role for me. Any recommendations or suggestions where to look for sample questions?

    submitted by /u/Kat_Krazy
    [link] [comments]

    Managers and supervisors: how do you feel about your employees freelancing with other projects?

    Posted: 26 Jan 2021 12:01 PM PST

    How do you feel about your employees freelancing on other web projects? Is this okay, or is this prohibited?

    submitted by /u/WryLanguage
    [link] [comments]

    Understanding HTTP Request Origin Header

    Posted: 26 Jan 2021 01:56 PM PST

    Hello everyone, i am very new to web development and can't quite grasp a particular subject i have stumbled upon while playing around on web browser's developer console to test some functionality and experimenting.

    My question is when i make a 'fetch()' request on devoper console opened in a page i browsed (say google home page) and look at request headers from network tabs i see 'www.google.com' as origin but how can this possible? If it is possible how can server send their response back at me and not to google ?

    Can anyone describe me above behaviour or direct me to source so that i can read?

    submitted by /u/InegolKofte
    [link] [comments]

    Open Web Docs: ensuring long-term health of open web platform documentation on de facto standard resources like MDN Web Docs, independently of any single vendor or organization

    Posted: 26 Jan 2021 01:07 AM PST

    What's the easiest way to make a dark theme (like on 1st photo) for markdown files hosted on github pages? Please check comments for the full description

    Posted: 26 Jan 2021 01:48 PM PST

    When to use HTTPS for local development

    Posted: 26 Jan 2021 11:02 AM PST

    Have an interview tomorrow and wanted some advice on a few things

    Posted: 26 Jan 2021 10:39 AM PST

    The job is for a complete redesign and deployment of their website, It nothing too advanced that I couldn't do, essentially just modernizing and then updating with newer features and/or updating listings for their properties (its a real estate website, all sales are done in person so no eCommerce is needed)

    My questions are:

    • Should I mention any current issues I've found on the site(for example, images just break when you switch pages back and forth on Chrome and Opera)?
      • And if so, how I would fix them?
    • They know I'm not that experienced (only about 1 Year experience) however they liked the look of my stuff and CV so know what they're getting, should I be really upfront about still learning things like React and such? They have mentioned that they've had applications from really unexperienced and experienced devs that wanted far too much of a salary(this sounds like a red flag to me in someways, yet they've told me the salary and its a decent amount for my current skill level).
      • And if so mention that its not going to be a quick rebuild? (I think I could recreate their current website as a static website in about 2-3 weeks give or take)
    • They are currently just using a WP site someone set up for them a few years ago and do not have much of a Web team, only a IT team, so I assume with a redesign, switching to a non WP website would be better? Should I mention about other stacks or solutions such as React or NodeJS?

    Thanks in advance

    submitted by /u/SCB360
    [link] [comments]

    $38,000 for a WordPress website... seems SUS....Help?

    Posted: 26 Jan 2021 12:22 PM PST

    The price seems a little crazy town for me and I would like to get your input on this as Web Devs...

    The website architecture will consist 21 pages 10 unique page templates Responsive design Using our assets and stock images 3 revisions on home page 2 revisions on unique templates Fully custom Word Press CMS CRM integration Optimization for mobile SEO friendly code Content migration = extra hourly rate of 125/hr Compatible with modern browsers

    $500/month website management

    I'm a little surprised by cost here as our last website was 10k... what am I missing or not understand?

    Their also calling this a custom job even though I asked them to give us a similar site to one they have already built before for another company.

    Thank you in advance?

    submitted by /u/saxyjavier
    [link] [comments]

    Help needed for interview

    Posted: 26 Jan 2021 03:56 PM PST

    I am interviewing for a Front End Developer role and would want to know what kind of questions to expect at the onsite interview. have always interviewed for SDE roles and this is a new role for me. Any recommendations or suggestions where to look for sample questions?

    submitted by /u/Kat_Krazy
    [link] [comments]

    Aligning elements in navigation bar

    Posted: 26 Jan 2021 12:05 PM PST

    Aligning elements in navigation bar

    I'm struggling to align a test image and a navigation toggle bar within my navigation menu. I've tried changing various properties of my HTML and CSS to try and align these two elements along with the other links that I have. The test image floats up and to the left of my links but I want it to be in a straight line with the links. The navigation toggle bar when in mobile view floats to the right like I want it to but it doesn't space itself from the edges of the navigation menu.

    The issue with the navigation toggle bar I think is due in part to my margins but I'm not entirely sure because when I changed properties of the test image it changes the behavior of the navigation toggle bar causing weird behavior. I tried changing the position and margins of the test image but can't get it lined up properly. I'm not sure what I'm doing wrong or if I'm missing code to facilitate these changes.

    Screenshots:

    In this image you can see how the current logo rests and is not in line with the links how I would like.

    This is the navigation toggle bar that isn't properly centered in the navigation bar when the website switches to mobile view. In desktop mode the navigation toggle bar should disappear, which it does.

    Here are all files I feel are relevant to this issue which can also be found on my github , some code was removed to make the files smaller for this post.

    index.html

    <!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="description" content="Webpage for Projects"> <meta name="author" content="Joseph Fitzgerald"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="CSS/index.css"> <link rel="stylesheet" href="CSS/title.css"> <link rel="stylesheet" href="CSS/footer.css"> <link rel="stylesheet" href="CSS/navigation.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> </head> <body> <div class="top-container"> /*Code removed*/ </div> <nav class="fill-navbar" id="mynavBar"> <img src="../Photos/test_logo2.png" alt="Logo" width="40px" height="40px"> <span class="navbar-toggle" id="js-navbar-toggle"> <i class="fa fa-bars"></i> </span> <ul class="main-nav" id="js-menu"> <li><a class="active" href="index.html">Home</a></li> <li><a href="About.html">About</a></li> <li><a href="Projects.html">Projects</a></li> <li><a href="Resume.html">Resume</a></li> <li><a href="Contact.html">Contact</a></li> </ul> </nav> <div class="content"> <p>Content</p> <article class="testArticle"> /*Code removed*/ </article> </div> <footer class="flex-footer"> /*Code removed*/ </footer> <script type="text/javascript" src="JAVASCRIPT/stickyNavScript.js"></script> <script type="text/javascript" src="JAVASCRIPT/navbartoggle.js"></script> </body> </html> 

    index.css

    html, body { height: 100%; } body { margin: 0; font: 16px Sans-Serif; display: flex; flex-direction: column; } .top-container { background: #24305E; background: url("../Photos/5.jpg") no-repeat center; text-align: center; min-height: 100%; } .top-container > p { color: white; } .sticky{ position: fixed; top: 0; /*width: 100%;*/ left: 0; right: 0; } .sticky + .content { /*padding-top: 100px;*/ padding-top: 60px; } .content { flex: 1 0 auto; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */ padding: 20px; background-color: black; } .testArticle { color: white; background-color: black; padding: 4px; box-shadow: 0px 0px 8px 8px #13c6e4; -webkit-columns: 2 200px; -moz-columns: 2 200px; columns: 2 200px; -webkit-column-gap: 4em; -moz-column-gap: 4em; column-gap: 4em; -webkit-column-rule: 1px dotted #ddd; -moz-column-rule: 1px dotted #ddd; column-rule: 1px dotted #ddd; } 

    navigation.css

    /* NAVIGATION */ nav { width: 100%; /*Add a fixed height that is changed when the window is resized*/ margin: 0 auto; /*Navigation color*/ background: #040404; padding: 2px 0; border-bottom: 2px solid #ce1c69; position: relative; } nav ul { list-style: none; text-align: left; } nav ul li { display: inline-block; /*Changes how the buttons are stacked*/ } nav ul li a { display: block; padding: 4px; /*This is the padding around all these elements*/ text-decoration: none; color: white; /*Changes button text color*/ font-weight: 900; text-transform: uppercase; margin: 0 10px; } nav ul li a, nav ul li a:after, nav ul li a:before { transition: all .5s; } nav ul li a:hover { color: #555; /*This changes the color of the text when you hover over a button*/ } nav ul li a.active{ background: #ce1c69; border-radius: 20px; } /* stroke */ nav.stroke ul li a, nav.fill-navbar ul li a { position: relative; } nav.stroke ul li a:after, nav.fill-navbar ul li a:after { position: absolute; bottom: 0; left: 0; right: 0; margin: auto; width: 0%; content: '.'; color: transparent; background: #13c6e4; /*The little line that goes under the text first is this color before the button fills up*/ height: 1px; } nav.stroke ul li a:hover:after { width: 100%; } nav.fill-navbar ul li a { transition: all 2s; } nav.fill-navbar ul li a:after { text-align: left; content: '.'; margin: 0; opacity: 0; } nav.fill-navbar ul li a:hover { color: black; /*changes button text color on hover and fill*/ z-index: 1; } nav.fill-navbar ul li a:hover:after { z-index: -10; /*Sets the fill animation to the background not the foreground*/ animation: fill 1s forwards; -webkit-animation: fill 1s forwards; -moz-animation: fill 1s forwards; opacity: 1; } /* Keyframes */ @-webkit-keyframes fill { 0% { width: 0%; height: 1px; /*THIS CHANGES THE HEIGHT OF THE STROKE AT THE BEGINNING OF THE ANIMATION */ } 50% { width: 100%; height: 1px; /*THIS CHANGES THE HEIGHT OF THE STROKE MID WAY THROUGH*/ } 100% { width: 100%; height: 100%; background: #13c6e4; /*Changes fill color*/ border-radius: 20px; } } .logo{ display: inline-block; background-color: white; } /*Hide the toggle bar while the screen is larger than 800px*/ .toggle-navbar{ display: none; } @media only screen and (max-width: 800px) { .fill-navbar { font-size: 18px; background-color: #040404; padding-bottom: 10px; } .main-nav { list-style-type: none; display: none; } .main-nav li { text-align: center; margin: 10px auto; } .logo { display: inline-block; font-size: 22px; margin-top: 10px; margin-left: 20px; background-color: white; } .navbar-toggle { position: absolute; top: 10px; right: 20px; cursor: pointer; color: rgba(255, 255, 255, 0.8); font-size: 24px; } /*This displays menu on mobile as a column*/ ul#js-menu.main-nav.active{ display: flex; flex-direction: column; } } 

    stickNavScript.js

    const nav = document.querySelector('#mynavBar') const firstScreen = document.querySelector('.top-container') document.addEventListener('scroll', function(e) { let scrollCount = self.pageYOffset || (document.documentElement && document.documentElement.scrollTop) || (document.body && document.body.scrollTop); if (scrollCount > firstScreen.clientHeight) { nav.classList.add('sticky') } else { nav.classList.remove('sticky') } }) 

    navbartoggle.js

    let mainNav = document.getElementById('js-menu'); let navBarToggle = document.getElementById('js-navbar-toggle'); navBarToggle.addEventListener('click', function () { mainNav.classList.toggle('active'); }); 

    To see a live demo of all this you can visit the website and inspect element to change the view from desktop to mobile to see the navigation bar change. Note I haven't added the test logo image to the other pages so you wont see it there. Any help or tips on this issue would be greatly appreciated!

    Also if more information is needed please message me, thank you!

    submitted by /u/Joe_SU
    [link] [comments]

    What are some important steps or resources to start freelancing again after 10 years, as an experienced software engineer?

    Posted: 26 Jan 2021 11:46 AM PST

    Preface: I know my questions are basic and there are existing resources here, but I'm framing this as someone who wants to get back into the game at a high skill level.

    I broke into software engineering as a freelancer, making simple landing pages and generic e-commerce sites. Lots of WordPress, PHP, cowboy coding, insane deployment "pipelines".

    After a couple years of that, I started working for companies. 2 years at my first job and 7 at the current one. So it's been about 10 years, and I'm now a competent and well-rounded developer.

    I'm getting more and more interested in getting back to the freelance lifestyle, mainly to cut back my hours and have more time for personal pursuits. My wife is also a software engineer so it wouldn't be nearly as devastating for me to start earning less, although my hope would be to still bring in a significant amount of money eventually.

    But it's been so long. Back in the day I got lots of work from agents. And the projects, as previously mentioned, were very unpleasant.

    I'd love to be able to find gigs working with better technologies and languages, more complex projects, even doing DevOps (although I do not want to provide hosting or anything like that, more like getting folks set up for it, if they need it).

    tl;dr: What are some important steps to take, things to think about, avenues for finding work, etc. etc., for someone with my experience level and aspirations these days? I don't have a portfolio, since I've been working at companies. I never figured out how to get higher-grade projects. I don't even know what folks are using for invoicing and general business maintenance anymore.

    submitted by /u/kwertyoop
    [link] [comments]

    question are vpns

    Posted: 26 Jan 2021 02:40 PM PST

    if I make a website that's only viewable on my local network can I use a VPN to access that website from other networks?

    submitted by /u/No-Proposal2288
    [link] [comments]

    What should you look out for when assessing web dev jobs?

    Posted: 26 Jan 2021 02:29 AM PST

    I'm a relatively inexperienced full stack developer and am applying for jobs atm. I want to make sure I work somewhere that can really level me up and allows me to learn from others while also transferring my expertise to other developers.

    What kind of things do you do to find out whether the company is a good fit for you/a good place to learn and grow?

    I personally look at the profiles of the current developers to see if we share similar interests, look for a blog to see what they talk about and try gather as much information as possible on upcoming projects.

    submitted by /u/oneAJ
    [link] [comments]

    January brings us Firefox 85

    Posted: 26 Jan 2021 10:32 AM PST

    I built an adult verification system for my web app with Rails

    Posted: 26 Jan 2021 10:30 AM PST

    No comments:

    Post a Comment