You can get the element by the document.querySelector, you can simply pass the css selector to that method like '[data-id="1"]' and get element that match this selector
In general the flex box is easier to use, you can simply create a gallery view with 1, 2, 4 or more item in row depends on resolution and simply switch the view to list view by changing one class in the items container element.
If you want to put items of different type mire precisly then you...
Most of the time on working with the code is debugging. For simple projects the echo and print_r is enough, but for little bit more complicated projects we need something more. Let's imagine the possibility where you can go to any place in the code and check the values of each variable while...
Hi everyone!
I'm a PHP developer with 10 years of expirience with small and big clients. I want to improve my language skills so decided to teach someone how to write valueable code and how to organise the entire project.
I can teach you:
how to plan your work with scrum,
why using any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.