Hello, I have a question concerning css grid.
I am trying to make a navbar that's inspired by the following one.
http://www.erinrobertsondesign.com/
My current try is this:
https://codepen.io/bradley1492/pen/rQrVpa?editors=0100
My layout is behaving quite differently to the one I posted. I would like to know how I can manage to keep my ul
fixed inside the viewport and not moving, while everything else is scaling down. Do you guys understand what I mean here?? :)
I only want my h1 and h2 to move when scaling down...
@zdman135 Hello, thanks for the help.
Yes exactly I mean reducing the screen width. :)
My problem here is that the body in the example page keeps it's left and right paddings when reducing screen width, whereas in my page the body loses the space on each site, as you can see by the border becoming one straight line.
I hope it's clearer for you now what I mean with the difference? :)
@zdman135 site. I more want to make a nav similar to hers but without the drop-up menu, if you can call it like that.
I hope I wasn't too unspecific with my initial problem that I had.
I thought on how I could have that big amount of padding on both sides at the beginning and then as I reduce the viewport-size get a have a fixed amount of smaller padding on both sides. But I think I figured it out now sort of like in this example:
help guys, I'm trying to do this challenge : https://learn.freecodecamp.org/apis-and-microservices/basic-node-and-express/implement-a-root-level-request-logger-middleware
app.use((req, res, next) =>
{
console.log(req.method + ' ' + req.path + ' - ' + req.ip);
next();
})
I wrote this function, and it logs on the console exactly this
GET /favicon.ico - ::ffff:127.0.0.1
when I test it, it seems working to me, but when I put the link of freecodecamp I get this:
// running tests
root-level logger is not working as expected
// tests completed
@zdman135 yes I can once more only apologize for your time, I should have described in a more detailed way, what I am meaning.
Okay, because I sort of learned bootstrap a few weeks ago, but now I like css grid so much and I am unsure what to use.
Now I now CSS-Grid I don't really want to go back using bootstrap...
Hm now that I think about it a bit more, I think your work still helped me a lot in thinking again of in some way utilizing bootstraps nav classes... :)