/r/beginnerwebdev
A place for beginners to learn about web development and programming including HTML, CSS, JavaScript, Back-end, Front-end, Web Hosting, Web Design, WordPress, etc...
1) Do not post memes, screenshots of bad design, or jokes.
2) Read and follow reddiquette; no excessive self-promotion
3) No commercial promotion or solicitation
r/webmasters
r/webdev
r/web_design
r/webhosting
r/1000daysofpractice
/r/beginnerwebdev
omg i’m learning css now and its so hard for me to understand! i’m taking a course on udemy, if anyone has any tips that could help me please let me know :-)
Just wondering if there are advantages to having an img inside of a div rather than just inserted into the HTML by itself. I’ve been playing with resizing things using the div vs just applying the sizing directly to the img and I’ve found I can basically achieve the same thing if I play around with the CSS. So what the advantages are there?
I'm learning, spending a lot of time to become a web dev, and I'm seeing a lot of similarities with FS JS and React. I know that React is just a library. Is there anypoint in knowing full-stack when I can just use react?
As a thesis project for school, I have recently made a webapp using Laravel, React and Inertia. As I will soon need to start paying a hefty sum to my current webhost Combell, I need to find an alternative. My goal is to show the webapp to potential employers. So I don't need a fancy domain name.
I have spent hours looking at alternatives, but as I have been taught only one way to upload and deploy the project, I must say I feel like I'm in over my head.
To give you an idea of what I'm familiar with: in a nutshell,
Turns out it's not easy to find free webhosting that fits the bill. The bill being:
I have been tinkering with Vercel, but deploying my repo fails. I'm not even sure Vercel supports PHP (out of the box). Netlify seems equally complicated/unfamiliar. Guides for this particular scenario seem to be spread thin. So I'm starting to think I might just need a more "classic" webhost. I'm hoping someone can recommend one, or a way to get my project on Vercel or a similar service.
Hello, I need to add a "see more" link for some lengthy text on my website. I'm using hostinger website builder, and I'm not a coder and a non-tech person :)
Anyway I can do this without having to learn code? Thank you!
Hello there, so I’m pretty new to coding and I’m working on a project that I’ve hit a wall with. I’m trying to render a card image gallery using a logged in user’s data. But try as I might the code isn’t working.
My database has a users array, decks array, and cards array. I’m trying to get the code to render the images of the cards in a user’s deck. I can see in the developer tools that it’s pulling the user’s data and deck but when it goes to pull the cards it pulls a copy of the whole cards array for each card in the deck rather than pulling the info for the specific card.
Could anyone give me some insight on how I would go about doing this effectively? (Example of what database kind of looks like below)
“Users”:[{ “Id”: 1, “Fullname”: Matt Gray, “Email”: matt@gmail.com, “DeckId”: 1 }], “Decks”: [{ “Id”: 1, “Name”: “First Deck”, “CardId”: [1, 2, 3, 4, 5] }], “Cards”: [{ “Id”: 1 “Name”: “A”, “RegionId”: 1, “TypeId”: 1, “ImageURL”: “imageurl.jpeg” }], “Region”:[{ “Id”: 1, “Name”: “Naroom” }], “Type”:[{ “Id”: 1, “Name”: Creature }]
I'm new here and looking for feedback for my application that I wrote with React.
I'm currently in my first semester of an associate program for web development and planning on double majoring in software development as I would only need 4 more classes once I finish web development program. I started the odin project for more practice and plan on doing some bootcamps to learn more.
My question is what languages and/or frameworks should I learn/focus on when searching for a job afterwards? What has benefited you more in the workplace??
Thanks in advance!
Hi Reddit,
I have a general idea of what I’d like to create, but having trouble with the specifics of WordPress development. I admit I’m new to WordPress (willing to learn), so forgive me if I ask fundamental questions. A bit of experienced guidance would suffice!
The goal of the website is to collect user-generated content (paragraph or two of testimonials/experience) and have the content displayed anonymously on a scrollable homepage.
A few minimal parameters are to have a user not be affiliated with the webpage (or need to sign in or use a username)—as posts must be approved by an admin of the webpage (preferably something user-friendly on the backend). The fields I’m looking for are 1) the Post title, 2) the Post body, & 3) submit button. Forward-thinking—Ideally, in the future, I would like to add the ability to have a second button that adds the ability to contribute content with the additional sense of donating $1 via PayPal (another optional button).
I would then like this approved content displayed on a scrolling timeline. It must be something that flows from one post to another and not be separated by reading submitted content on another separate page (I hope that is clear).
In general, that’s the sense of the webpage, along with some additional tabs that explain the project and whatnot. Anyway, any leads, articles, plugins, guidance—anything to point me on the right path would be greatly appreciated.
(Experience: I have had a brief experience with basic HTML in high school and developed a few websites with Dreamweaver in the past as well as Wix).
I would appreciate anyone's time and talent.
All the best!
I'm a rookie, sorry if it is too basic, but i just don't know how to phrase for research:
I noticed a lot of the projects I want to do, do not need a CMS at all. So SSG became very appealing to me.
My websites they're nothing fancy, they don't need any maintenance besides post one or more content every 3~4 months, and they're very, very small. No accounts, no cookies, no data collecting, except one.
The one thing that would be helpful for me, and that is just knowing where most people are accessing from.
I'm not even talking about cities and states, just the country is good enough.
Would the host itself be able to provide me that data or is there a way to use javascript to just tell another wesbite with CMS that "hey someone from Ireland accessed my page, no need to ping me back, see ya"
SOLVED
I'm following Web Dev Simplified's react crash course.
In it there is this piece of code which receives a function as a prop and that gets used in the onChange event. Works fine.
However it is done in a rather convoluted round about way via another function:
const Todo = ({ todo, toggleTodo }) => {
function handleTodoClick() {
toggleTodo(todo.id)
}
return (
<div>
<label>
<input type="checkbox" checked={todo.complete} onChange={handleTodoClick} />
{todo.name}
</label>
</div>
)
}
If I remove the extra function and call the prop passed function directly like so
onChange={toggleTodo(todo.id)}
then to browser goes unresponsive & FF complains about page slowing down. In my mind they're the same thing?
Clearly this extra step is meant to work around some limitation/idiosyncrasy, but its not explained in the vid & I can't figure out what it is. Could someone explain please?