Onye Nhazi nke Ụbọchị
Tinye Onye Nhazi nke Ụbọchị na Weebụsaịtị Gị
Onye Nhazi nke Ụbọchị na-ebipụta ihe ọhụrụ kwa ụbọchị. Adreesị onyonyo ahụ adịghị agbanwe, mana foto dị n'azụ ya na-agbanwe, yabụ ị ga-etinye koodu ahụ otu oge ma ndị na-eleta weebụsaịtị gị ga na-ahụ ihe eji mee taa na-akpaghị aka.
Otu o si arụ ọrụ
Kwa ụbọchị, a na-ebipụta foto ọhụrụ n'otu adreesị kwụsịrị ike. Peeji gị na-ebugo adreesị ahụ, yabụ ọ na-egosi ihe a na-egosipụta ugbu a mgbe niile, otu ịpị ga-eduga ndị na-eleta gị na Onye Nhazi nke Ụbọchị ebe a na-akọ akụkọ zuru oke.
Ị chọrọ skripti? Tinye otu akpa na otu skripti: ngwa ahụ na-ese ụdị ị họọrọ site na data-dotd-variant (image, cta ma ọ bụ card), n'asụsụ adreesị skripti ahụ mgbe asụsụ ahụ dị. Ọ bụrụ na ị nweghị ike iji skripti, jiri ụdị HTML nke otu variant ahụ.
Ụdị A: onyonyo naanị
Foto taa, ejikọtara na Onye Nhazi nke Ụbọchị. Nhọrọ kachasị mfe.
Nlele dị ndụ
<a href="https://designeroftheday.com/ig/" target="_blank" rel="noopener">
<img src="https://competition.adesignaward.com/designer-of-the-day/today.png" alt="Foto Onye Nhazi nke Ụbọchị na-egosi onye okike a na-asọpụrụ taa" loading="lazy" style="max-width:100%;height:auto">
</a>
<div data-dotd="designeroftheday.com" data-dotd-variant="image"></div>
<script async src="https://designeroftheday.com/feature.js?lang=ig"></script>
Ụdị B: onyonyo na oku ime ihe
Foto taa nwere oku ime ihe n'okpuru ya.
Nlele dị ndụ
<a href="https://designeroftheday.com/ig/" target="_blank" rel="noopener" style="display:block;max-width:100%;color:inherit;text-decoration:none;text-align:center">
<img src="https://competition.adesignaward.com/designer-of-the-day/today.png" alt="Foto Onye Nhazi nke Ụbọchị na-egosi onye okike a na-asọpụrụ taa" 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">Chọpụta Onye Nhazi nke Ụbọchị</span>
</a>
<div data-dotd="designeroftheday.com" data-dotd-variant="cta"></div>
<script async src="https://designeroftheday.com/feature.js?lang=ig"></script>
Ụdị C: kaadị Bootstrap
Kaadị Bootstrap nwere foto, aha ihe a na-egosipụta, paragraf dị mkpirikpi na bọtịnụ oku ime ihe. Peeji gị chọrọ Bootstrap.
Nlele dị ndụ
<div class="card" style="max-width:24rem">
<a href="https://designeroftheday.com/ig/" target="_blank" rel="noopener"><img src="https://competition.adesignaward.com/designer-of-the-day/today.png" class="card-img-top" alt="Foto Onye Nhazi nke Ụbọchị na-egosi onye okike a na-asọpụrụ taa" loading="lazy"></a>
<div class="card-body">
<h5 class="card-title">Onye Nhazi nke Ụbọchị</h5>
<p class="card-text">A' Design Award na-ewebata onye nhazi nwere oke talent ma ọ bụ onye na-arụ ụlọ ọkachamara kwa ụbọchị, dịka Onye Nhazi nke Ụbọchị, na-egosi ndị mmadụ nọ n'azụ ọrụ okike pụtara iche, nkà nhazi ha, ọrụ ama ama na ihe ha rụzuru.</p>
<a href="https://designeroftheday.com/ig/" class="btn btn-danger" target="_blank" rel="noopener">Chọpụta Onye Nhazi nke Ụbọchị</a>
</div>
</div>
<div data-dotd="designeroftheday.com" data-dotd-variant="card"></div>
<script async src="https://designeroftheday.com/feature.js?lang=ig"></script>
Nhọrọ 3: JSON
Maka ndị mmepụta, ngwa na automation. JSON ahụ nwere aha, nkọwa, adreesị onyonyo, njikọ na ụbọchị. A na-anabata arịrịọ si n'ohere dị iche iche.
fetch("https://designeroftheday.com/feature.json?lang=ig")
.then(function (r) { return r.json(); })
.then(function (d) {
// d.name, d.feature, d.paragraph, d.image, d.url, d.date ...
});
Ihe nzaghachi nlele
{
"domain": "designeroftheday.com",
"name": "Onye Nhazi nke Ụbọchị",
"feature": "Onye Nhazi nke Ụbọchị",
"paragraph": "A' Design Award na-ewebata onye nhazi nwere oke talent ma ọ bụ onye na-arụ ụlọ ọkachamara kwa ụbọchị, dịka Onye Nhazi nke Ụbọchị, na-egosi ndị mmadụ nọ n'azụ ọrụ okike pụtara iche, nkà nhazi ha, ọrụ ama ama na ihe ha rụzuru.",
"description": "Onye Nhazi nke Ụbọchị na-ewebata onye nhazi nwere oke talent ma ọ bụ onye na-arụ ụlọ ọkachamara n'ụwa kwa ụbọchị, na-egosi ndị pụtara iche nọ n'azụ ọrụ okike ama ama, akụkọ ndụ ọrụ ha, nkà nhazi ha, ọrụ ama ama ha na ihe ha rụzuru nke A' Design Award and Competition a ma ama nke ukwuu kwadoro.",
"call_to_action": "Chọpụta Onye Nhazi nke Ụbọchị",
"date": "2026-11-08",
"language": "ig",
"image": "https://competition.adesignaward.com/designer-of-the-day/today.png",
"image_alt": "Foto Onye Nhazi nke Ụbọchị na-egosi onye okike a na-asọpụrụ taa",
"url": "https://designeroftheday.com/ig/",
"feature_url": "https://competition.adesignaward.com/designer-of-the-day.html",
"registry_url": "https://competition.adesignaward.com/designers-of-the-days.php",
"embed_url": "https://designeroftheday.com/ig/akuku/"
}
Ihe ọ dị mma ịmara
- Debe njikọ ahụ gburugburu onyonyo ahụ, ka ndị na-eleta weebụsaịtị gị nwee ike ịchọpụta ihe niile e gosipụtara.
- Jiri adreesị onyonyo egosiri n'elu mgbe niile, echekwala ndakọta, ka peeji gị nọgide na-adị ọhụrụ.
- Onyonyo ahụ na-agbanwe nha: ọ naghị agbasawanye karịa akpa ya.
- Ị chọrọ enyemaka ma ọ bụ usoro pụrụ iche? Biko kpọtụrụ anyị.