r/beginnerwebdev • • Apr 03 '19

Breaking up a gallery page into separate sub-pages

4 Upvotes

I am designing and building a website that has a gallery page with multiple sections, each containing multiple still photos, videos, and an interactive inline-frame. To minimize page loading time, I was thinking of having each section a separate page. Is this a good or common workaround for a dense gallery section? If so, how do you structure sub-pages among your page hierarchy?


r/beginnerwebdev • • Mar 18 '19

Media Query not activating at the specified range

4 Upvotes

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 • • Feb 28 '19

Bind to DOM Events in Angular

Thumbnail
youtu.be
4 Upvotes

r/beginnerwebdev • • Sep 30 '22

Have a Static Website just ping another CMS

3 Upvotes

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"


r/beginnerwebdev • • Sep 24 '22

Why does this code cause the browser to crash?

3 Upvotes

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?


r/beginnerwebdev • • Aug 18 '22

How do I move images around?

3 Upvotes

Hey there! I'm an absolute beginner attempting to make a site in the style of simple, amateur personal websites from the early 2000s. For some reason, I just can't figure out how to move images around. I can scale them, but doing things like moving them up and down and to the side I just can't seem to get. I know I have to use CSS, but when I put what I'm supposed to in it to move an image, or at least what I think I'm supposed to do, it dosent do anything. Anyone have advice or could help me out? (I made the inane descision to use notebook btw.)


r/beginnerwebdev • • Oct 27 '21

4 dots loading animation using html and css

Thumbnail
youtu.be
3 Upvotes

r/beginnerwebdev • • Jul 05 '21

Looking for a students

3 Upvotes

Hello, Dear Community :)

Sorry if the post is out of community mainstream, but I believe that can be useful for someone!

I'm looking for peeps who have a passion to learn Backend development on Golang.

I have a custom learning plan - that's will be usable if someone wanna start programming from scratch or just need some help to improve the skills.

Career and CV / soft skills advice included. Sharing the experience included. All for free.

SQL/noSQL, Docker, k8s, Kafka, AWS, networking, and other things will be included in lessons as a part of the backend stack.

Just to be clear: it is an invitation for a course, not one-two time lessons 'cause I sure software engineering knowledge must be very well structured.

About me: more than 4 years exp with Go dev (I was a Java guy before). Comment | DM me if u interested, or have questions.

My timezone is CEST, I live in Germany, speak English, Ukrainian, and Russian

Please, feel free to ask any questions!

Here - https://www.reddit.com/r/programming_funny/comments/ocymvl/origins/?utm_source=share&utm_medium=web2x&context=3 u can find more details

Happy coding!


r/beginnerwebdev • • Feb 02 '21

Hey guys, checkout the new video on using includes method in JavaScript

Thumbnail
youtube.com
3 Upvotes

r/beginnerwebdev • • Jan 30 '21

"join method in javascript"

Thumbnail
youtube.com
3 Upvotes

r/beginnerwebdev • • Nov 23 '20

[Guide] CSS Profile Card using HTML and CSS

Thumbnail
youtu.be
3 Upvotes

r/beginnerwebdev • • Nov 19 '20

[Guide] Animated Search Box using HTML, CSS and JavaScript

Thumbnail
youtube.com
3 Upvotes

r/beginnerwebdev • • Oct 29 '20

HTML2CANVAS || Take Screenshots Of Certain Div and Images using HTML2CANVAS

Thumbnail
youtube.com
3 Upvotes

r/beginnerwebdev • • Oct 17 '20

Cross-browser support landing page with video background

Thumbnail
youtube.com
3 Upvotes

r/beginnerwebdev • • Aug 07 '20

FAQ page using bootstrap and CSS

Thumbnail
youtu.be
3 Upvotes

r/beginnerwebdev • • Jun 28 '20

Grayscale to Color Logo hover with shine effect

Thumbnail
youtu.be
3 Upvotes

r/beginnerwebdev • • Jun 26 '20

Design a modern team section with vanillatilt.js and neumorphism.🙄

Thumbnail
youtu.be
3 Upvotes

r/beginnerwebdev • • Jun 16 '20

Viewport

3 Upvotes

Trying to rebuild my website to be responsive using the most basic html possible. I will NEVER understand CSS, Javascript, media queries or anything more than basic html tags unless possibly if they are snippets of code that I can copy and paste into my html document. I've watched a hundred YouTube videos and I've discovered (frustratingly) that computer nerds are utterly incapable of explaining ANYTHING to non-programmers. I'm not looking for a million suggestions on alternative technologies. If what I'm asking is not possible, PLEASE FOR THE LOVE OF GOD, just say so.

Here is the sample page I'm working on.

https://www.montanusphotography.com/index-viewport2.htm


r/beginnerwebdev • • Jun 09 '20

Bootstrap mobile nav wont stay open

3 Upvotes

Basically I have a bootstrap navbar and whenever I click it it flashes open for half a second and then shuts. I am using a downloaded version of bootstrap and I have even copied a new bootstrap header with the same problems. I have searched stackoverflow and nothing has helped.

Html:

<nav class="navbar navbar-expand-lg navbar">
   <div class="container">
 
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <i class="fas fa-bars"></i>
      </button>

      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav ml-auto navbar-right">
          <li class="nav-item active">
            <a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#">Site Name</a> <!-- add the id on the page --->
          </li>
          <li class="nav-item">
            <a class="nav-link disabled" href="#">Disabled</a> <!-- add the id on the page --->
          </li>
          <li class="nav-item">
            <div class="dropdown theme">
                <button class="btn btn-secondary toggle-switch" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <i class="fas fa-sliders-h"></i>
                </button>
                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                  <a class="dropdown-item" href="#">
                  <div class="theme-switch-wrapper">
                    <label class="theme-switch" for="checkbox">
                        <input type="checkbox" id="checkbox" />
                        <div class="slider round"></div>
                    </label>
                  </div>
                </a>
              </div>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </nav>

r/beginnerwebdev • • Apr 09 '20

Design Contact Form HTML & CSS #withme

Thumbnail
youtube.com
3 Upvotes

r/beginnerwebdev • • Feb 06 '20

Neumorphic Calculator Build 2020

Thumbnail
youtu.be
3 Upvotes

r/beginnerwebdev • • Feb 03 '20

Neumorphism Design Trend 2020 In 90 Seconds

Thumbnail
youtu.be
3 Upvotes

r/beginnerwebdev • • Jan 21 '20

Motion UI - User Interface Animation (2020)

Thumbnail
youtu.be
3 Upvotes