r/beginnerwebdev • • Feb 20 '20

ONLY🢂HTML/CSS Platform Game In 1 Hour - @Dev Ed Challenge

Thumbnail
youtu.be
2 Upvotes

r/beginnerwebdev • • Feb 18 '20

5 Reasons You Should Learn Sass In 90 Seconds

Thumbnail
youtu.be
2 Upvotes

r/beginnerwebdev • • Feb 17 '20

Problem with html

2 Upvotes

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 • • Dec 16 '19

How to host a website for free!

Thumbnail
youtube.com
2 Upvotes

r/beginnerwebdev • • Jul 08 '19

GraphQL Tutorial #3 - GraphQL Components - opencodez

2 Upvotes

r/beginnerwebdev • • Jul 05 '19

GraphQL Tutorial #2 – Setting up a Basic Project in GraphQL

Thumbnail
opencodez.com
2 Upvotes

r/beginnerwebdev • • Jun 12 '19

I am using accordion from bootstrap and having problems

2 Upvotes

I copy-pasted the code the frequency in which I wanted the buttons. But the JS I believe is one for all the buttons so when I click one it all opens up idk how to edit the JS on bootstrap. I also can make the listed bullets disappear (I tried Text-decoration: none) u/knyg please help


r/beginnerwebdev • • 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

2 Upvotes

Title


r/beginnerwebdev • • Apr 22 '19

How do I stop my popup images from getting loaded on mobile?

2 Upvotes

I have popup images that are only for desktop when you click on their small counterparts. They are getting loaded on mobile though and it is slowing down the page speed considerably. How do I stop this from happening? I know display: none doesn't work. I don't know JS very well yet. This is the code I came up with but it doesn't appear to work:

// Remove popup images so browser doesn't load them on mobile
  if (window.screen.width < 670) {
    document.querySelector('.popup').remove();
  }

The images are inside .popup-content, which is inside .popup. I was hoping this code would remove the element and all its contents so that it wouldn't be loaded. Any help would be appreciated.


r/beginnerwebdev • • Mar 01 '19

2 Way Data Binding in Angular using ngModel

Thumbnail
youtu.be
2 Upvotes

r/beginnerwebdev • • Jan 24 '19

Background image @ Codepen

2 Upvotes

Hey guys,

I am struggling with a simple thing. Just started a new project for a product selling page but I can't upload a background image for my showcase. I mean I made a nav bar inside the header and made another <div> container for the image inside header. Added a class for the <div> and inside CSS tried background-image: url(); and background:url(); aswell. Can you explain me this simple thing?

Thank you in advance!

Here is my code: https://codepen.io/Meldzha/pen/RvWWNg


r/beginnerwebdev • • May 01 '24

Question About Updating jQuery on a Locally Hosted Web Server Website (IIS)

Thumbnail self.sysadmin
1 Upvotes

r/beginnerwebdev • • Apr 16 '24

How to add a "see more" link on my website (for a non-coder)?

1 Upvotes

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!


r/beginnerwebdev • • Mar 29 '24

Issue with Rendering

1 Upvotes

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”: [email protected], “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 }]


r/beginnerwebdev • • Nov 07 '23

How Core Web Vitals saved users 10,000 years of waiting for web pages to load

Thumbnail
blog.chromium.org
1 Upvotes

r/beginnerwebdev • • Oct 13 '23

What are the skills that make the difference between a junior, a mid-level or a senior react developer?

Thumbnail self.reactjs
1 Upvotes

r/beginnerwebdev • • Oct 05 '23

What would you consider the best language to learn for a beginner that also teaches good programming practices?

Thumbnail self.learnprogramming
1 Upvotes

r/beginnerwebdev • • Oct 04 '23

How important is using the right tags, such as <section>, <h1>, h2> etc?

Thumbnail self.web_design
1 Upvotes

r/beginnerwebdev • • Mar 16 '23

GitHub - mjovanc/awesome-ktor: A curated list of awesome books, tutorials, courses, and resources for the Ktor framework ecosystem. ⚡

Thumbnail
github.com
1 Upvotes

r/beginnerwebdev • • Feb 05 '23

Install Drupal 10 & Tailwind CSS

Thumbnail
youtu.be
1 Upvotes

r/beginnerwebdev • • Feb 03 '23

Drupal 10 | Enable Theme Suggestions

Thumbnail
youtu.be
1 Upvotes

r/beginnerwebdev • • Jan 21 '23

Re-recorded: Install Drupal 10 in 5 minutes (thanks for feedback on original)

Thumbnail
youtu.be
1 Upvotes