Posts by Matheus Maia • 1 point
4 posts
-
0
votes1
answer47
viewsA: Find out which button was clicked, and make an if
You can put an eventListener in the document and tell to do what you want in a function, example: document.addEventListener('click', function(e){ console.log(e.target); }); This will return the…
-
0
votes2
answers2452
viewsA: How to align a button at the bottom of a DIV
Try to make a div that includes all this text you’re putting in this area minus the button, then you put the properties of the flex in the div that encompasses the two: display: flex; align-items:…
-
-1
votes2
answers937
viewsA: I can’t align the logo with the menu icon
Try putting these properties in the container class: display: flex; flex-direction: row; align-items: center; justify-content: space-between;…
-
-3
votes1
answer328
viewsA: How to lock the background screen and allow only Scrooll in the menu
Try to put that in the background that you want to get fixed: background-attachment: fixed;