Tlolela ho diteng tse ka sehloohong

Puisano ya Letsatsi

Kenya Puisano ya Moralo ya Letsatsi Websaeteng ya Hao

Puisano ya Letsatsi e phatlalatsa ntho e ntjha letsatsi le leng le le leng. Aterese ya setshwantsho ha e fetohe, empa setshwantsho se ka morao ho yona sea fetoha, kahoo o kenya khoutu hang feela mme baeti ba hao ba bona ntho ya kajeno ka bo eona.

E sebetsa jwang

Letsatsi le leng le le leng setshwantsho se setjha se phatlalatswa atereseng e le nngwe e sa fetoheng. Leqephe la hao le laela aterese eo, kahoo le dula le bontsha ntho ya hajwale, mme ha motho a tobetsa baeti ba hao ba iswa ho Puisano ya Letsatsi moo pale e felletseng e phatlalatsitsweng teng.

O batla script? Kenya setshelo se le seng le script e le nngwe: widget e taka setaele seo o se kgethang ka data-dotd-variant (image, cta kapa card), ka puo ya aterese ya script ha puo eo e fumaneha. Haeba o ke ke wa sebedisa di-script, sebedisa mofuta wa HTML wa variant e tshwanang.

Mofuta wa A: setshwantsho feela

Setshwantsho sa kajeno, se hokahantsweng le Puisano ya Letsatsi. Kgetho e bobebe ka ho fetisisa.

Ponelopele e phelang

<a href="https://interviewoftheday.com/st/" target="_blank" rel="noopener">
  <img src="https://competition.adesignaward.com/design-interview-of-the-day/today.png" alt="Puisano ya Moralo ya Letsatsi e hlahisang puisano e tebileng le moetapele wa indasteri" loading="lazy" style="max-width:100%;height:auto">
</a>
<div data-dotd="interviewoftheday.com" data-dotd-variant="image"></div>
<script async src="https://interviewoftheday.com/feature.js?lang=st"></script>

Mofuta wa B: setshwantsho le mohoo wa ketso

Setshwantsho sa kajeno se nang le mohoo wa ketso ka tlase.

Ponelopele e phelang

<a href="https://interviewoftheday.com/st/" target="_blank" rel="noopener" style="display:block;max-width:100%;color:inherit;text-decoration:none;text-align:center">
  <img src="https://competition.adesignaward.com/design-interview-of-the-day/today.png" alt="Puisano ya Moralo ya Letsatsi e hlahisang puisano e tebileng le moetapele wa indasteri" loading="lazy" style="display:block;max-width:100%;height:auto;margin:0 auto">
  <span style="display:block;margin-top:.5em;font:600 15px/1.3 system-ui,sans-serif">Fumana Puisano ya Moralo ya Letsatsi</span>
</a>
<div data-dotd="interviewoftheday.com" data-dotd-variant="cta"></div>
<script async src="https://interviewoftheday.com/feature.js?lang=st"></script>

Mofuta wa C: karete ya Bootstrap

Karete ya Bootstrap e nang le setshwantsho, sehlooho sa ntho e hlahiswang, serapa se sekgutshwane le konopo ya mohoo wa ketso. Leqephe la hao le hloka Bootstrap.

Ponelopele e phelang

<div class="card" style="max-width:24rem">
  <a href="https://interviewoftheday.com/st/" target="_blank" rel="noopener"><img src="https://competition.adesignaward.com/design-interview-of-the-day/today.png" class="card-img-top" alt="Puisano ya Moralo ya Letsatsi e hlahisang puisano e tebileng le moetapele wa indasteri" loading="lazy"></a>
  <div class="card-body">
    <h5 class="card-title">Puisano ya Moralo ya Letsatsi</h5>
    <p class="card-text">A' Design Award e hlahisa puisano ya letsatsi le leng le le leng le moqapi wa maemo a hodimo, moahi kapa setsebi sa boiqapelo e le Puisano ya Moralo ya Letsatsi, e hlahloba maemo a bona, filosofi ya moralo, tshebetso ya boiqapelo le maikutlo a bona ka bokamoso ba moralo.</p>
    <a href="https://interviewoftheday.com/st/" class="btn btn-danger" target="_blank" rel="noopener">Fumana Puisano ya Moralo ya Letsatsi</a>
  </div>
</div>
<div data-dotd="interviewoftheday.com" data-dotd-variant="card"></div>
<script async src="https://interviewoftheday.com/feature.js?lang=st"></script>

Kgetho ya 3: JSON

Bakeng sa bahlahisi ba software, di-app le tshebetso e iketsang. JSON e na le lebitso, tlhaloso, aterese ya setshwantsho, dilinke le letsatsi. Dikopo tsa cross-origin di a dumelleha.

fetch("https://interviewoftheday.com/feature.json?lang=st")
  .then(function (r) { return r.json(); })
  .then(function (d) {
    // d.name, d.feature, d.paragraph, d.image, d.url, d.date ...
  });

Mohlala wa karabo

{
    "domain": "interviewoftheday.com",
    "name": "Puisano ya Letsatsi",
    "feature": "Puisano ya Moralo ya Letsatsi",
    "paragraph": "A' Design Award e hlahisa puisano ya letsatsi le leng le le leng le moqapi wa maemo a hodimo, moahi kapa setsebi sa boiqapelo e le Puisano ya Moralo ya Letsatsi, e hlahloba maemo a bona, filosofi ya moralo, tshebetso ya boiqapelo le maikutlo a bona ka bokamoso ba moralo.",
    "description": "Puisano ya Letsatsi e hlahisa dipuisano tsa letsatsi le leng le le leng le baqapi ba maemo a hodimo, baahi le ditsebi tsa boiqapelo tse amohetsweng ke A' Design Award and Competition e hlomphehang haholo, e hlahloba maemo, ditlwaelo tsa profeshenale, difilosofi tsa moralo, ditshebetso tsa boiqapelo, diprojeke le maikutlo a baqapi ba etelletseng pele ka bokamoso ba moralo.",
    "call_to_action": "Fumana Puisano ya Moralo ya Letsatsi",
    "date": "2026-11-08",
    "language": "st",
    "image": "https://competition.adesignaward.com/design-interview-of-the-day/today.png",
    "image_alt": "Puisano ya Moralo ya Letsatsi e hlahisang puisano e tebileng le moetapele wa indasteri",
    "url": "https://interviewoftheday.com/st/",
    "feature_url": "https://competition.adesignaward.com/design-interview-of-the-day.html",
    "registry_url": "https://competition.adesignaward.com/design-interviews-of-the-days.php",
    "embed_url": "https://interviewoftheday.com/st/setshwantsho/"
}

Tse molemo ho di tseba

  • Boloka linke e potapotileng setshwantsho, e le hore baeti ba hao ba ka fumana pale e felletseng.
  • Sebedisa kamehla aterese ya setshwantsho e bontshitsweng ka hodimo mme o se ke wa boloka khopi, e le hore leqephe la hao le dule le ntjhafetse.
  • Setshwantsho se a ikamahanya: ha se ke se eba se seholo ho feta setshelo sa sona.
  • O hloka thuso kapa formate e ikgethang? Ka kopo ikopanye le rona.

Polelo ya Theho ya Letsatsi

Polelo ya Theho ya Letsatsi

DesignAdage