• Breaking News

    Sunday, January 17, 2021

    Web Dev position I came across last night.... web developers

    Web Dev position I came across last night.... web developers


    Web Dev position I came across last night....

    Posted: 17 Jan 2021 12:05 PM PST

    Why do websites still adjust the browsers scrolling speed?

    Posted: 17 Jan 2021 08:02 AM PST

    Why do some websites still think it's a good idea to adjust the browser's scrolling speed?

    Looking at The Line currently, they appear to 'smooth out' the browser's default scrolling (at least on desktop).

    What is the point? What benefit does that achieve?

    Why not leave it up to the browser

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

    TIL: you can type "thisisunsafe" on Chrome SSL error page to make Chrome ignore it no matter what.

    Posted: 17 Jan 2021 02:31 PM PST

    Not that I encourage everyone doing this (this is why I choose this subreddit), but it seems to be super handy if you know what you're doing.

    It even works when Chrome doesn't let you continue via UI due to HSTS setup. Simply focus on the browser and type "thisisunsafe". Chrome will ignore the error and open the website.

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

    Gap in my knowledge in how back-ends and front-ends are connected. Help!

    Posted: 17 Jan 2021 08:19 AM PST

    TLDR; Do I need template engines or is it possible do all the front-end stuff in react?

    First of all, I have about 9 months of experience with web development and little over a year of experience with programming in general. I have coded mostly on the front-end but also some with node on the back-end, but now is the first time that I'm trying to create a project that is full stack. (Before it has either been completely front-end or vice versa).

    Basically I want to be able to just write react on the front-end, while still having the full power of a back-end available to me. Where I get confused is when templating engines get involved, because I'm having a hard time understanding why I would need to use something like jade for my layouts when I, as I said, want to do all the front-end stuff in react? Also, everything that comes from the back-end is server-rendered and I really don't want that on every page. I do understand that I need a way to send data from the backend to the frontend though.

    Correct me if I'm wrong, but I have gotten the impression that next.js tries to solve what I described above? I've just started using it and the fact that you can choose if you want CSR, SSG or SSR on different places in the application seems good, and it seems like the problem with templating engines is solved because they're now gone.

    I just feel weird developing a project that is really much more of a "back-end" project on next which is mainly catered to the front-end stuff. Is this really the best way?

    Feel free to completely educate me on the subject... Articles, books or whatever would be hugely appreciated.

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

    What tools are used to make Twitter bots ??

    Posted: 17 Jan 2021 08:14 AM PST

    I'm thinking of making one that will automatically archive all the clickbait articles as soon as they are published what tools will I need for that??

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

    Does just creating websites count as experience

    Posted: 17 Jan 2021 10:39 AM PST

    If im creating websites for personal use (portfolio etc.) For a year. Can i put 1 years of experience in my resume or does only actual job count ?

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

    Looking for image gallery focus examples

    Posted: 17 Jan 2021 03:02 PM PST

    I don't know what these components are called but it's when you click on an image in a gallery/grid so that it zooms in the enlarges the clicked picture. Do you have any examples on these kind of components?

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

    When to move on to a javascript framework?

    Posted: 17 Jan 2021 03:33 AM PST

    I've been learning javascript for more than a month now, and i've built multiple projects mostly by myself (mp3 player with drag and drop functionality, todo list, quiz app, clock, countdown timer, notes app, password generator, image slider..) i kinda know how to use objects, arrays, and array methods (forEach , filter, map, reduce) what should i learn next before a framework?

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

    How does a browser omnibox work?

    Posted: 17 Jan 2021 09:11 AM PST

    Let me know if this isn't the right place to ask this but I was wondering how google search suggestions are displayed in a browser like chrome. Does google provide any API to get search suggestions?

    Firefox also has this feature: https://support.mozilla.org/en-US/kb/search-suggestions-firefox

    Is there anything open source which implements this?

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

    Is there a SSG that can easily generate an existing HTML/CSS/JS site into a faster version of itself? Does that exist?

    Posted: 17 Jan 2021 10:00 AM PST

    I'm a beginner to web dev and Jamstack/SSGs, so apologies if this is obvious.

    I'm looking to speed up my site, and while I'm around 80 on a Lighthouse test, I'm looking to get into the green.

    Is this possible with just a SSG? Or should I focus on other ways to optimize?

    Thanks guys!

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

    How to make Google and Facebook sign in work in embedded browsers

    Posted: 17 Jan 2021 07:59 AM PST

    I have a PWA application made using ionic-react, the login flow is working through normal browsers but does not work through the embedded browsers of Instagram and Facebook. I have read that Google does not allow sign in through embedded browsers. Since are running ads through instagram and Facebook the app is opened in the embedded browsers and majority of users are unable to register it login. Is there any work around to get it to work in embedded browsers or to force open my pwa website on users browser (chrome/safari)

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

    Object Storage: Everything You Need to Know

    Posted: 16 Jan 2021 11:57 PM PST

    Is there an issue with an OTP only site?

    Posted: 17 Jan 2021 02:19 PM PST

    Been doing some thinking lately about making a very simple site and wanted it to be as easy as possible to login and out. 2FA has been all the rage lately, and I thought to myself- what's the downside of just using OTP?

    Put in your email, receive a code, enter the code. Done. No need to worry about remembering passwords and dealing with password resets and all of that jazz.

    Is there a massive security risk to this? Is there any reason to not do this?

    My personal case is a site that would be visiting potentially many times in a short period of time with large gaps between. Session storage covers the recurring, but if/when you log out/change browsers, you're a quick OTP auth away.

    Any thoughts on this becoming more wide spread, or why it isn't already?

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

    Refactoring <td> tags in React

    Posted: 17 Jan 2021 12:02 PM PST

    Hi all! I have this project I'm working on. I'm taking in data from a GQL API and converting it into a chart. What I'm trying to do is reduce the lines of code to complete it. In the table body or <tbody> I do a .map to map the data then retrieve it in every individual <td> I feel like I should be able to make a loop that generates the same results but in less code... any ideas/help?

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

    VSCode extension that allows temporarily moving with vim motions

    Posted: 17 Jan 2021 04:31 AM PST

    Javascript/HTML issue! setAttribute aways adds quotation marks to the value. I need it without it. How can I edit/remove the quotation marks from the attribute?

    Posted: 17 Jan 2021 11:33 AM PST

    It's pretty simple and the result of a single line:

    Target.setAttributeNS("null","onSlide","{slideBgChange}");

    This lineadds the attribute :
    onSlide="{slideBgChange}"
    What I need is to have it add:
    onSlide={slideBgChange}

    How can this be done or how can I edit the attribute to remove the quotes?

    Thanks!

    Edit:Editing

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

    Quick Guide to Auto Compress your CSS and JS when you Git Merge or Pull

    Posted: 17 Jan 2021 06:27 AM PST

    Question for Web Developers who also right blog?

    Posted: 17 Jan 2021 12:25 PM PST

    *Write instead of right

    Hello there everyone.

    I am a web developer like everyone else here and since the start of this year I am doing this blog writing one post a day about what I learn in programming and web development and also in Japanese Language. I don't know if this sub is the right one to ask this question to but I will ask anyway.

    Here is my blog zainsci.github.io/blog deployed on GitHub-Pages and built with GatsbyJS. I just want bloggers who are also web developers to check it out and please give feedback on design and writing.

    Thanks

    Edit: There is misspelling in the Title but cannot be fixed now, So Sorry for that.

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

    Firebase hosting / Other hosting services

    Posted: 17 Jan 2021 03:46 PM PST

    Hello, I'm new to coding. I'm currently learning HTML, CSS and JavaScript. I want to make a website for myself where I can archive/post my work ( I also meddle with graphics, game development and music production ). I could just use Wix or WordPress etc but I wish to code it myself since I'm learning it and using something like Wix would be a waste in my opinion.

    I plan on making this website public so people can view my progress in skill development and or view my artwork. I'm not popular so traffic isn't going to be an issue for a while. And I can store all my media on Google Drive and then link it in code if I use the free plan.

    Can I use Firebase to host my website using the free spark plan? < If not which other service can I use which provides a free plan in which I can code it myself instead of being stuck with visual design and templates.

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

    Instagram not allowing service to follow other users possible workaround ?

    Posted: 17 Jan 2021 11:52 AM PST

    I built me an app that follows / unfollows people based on % of same hashtags on posts and some other stuff. Now, after a couple of months, I got a message about me sharing password with service that gets me likes / followers as a warning before ban. Anyone have an idea how to go around this ? Btw I made it so it looks kinda organically, app logs in and performs actions at random times during day, and does not follow / unfollow like 10 accounts in a single go.

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

    How to showcase my SharePoint projects?

    Posted: 17 Jan 2021 09:37 AM PST

    I will be looking for a new job in about one year from now. I still have some learning to do but I am starting to think about next steps. One thing is I want to create a portfolio website. I definitely still have time to set it up, but am not sure how to showcase my SharePoint stuff.

    I have built out a lot of cool tools, add-ons, and what not for my company's SharePoint site. The problem is the main functionality of pulling from SharePoint lists/libraries and posting to those lists/libraries won't work on a portfolio website I want to create. Would it be best to update it so it just pulls off of a fake dataset and rather than creating/deleting SharePoint items it just displays a message? Should I still keep the code, but commented out, so if I am asked I can explain how it works?

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

    change link url based on @media query?

    Posted: 17 Jan 2021 03:10 PM PST

    I'm making a portfolio website and I have a link for my soundcloud. On desktop, it directs me to my popular tracks page. For some reason, this page seems to be unavailable for mobile, but my homepage works fine.

    I want the desktop version to link me to my popular tracks page, and the mobile version to link me to my home page. Is there a way to change the link url with an @ media query?

    Thanks!

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

    S3 AWS amplify React Native console.log error

    Posted: 17 Jan 2021 03:06 PM PST

    trying to fetch an object from my S3 storage bucket on the client side with React Native

    i'm console logging to see what i'm getting and it looks like i'm not even able to retrieve the object...

    This is what i'm getting:

    Error: No credentials, applicationId or region at AWSPinpointProvider.<anonymous> 

    Anybody have any idea whats going on? Or have experience with S3 amplify and RN?

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

    Way to scale font inside div based on div width with CSS?

    Posted: 17 Jan 2021 02:48 PM PST

    I know there are methods to scale everything in a div based on the div's width with jQuery and JS, but I'd like to see if there's a way to do it with CSS (I'm using SCSS and compiling it to CSS) first using variables or something?

    I'm using Bootstrap for my CSS library.

    Here is what my HTML looks like:

    <div class="parent-div"> <div class="inner-div"> <div class="header"> <div class="row"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 text-center"> <h2>Street Names</h2> </div> </div> <div class="row"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12"> <p class="d-inline-block">Street 1</p> <p class="d-inline-block">Street 2</p> <p class="d-inline-block">Street 3</p> <p class="d-inline-block">Street 4</p> </div> </div> </div> </div> </div> 

    CSS:

    .parent-div { height: 60vh; max-height: 1080px; margin-top: 25px; .inner-div { background-color: white; border-radius: 7px; transform: scale(1); height: 100%; width: 66%; box-shadow: 0px 0px 40px 15px rgba(0, 0, 0, 0.03); margin-left: auto; margin-right: auto; padding: 15px; .header { p { font-size: 10px !important; line-height: 1; } } } } 

    Currently, my objective is that I'd like the CSS to get the width of the div and then dynamically scale hte inner elements(in this case that'd be the header). Is this possible with native CSS or would I be stuck with JS to do this and then adding inline styles to adjust the scale?

    Any help is greatly appreciated, thank you!

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

    No comments:

    Post a Comment