Update readme

This commit is contained in:
Konrad Bolesławski
2023-11-21 09:54:36 +01:00
parent 2394e5f0a0
commit 6fb226267f

View File

@@ -42,30 +42,52 @@ W kodzie XML mamy umieszczone kontenery (działaja na mobile) które wyświetlą
```html
<div class="products__container products__container--bestseller">
<h1 class="products__title">Top 5 produktów</h1>
<div class="products__products">
<div class="products__product --last-link">
<a href="/Bestseller-sbestseller-pol.html" target="_self" title="Bestsellery">
<span>
Bestsellery
</span>
</a>
</div>
</div>
</div>
<div class="products__container products__container--news">
<h1 class="products__title">Nowości</h1>
<div class="products__products">
<div class="products__product --last-link">
<a href="/Nowosc-snewproducts-pol.html" target="_self" title="Nowości">
<span>
Nowości
</span>
</a>
</div>
</div>
</div> ```
</div>
```
W a href podajemy linki gdzie ma nas przenosić przycisk
Następnie w javascript wydzielonym podmnieniamy też linki z którego mają być zaciągane produkty