The website I have been tasked with updating today... web developers |
- The website I have been tasked with updating today...
- Grid/Flexbox Layout Practice
- Tiny project redone 8 times now. This week with React function components (Hooks). Simple app in a simple environment with not many moving parts = good way to practice new ways to solve problems.
- Would you quit your current job to learn a new skill and get a better more satisfying job?
- Building job worthy projects
- I want to remake a very old forum from years ago, an exact replica, do I use discourse or mybb?
- Programmatic control of theme-color?
- What are the web performance metrics that actually matter?
- Question about express.js req.query vs req.params
- Our form was submitted multiple times despite taking standard precautions against that happening, and I'm wondering if anyone's experienced similar
- Choosing the correct backend language and important concepts only choosing languages like Go or Django
- A German open-source company prioritizes mental health of the team and declares holiday to bingewatch MoneyHeist premiere on Netflix
- Need Input On Short 'About Me' Paragraphs
- Medium clone
- Recommendations for super easy load testing tool which can be set up within a few hours?
- Is there any equivalent to json-server that can just run directly in my frontend?
- How do you choose between MongoDB and PostgreSQL? When to use which?
- MAMP/Localhost running really slow, trying to load a simple php site
- Which Fullstack YouTube tutorial do you think is the best ever?
- I'm building a project with Next.js Serverless functions. Will Prisma+PostgreSQL work well for that? Is there anything I should be aware of?
- So I want my text to have a gradient on it. Found the code online. Works on desktop but for some reason something weird happens on mobile. The HTML and CSS is attached. Please can someone correct this for me??
- Github Codespaces vs. Gitpod, an in-depth look
- Web Scraping with Javascript and Node.js
- Cannot use my own TypeScript library in JavaScript
The website I have been tasked with updating today... Posted: 02 Sep 2021 04:59 AM PDT
| ||
Posted: 02 Sep 2021 03:13 PM PDT Lately I've been struggling making layouts with CSS, Flexbox, and Grid. I understand all the HTML elements and understand semantic elements, I guess I'm just not quite grasping how to use Flex and Grid perfectly to just make a layout. Even something simple like a centered H1 with some center aligned buttons underneath, similar to this. (I made this with Grid) I don't have the source code since I'm on my phone. What are some good resources to practice this? [link] [comments] | ||
Posted: 02 Sep 2021 08:54 AM PDT The tiny little JS project was built 8 different ways so far, and will be rebuilt in 3 additional ways. There is a write up for each build (an 11-part series of writings). This week the UI has been built with React using function components (Hooks). The same had been previously done in the series using class components. Next week the project will be calling an asynchronous endpoint to request the data while still using React Hooks (this was also previously done using class components). If you are interested, there is also a repo linked in the write up. https://morsewall.com/random-quote-part-8-react-hooks-using-various-front-end-stacks/ And if you are interested in starting the 11-part series from the beginning: https://morsewall.com/random-quote-vanilla-javascript-using-various-front-end-stacks/ [link] [comments] | ||
Would you quit your current job to learn a new skill and get a better more satisfying job? Posted: 02 Sep 2021 08:39 AM PDT I've been thinking about this a while, covid hit me hard so i lost my job at the moment (front-end + wordpress custom theme development) A couple months later i found a job as a helpdesk agent, which helped me put food on the table. It was ok, until a month ago, when a company contacted me about a possible job offer (junior front-end) which had waaaay more perks than this one. Most job offers they had required React, but anyways i passed the interview and they offered me a position for one of their client who that using WordPress for multiple platforms they owned, which later was put into standby. What started this mess, was that this was a multinational that was showing some real interest in me, before this it was always just me and some clients, so, for once, the impostor syndrome was not affecting me and it gave me a helluva confidence boost. Which brings me to this thought: -TLDR- Should i quit my job, and focus all the time i have to learn React (and next.js or Gastby which I've been wanting to learn for a while), make some projects using them, in order to get a better job opportunity ? I know the reasonable thought is to not quit your job until you have another one, BUT, the current one just takes all my energy, i come home everyday with no energy left and the only time i can actually learn something is on weekends. Thank you for reading through this wall of words. [link] [comments] | ||
Posted: 02 Sep 2021 01:12 PM PDT Hie, guys, am trying to change careers so I've been learning a lot lately, mainly JS + React and Java for use with Spring Boot. Am have maybe advanced intermediate knowledge but not a lot of big projects to showcase. What's some 5 or so recommended projects that I can start working on that might give me a great chance at getting a job in tech? Thanks in advance. [link] [comments] | ||
I want to remake a very old forum from years ago, an exact replica, do I use discourse or mybb? Posted: 02 Sep 2021 12:49 PM PDT I basically am looking for a ''1 click'' forum service, but most importantly I need to be able to change the front end entirely, I have to use waybackarchive to find an old forum that I frequently used to visit and basically copy paste the old html/css layout and still make it work with a forum provider, which do you guys recommend? I heard Discourse is limited when makign your own frontend, but I see MyBB sites that have a fully customized layout, what should I do? Also self hosting for me is not a problem. Thank you in advance [link] [comments] | ||
Programmatic control of theme-color? Posted: 02 Sep 2021 04:33 PM PDT Hey guys, I've been looking into adding the theme-color meta tag to my site, however i've got a handful different colour themes. I'm just wondering is it possible to control the colour value programmatically? Can you change the hex code in the content attribute using javascript or would it be possible to create/remove a meta tag when the theme is changed? [link] [comments] | ||
What are the web performance metrics that actually matter? Posted: 02 Sep 2021 06:39 AM PDT
| ||
Question about express.js req.query vs req.params Posted: 02 Sep 2021 12:23 PM PDT I am confused about the use case for why you would choose passing data one way over the other. I am currently creating endpoints and don't know why (from a backend or a frontend perspective) someone would choose to pass data one way or the other For this one you would use req.params For this one, you would use req.query [link] [comments] | ||
Posted: 02 Sep 2021 04:04 PM PDT The other day a customer came through our checkout flow and somehow three
So far I've only been able to reproduce the bug by artificially delaying the call that requests the payment token with Has anyone run into an issue like this before? Is there anything I could be overlooking or unaware of? I've been researching this quite a bit to no avail so far. I've tried replicating the issue on the user's device (a Samsung Galaxy S8+ running Android Pie and Chrome 92) and various browsers on my own machine. This is the only customer this has ever happened to, and that edit: I should also add that this isn't a case where they could have navigated back and resubmitted or anything like that; all three requests came in at virtually the same time, and we also have preventive measures in place on both ends to where if a user resubmitted after one was successful, it wouldn't have gone through. [link] [comments] | ||
Posted: 02 Sep 2021 10:03 AM PDT Hi, I have been recently trying to learn backend development (microservices) and I have been developing in Django for quite for few weeks and I have also started learning Golang. But every one of my seniors keeps telling me that django is a bad framework to start backend development as it abstracts most of the low-level code. Hence, most were suggesting me to start working with PHP as it has more learnings. Here are my questions-
[link] [comments] | ||
Posted: 01 Sep 2021 09:08 PM PDT
| ||
Need Input On Short 'About Me' Paragraphs Posted: 02 Sep 2021 03:43 PM PDT Hello. I'm currently working on writing the content for my portfolio website's 'about me' page and would love to get some feedback on a couple of intro paragraphs I've written up. For context, I'm completely new to design. A year ago I was in the Army where I worked as a fuel handler, so I do not have any professional experience whatsoever. I'm currently a full-time student enrolled in a 2 year web design program. I'm half of the way done. The projects I did for all the classes I've taken so far + projects from a 6 week front-end dev cohort that I took this summer are literally all the experience I have so far. There have been a couple of UX Design (that's what I want to pursue) internships/apprenticeships I have wanted to apply to but I haven't done so due to not having a portfolio. So for the last couple of weeks, that's what I've been doing. Designing and developing my own personal portfolio website. So now I'm here, and need your input. I don't want it to be too long. Just short and sweet. Underneath the 3 paragraphs I'm going to add a couple of sections where I'm going to briefly mention my time in the military and hobbies so they can know a little bit more about me as well. Thanks!
[link] [comments] | ||
Posted: 02 Sep 2021 03:26 PM PDT I just started using frequently Laravel and React in some projects, and seeing Medium I was interested in that. My question is, while I want to deploy a fast medium clone, should I use Wordpress with a bough premium theme, or should I code from scratch using my stack ? I want to launch a medium clone as a soon as possible, while having possibilities of adding options such as paying authors etc.. As far as I know Wordpress doesn't allow that, I may be wrong. [link] [comments] | ||
Recommendations for super easy load testing tool which can be set up within a few hours? Posted: 02 Sep 2021 11:16 AM PDT Hi, I'm looking for the quickest (and cheapest) load testing tool where the bots are hosted in the cloud (not hosted by us), and where it's possible to set up a test case within a few hours. So far, I've found https://loadster.app which seems to do what we need. I like how it's easy to set up the tests just by recording user interactions using a browser extension. I'm just wondering if there are any other recommendations out there? We're trying to simulate 2k concurrent users and we need to be able to randomly generate field inputs. [link] [comments] | ||
Is there any equivalent to json-server that can just run directly in my frontend? Posted: 02 Sep 2021 02:45 PM PDT I like using json-server for prototyping my frontend API calls without needing to code a backend with all the CRUD route logic. However it's a bit of a hassle needing a separate nodejs shell process to run it, and makes it hard to use it on things like codesandbox. The packages miragejs and msw provide API interception running directly on the frontend, but they don't seem to automatically generate CRUD routes from a single JSON object like [link] [comments] | ||
How do you choose between MongoDB and PostgreSQL? When to use which? Posted: 02 Sep 2021 10:39 AM PDT Hi! I'm starting a new project and trying to decide between Mongo and Postgres. I don't know how to choose, I don't think I have a particular reason to prefer either one right now, it seems like both would work fine, but I don't know if I'll run into issues later on (I'm not super experienced). The project I'm working on is a marketplace, kind of like Gumroad or Udemy. It will need to have user profiles and authentication, ability to post products, upvotes and comments, tags and categories, search, selling with stripe. Which database would you prefer for such project? Could you share some advice on how to think about such things? What are the pros and cons of each? Which one would you go with? (If I choose PostgreSQL I'll probably go with Prisma for an ORM, if I go with Mongo I'll probably use Mongoose. I'm not sure if that should factor into the decision.) Edit: Oh, I should mention - I'm building my project with next.js serverless functions. Not sure if it matters. [link] [comments] | ||
MAMP/Localhost running really slow, trying to load a simple php site Posted: 02 Sep 2021 01:57 PM PDT Hello webdev, I'm desperate, my localhost:8888 is running extremely slow, table rows with mysql_fetch take as long as 5 minutes to load 500 rows. I've been trying to look for answers everywhere, from taking a look at my hosts file to changing PHP versions. I'm using PHP 8.0. I'm trying to figure what is causing my localhost to resolve so slow. My project on my web server loads instantly. Any clue? Let me know if more information is needed. Thanks [link] [comments] | ||
Which Fullstack YouTube tutorial do you think is the best ever? Posted: 02 Sep 2021 01:39 PM PDT | ||
Posted: 02 Sep 2021 01:21 PM PDT Hi! I've recently discovered Next.js serverless functions, and they're amazing, I've decided to build my project using them. I've talked to people on forums, and it seems like Prisma + PostgreSQL will be a good fit for my project (in terms of storing and managing data). My only question is - does Prisma/PostgreSQL work well with serverless functions? Someone told me that it's not scalable, something to do with the number of database connections, since every time a serverless function executes, there will be a new one. I'm new at this stuff, so I don't really understand what that means or how big of an issue this is. Do you guys know if this works well? Are there any other potential issues I should be aware of? Can you recommend some good tutorials/examples about setting this up? [link] [comments] | ||
Posted: 02 Sep 2021 12:51 PM PDT
| ||
Github Codespaces vs. Gitpod, an in-depth look Posted: 02 Sep 2021 06:48 AM PDT
| ||
Web Scraping with Javascript and Node.js Posted: 01 Sep 2021 10:25 PM PDT
| ||
Cannot use my own TypeScript library in JavaScript Posted: 02 Sep 2021 12:27 PM PDT I've been banging my head against the wall with a seemingly simple task. I would appreciate any insights on this. I'm writing a private library in TypeScript to be used in both TypeScript and JavaScript projects in our company. The library works great but I cannot seem to be able to import it in JavaScript. Library in TSpackage.json
tsconfig.json
JavaScript (Node.js, where I want to consume this library)Simplified code... ``` const MyModule = require("my-module-name); const myModule = new MyModule(); <--- this line is where the error happens ``` So the error that I'm getting is: Which would indicate that MyModule is not even a class, but it is. I DO get intellisense for the types in my TS library, but I cannot use the class. Here is the transpiled TS to JS code: ``` "use strict"; var importDefault = (this && this.importDefault) || function (mod) { return (mod && mod.esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "esModule", { value: true }); const declarations_1 = require("./declarations"); class Communicator { constructor() { // constructor logic }; } exports.default = MyModule; ``` I've tried following multiple articles and guides, changed tsconfig.json, and added "type":"module" to package.json but for some reason, I simply cannot get this to work. Any pointer would be very appreciated. [link] [comments] |
You are subscribed to email updates from webdev: reddit for web developers. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment