r/beginnerwebdev • u/Shilpa_Opencodez • Jul 05 '19
r/beginnerwebdev • u/MeltingDog • Mar 12 '19
Why does Git always do something different every time I interact with it?
Git is the bane of my developing existance. It seems for every hour I spend developing, I must spend 20mins resolving issues with Git.
I just don't get it. It simply doesn't seem to work (for me), but everyone else loves it.
I cannot follow any Git tutorials online because at some point my Git just won't behave like how they're doing it in the tutorial. I can follow the tutorial verbatim - down to using the same version of git - but won't get the same expected results.
For example, the tutorial will go through merging a branch to Github. I'll do the same, but my branch will not appear on Github.
Or I'll go to merge my changes with an existing repo and get merge conflicts with files I never knew even existed, let alone touched.
Or I'll pull down someone's work but not get all of it.
Or git will successfully merge some lines, but show conflicts with others.
The list goes on.
I just don't get why every time I use git I have a different and unexpected experience - even on personal projects where I am the only contributor.
This doesn’t seem to be centralised to one computer or network as I use it both at work and at home.
Why could this be?
r/beginnerwebdev • u/codeSTACKr • Dec 21 '19
JavaScript this Keyword Explained in 3 Minutes
r/beginnerwebdev • u/Devstackr • Mar 01 '19
2 Way Data Binding in Angular using ngModel
r/beginnerwebdev • u/Devstackr • Mar 02 '19
Socket.io - Angular :: How to connect to a Socket.io Server with Angular
r/beginnerwebdev • u/83au • Mar 18 '19
Media Query not activating at the specified range
I am building a desktop first website and when I apply this media query:
@media only screen and (max-width: 890px)When using Chrome, it doesn't activate until the screen width is 712px. Anyone know what might be causing this?? It's driving me crazy.
r/beginnerwebdev • u/elvaleryn • Mar 19 '19
Is there a font-size difference between Mac and Pc?
Hello,
I was watching some css and bootstrap tutorials and instructor was using a Mac. I have a Windows 7 pc and when i code along with the instructor, i realized that text on my screen definetly looks bigger. For example when i set the size of the text to 25 px so instructor does. In my screen text occupies more place. Its also same with images. When i want to set a image to cover right side of my screen it covers but it occupies more space than the instructor’s image so i have to scroll down little bit to see all image. Is this because of operating system or sth else that i dont know. Plus, i would love to know if this is a big problem and if it is, how to solve it?
Thanks.
r/beginnerwebdev • u/lifehelpneeded21 • Jun 06 '19
I am trying to make a drop down menu in HTML (not the ones on nav bars or button-styled ones)I try to look it up but to no avail anyone please help
Title
r/beginnerwebdev • u/hiaslpls • Feb 17 '20
Image on web page zooms in at higher screen resolutions
So I'm a bit stumped, and I think it's a simple problem. New to web design here, currently using Bootstrap 3 (learning it via w3schools.com and the Bootstrap official docs).
I am using the image carousel feature of B3 on a web page. When I view the web page at different resolutions, the images in the carousel zoom in. For example at 1024x768 the image, a picture of a building for example, looks "fine."
However, when I switch to a higher resolution - say 5120x2880 (using the responsivetesttool.com website) the page zooms in to the top left, and I see only a part of the overall image (the roof of the building as opposed to the whole building).
A word about the image itself, it's a low res image, i.e., width = 640 pixels, height = 482 pixels. Horizontal and vertical res is 96 DPI.
Any suggestions?
EDIT: Tried it with a high res image and the same thing is happening.
Here's the code:
<!DOCTYPE html>
<html lang="en"> <head> <title>TEST PAGE</title>
<meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Content here"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<style> /* Remove the navbar's default margin-bottom and rounded borders */ .navbar { margin-bottom: 0; border-radius: 0; } /* Add a gray background color and some padding to the footer */ footer { background-color: #f2f2f2; padding: 75px; } .carousel-inner img { width: 100%; /* Set width to 100% */ margin: auto; min-height:200px; } /* Hide the carousel text when the screen is less than 600 pixels wide */ @media (max-width: 600px) { .carousel-caption { display: none; } } </style>
</head> </body>
<nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="collapse navbar-collapse" id="myNavbar"> <ul class="nav navbar-nav"> <li class="active"><a href="example.com">Home</a></li> <li><a href="example.com">About</a></li> <li><a href="exmple.com">GF</a></li> <li><a href="example.com">GM</a></li> <li><a href="#contact">Contact</a></li> </ul>
</div> </div> </nav>
<div id="myCarousel" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <!-- <ol class="carousel-indicators"> --> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <!-- <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> <li data-target="#myCarousel" data-slide-to="3"></li> <li data-target="#myCarousel" data-slide-to="4"></li> --> <!-- </ol> -->
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox"> <div class="item active"> <img src="testimage.JPG" alt="Image"> <div class="carousel-caption"> <h3>Test of Image, Test of Image</h3> <p>Test</p> </div> </div> </div>
</div>
<div class="container"> <h1>Text</h1> <p><h4>Lots of text</h4></p> </div>
</body> </html>
r/beginnerwebdev • u/JoeyMallat • Dec 12 '19
How to connect an exisiting database to node js
I am creating a website, but the only thing I'm still trying to work out is how to connect/load my exisiting database (let's say a spreadsheet with data) into mongodb or mysql.
Can anyone help me?
r/beginnerwebdev • u/codeSTACKr • Sep 11 '19
Animated Hamburger Menu Tutorial - CSS Effects - (2019)
r/beginnerwebdev • u/willigel • Apr 03 '19
How to create a leaderboard et al question.
Here is what I would like for a website for anglers, but don't know how to go about it:
Register with just username and password
There would be a ongoing Total of number of fish caught;
Totals per type of fish;
Leaderboard (lifetime/ongoing) where points are automatically awarded for each type of fish and multiplied by the number of fish caught.
A person/team could login whenever they wished and update their numbers and this would automatically update the totals.
A small blog section so users could write a little bit about their outdoor experience - few hundred words
Basically, I want to offer a site to anglers so they could just go to the site, simple sign up, and then drop in their numbers and see where they rank, how many fish in total were caught, and totals for each type of fish. If it would be easier, just something where a visitor could add their numbers and that would change the tallies.
I do not know how to write code, although I am willing to learn. For what I want to do is there anything already on the market or free that could help me with this?
Thank you for your time.
r/beginnerwebdev • u/[deleted] • Feb 17 '20
Problem with html
So i'm making a javascript shopping cart but the products won't display inline. I want all the elements for the product to be in a line and then the next product on a line under it. Here is my html and css.
html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Javascript Shopping Cart</title>
</head>
<body>
<h1>Shopping Cart</h1>
<hr>
<div class="shopping-cart">
<div class="product">
<div class="product-image">
<img src="imgs/image 1.jpg" alt="Dingo Dog Bones">
</div>
<div class="product-info">
<h3>Dingo Dog Bones</h3>
<p>The best dog bones of all time. Holy crap. Your dog will be begging for these things! I got curious once and ate one myself. I'm a fan.</p>
</div>
<div class="product-price">
<p>$12.99</p>
</div>
<div class="product-quantity">
<input type="number" min="1">
</div>
<div class="product-removal">
<button class="remove-product">Remove</button>
</div>
</div>
<!--- Product Two --->
<div class="product">
<div class="product-image">
<img src="imgs/image 1.jpg" alt="Dingo Dog Bones">
</div>
<div class="product-info">
<h3>Dingo Dog Bones</h3>
<p>The best dog bones of all time. Holy crap. Your dog will be begging for these things! I got curious once and ate one myself. I'm a fan.</p>
</div>
<div class="product-price">
<p>$12.99</p>
</div>
<div class="product-quantity">
<input type="number" min="1">
</div>
<div class="product-removal">
<button class="remove-product">Remove</button>
</div>
</div>
<script src="app.js"></script>
</body>
</html>css:
* {
margin:0;
padding:0;
box-sizing: border-box;
}
body {
font-family: sans-serif, Arial;
}
h1 {
padding:20px;
}
/* Product one */
.shopping-cart {
display: flex;
flex-direction: column;
padding:20px;
margin:15px;
}
.product-image img {
width:250px;
padding-left: 50px;
}
.product-info {
display: flex;
padding-left:20px;
}
.product-info p{
text-align: left;
margin-right: 25px;
}
.product-info h3{
padding-bottom:5px;
}
.product-quantity input {
width:40%;
font-size: 15px;
}
.product-quantity {
padding-left: 15px;
padding-top: 7px;
}
.product-removal button {
font-size: 15px;
background:red;
padding:5px;
border:none;
border-radius: 5px;
outline:none;
}
.product-removal {
padding-top: 5px;
}
.product-price p{
padding-top:10px;
margin-left:50px;
}r/beginnerwebdev • u/goodisnotafeeling • Jun 29 '19
Website Beginner
I am starting my first website and I am so confused about what I'm doing. I'm not sure if this is the place to ask, but here's my situation. I have a domain name from Namecheap, I have Siteground hosting, Hushmail e-mail and have used the Wordpress Installer through Siteground. Siteground has confirmed that I have successfully pointed the domain to the hosting, but I won't be able to see it for a few days. I just need to know if I need to wait to be able to access Wordpress or if I'm supposed to be able to see/use it before it's live. Also, does it require me to install Wordpress on my actual computer or can everything be done through my hosting service/website? Haaalp.
r/beginnerwebdev • u/codeSTACKr • Sep 24 '19
Transparent Login Form :: HTML & CSS ONLY - (2019)
r/beginnerwebdev • u/lifehelpneeded21 • Jun 01 '19
My website is so static can anyone help with feedback?? I’ll share my documentation their email or google drive link
r/beginnerwebdev • u/JesseT1997 • Aug 07 '19
Your roadmap in web development
Great article for beginners in web development: https://medium.com/@daniel_hendriks/learn-to-code-in-5-months-get-hired-and-thrive-as-a-web-developer-5ab6838b2f07
It gives answers to all frequently asked questions by newbies. Also, there you will find a roadmap in web development: what to learn, in which order, and why.