Skip to content

Commit 232d6f7

Browse files
committed
update website
1 parent 159f0f5 commit 232d6f7

File tree

1,068 files changed

+52767
-43443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,068 files changed

+52767
-43443
lines changed

angular/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,8 +1173,8 @@ <h3 class="post-title text-truncate mb-3"><a href="https://coreui.io/blog/what-i
11731173
loading="lazy"
11741174
class="post-image mb-0"
11751175
alt="What is the difference between sort and toSorted in JavaScript?"
1176-
srcset="/images/blog/what-is-the-difference-between-sort-and-toSorted-in-javascript_hu_f66cc9935ec23ed5.webp 480w, /images/blog/what-is-the-difference-between-sort-and-toSorted-in-javascript_hu_57375af02d5e766a.webp 768w, /images/blog/what-is-the-difference-between-sort-and-toSorted-in-javascript_hu_203fa32e4a56355d.webp 1024w, /images/blog/what-is-the-difference-between-sort-and-toSorted-in-javascript_hu_ad0a14c8025cd885.webp 1366w"
1177-
src="/images/blog/what-is-the-difference-between-sort-and-toSorted-in-javascript_hu_e762613bc6b53c30.webp"
1176+
srcset="/images/blog/what-is-the-difference-between-sort-and-tosorted-in-javascript_hu_f66cc9935ec23ed5.webp 480w, /images/blog/what-is-the-difference-between-sort-and-tosorted-in-javascript_hu_57375af02d5e766a.webp 768w, /images/blog/what-is-the-difference-between-sort-and-tosorted-in-javascript_hu_203fa32e4a56355d.webp 1024w, /images/blog/what-is-the-difference-between-sort-and-tosorted-in-javascript_hu_ad0a14c8025cd885.webp 1366w"
1177+
src="/images/blog/what-is-the-difference-between-sort-and-tosorted-in-javascript_hu_e762613bc6b53c30.webp"
11781178

11791179
/>
11801180
</a>

answers/how-to-add-an-item-to-an-array-in-javascript/index.html

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,11 @@ <h1 class="post-title mb-3">How to add an item to an array in JavaScript</h1>
423423
<path d="M46 46h4v4h-4v-4z"></path>
424424
</svg>
425425
Thursday, September 18, 2025
426-
</div><div class="post-tags"><a href="https://coreui.io//tags/javascript/">#javascript</a>
427-
<a href="https://coreui.io//tags/array/">#array</a>
428-
<a href="https://coreui.io//tags/push/">#push</a>
429-
<a href="https://coreui.io//tags/unshift/">#unshift</a>
430-
<a href="https://coreui.io//tags/es6/">#es6</a>
426+
</div><div class="post-tags"><a href="https://coreui.io/tags/javascript/">#javascript</a>
427+
<a href="https://coreui.io/tags/array/">#array</a>
428+
<a href="https://coreui.io/tags/push/">#push</a>
429+
<a href="https://coreui.io/tags/unshift/">#unshift</a>
430+
<a href="https://coreui.io/tags/es6/">#es6</a>
431431
</div></div>
432432
<p>Adding items to arrays is one of the most fundamental operations in JavaScript development, essential for building dynamic user interfaces and managing data collections.
433433
As the creator of CoreUI, a widely used open-source UI library, I&rsquo;ve implemented array manipulation countless times in components that handle dynamic lists, navigation menus, and data tables.
@@ -647,7 +647,7 @@ <h2 class="mb-4">About the Author</h2>
647647
</div>
648648
<div class="my-5 py-2"></div>
649649
<div class="row"><div class="post col-12 col-sm-6 col-xl-12 mb-0">
650-
<a href="https://coreui.io/blog/how-to-validate-an-email-address-in-javascript/">
650+
<a href="https://coreui.io/blog/how-to-loop-through-an-array-in-javascript/">
651651

652652

653653

@@ -659,13 +659,13 @@ <h2 class="mb-4">About the Author</h2>
659659
<img
660660
loading="lazy"
661661
class="post-image"
662-
alt="How to validate an email address in JavaScript"
663-
srcset="/images/blog/how-to-validate-an-email-address-in-javascript_hu_63996ed61ce86b07.webp 480w, /images/blog/how-to-validate-an-email-address-in-javascript_hu_c16ddd5bcc966f0.webp 768w, /images/blog/how-to-validate-an-email-address-in-javascript_hu_439e116868fd6914.webp 1024w, /images/blog/how-to-validate-an-email-address-in-javascript_hu_f8868096cd6aac2c.webp 1366w"
664-
src="/images/blog/how-to-validate-an-email-address-in-javascript_hu_615384e6740245c8.webp"
662+
alt="How to loop through an array in JavaScript"
663+
srcset="/images/blog/how-to-loop-through-an-array-in-javascript_hu_f697d400e29e84ce.webp 480w, /images/blog/how-to-loop-through-an-array-in-javascript_hu_2f2f6714bd623f17.webp 768w, /images/blog/how-to-loop-through-an-array-in-javascript_hu_a608d51784804bec.webp 1024w, /images/blog/how-to-loop-through-an-array-in-javascript_hu_d0ae5dc99e231078.webp 1366w"
664+
src="/images/blog/how-to-loop-through-an-array-in-javascript_hu_f7fd4e3900144912.webp"
665665
width="460px"
666666
/>
667667
</a>
668-
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-validate-an-email-address-in-javascript/">How to validate an email address in JavaScript</a></h5>
668+
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-loop-through-an-array-in-javascript/">How to loop through an array in JavaScript</a></h5>
669669
<div class="post-date mb-2">
670670
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
671671
<title>calendar</title>
@@ -683,11 +683,11 @@ <h5 class="post-title"><a href="https://coreui.io/blog/how-to-validate-an-email-
683683
<path d="M35 46h4v4h-4v-4z"></path>
684684
<path d="M46 46h4v4h-4v-4z"></path>
685685
</svg>
686-
Friday, September 20, 2024
686+
Tuesday, July 23, 2024
687687
</div>
688688
<hr>
689689
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
690-
<a href="https://coreui.io/blog/how-to-get-unique-values-from-a-javascript-array/">
690+
<a href="https://coreui.io/blog/how-to-generate-a-random-number-in-javascript/">
691691

692692

693693

@@ -699,13 +699,13 @@ <h5 class="post-title"><a href="https://coreui.io/blog/how-to-validate-an-email-
699699
<img
700700
loading="lazy"
701701
class="post-image"
702-
alt="How to Get Unique Values from a JavaScript Array"
703-
srcset="/images/blog/how-to-get-unique-values-from-a-javascript-array_hu_47770e8ceb4e2bc6.webp 480w, /images/blog/how-to-get-unique-values-from-a-javascript-array_hu_22d9d72710c8f161.webp 768w, /images/blog/how-to-get-unique-values-from-a-javascript-array_hu_7fdb1a4af747ecc2.webp 1024w, /images/blog/how-to-get-unique-values-from-a-javascript-array_hu_68bc182f709b2d38.webp 1366w"
704-
src="/images/blog/how-to-get-unique-values-from-a-javascript-array_hu_e27ca6457a7012b.webp"
702+
alt="Javascript Random - How to Generate a Random Number in JavaScript?"
703+
srcset="/images/blog/how-to-generate-a-random-number-in-javascript_hu_b9cabad4d562bc6b.webp 480w, /images/blog/how-to-generate-a-random-number-in-javascript_hu_fab8be744187c485.webp 768w, /images/blog/how-to-generate-a-random-number-in-javascript_hu_62741186b8d83944.webp 1024w, /images/blog/how-to-generate-a-random-number-in-javascript_hu_f7e5a23b47c51853.webp 1366w"
704+
src="/images/blog/how-to-generate-a-random-number-in-javascript_hu_3d7bb03002c56a2a.webp"
705705
width="460px"
706706
/>
707707
</a>
708-
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-get-unique-values-from-a-javascript-array/">How to Get Unique Values from a JavaScript Array</a></h5>
708+
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-generate-a-random-number-in-javascript/">Javascript Random - How to Generate a Random Number in JavaScript?</a></h5>
709709
<div class="post-date mb-2">
710710
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
711711
<title>calendar</title>
@@ -723,11 +723,11 @@ <h5 class="post-title"><a href="https://coreui.io/blog/how-to-get-unique-values-
723723
<path d="M35 46h4v4h-4v-4z"></path>
724724
<path d="M46 46h4v4h-4v-4z"></path>
725725
</svg>
726-
Friday, July 5, 2024
726+
Tuesday, April 16, 2024
727727
</div>
728728
<hr>
729729
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
730-
<a href="https://coreui.io/blog/what-is-the-difference-between-npx-and-npm/">
730+
<a href="https://coreui.io/blog/how-to-add-a-tab-in-html/">
731731

732732

733733

@@ -739,13 +739,13 @@ <h5 class="post-title"><a href="https://coreui.io/blog/how-to-get-unique-values-
739739
<img
740740
loading="lazy"
741741
class="post-image"
742-
alt="Understanding the Difference Between NPX and NPM"
743-
srcset="/images/blog/what-is-the-difference-between-npx-and-npm_hu_6c5a43c265551a54.webp 480w, /images/blog/what-is-the-difference-between-npx-and-npm_hu_622dcd389c2826ad.webp 768w, /images/blog/what-is-the-difference-between-npx-and-npm_hu_41c1917afb9ce120.webp 1024w, /images/blog/what-is-the-difference-between-npx-and-npm_hu_29d41569ef8a7567.webp 1366w"
744-
src="/images/blog/what-is-the-difference-between-npx-and-npm_hu_e4fbfee063d69a66.webp"
742+
alt="How to Add a Tab in HTML"
743+
srcset="/images/blog/how-to-add-a-tab-in-html_hu_951ee23478064cf7.webp 480w, /images/blog/how-to-add-a-tab-in-html_hu_143b34fa3558a8c9.webp 768w, /images/blog/how-to-add-a-tab-in-html_hu_2e29c275da138148.webp 1024w, /images/blog/how-to-add-a-tab-in-html_hu_3fe3689f9ec4f809.webp 1366w"
744+
src="/images/blog/how-to-add-a-tab-in-html_hu_af05cad1fe912936.webp"
745745
width="460px"
746746
/>
747747
</a>
748-
<h5 class="post-title"><a href="https://coreui.io/blog/what-is-the-difference-between-npx-and-npm/">Understanding the Difference Between NPX and NPM</a></h5>
748+
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-add-a-tab-in-html/">How to Add a Tab in HTML</a></h5>
749749
<div class="post-date mb-2">
750750
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
751751
<title>calendar</title>
@@ -763,11 +763,11 @@ <h5 class="post-title"><a href="https://coreui.io/blog/what-is-the-difference-be
763763
<path d="M35 46h4v4h-4v-4z"></path>
764764
<path d="M46 46h4v4h-4v-4z"></path>
765765
</svg>
766-
Thursday, January 2, 2025
766+
Saturday, March 1, 2025
767767
</div>
768768
<hr>
769769
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
770-
<a href="https://coreui.io/blog/what-is-javascript-printf-equivalent/">
770+
<a href="https://coreui.io/blog/what-is-globalthis-in-javascript/">
771771

772772

773773

@@ -779,13 +779,13 @@ <h5 class="post-title"><a href="https://coreui.io/blog/what-is-the-difference-be
779779
<img
780780
loading="lazy"
781781
class="post-image"
782-
alt="JavaScript printf equivalent"
783-
srcset="/images/blog/what-is-javascript-printf-equivalent_hu_1180d6ba7037b683.webp 480w, /images/blog/what-is-javascript-printf-equivalent_hu_2b46bbb4d66ef8c9.webp 768w, /images/blog/what-is-javascript-printf-equivalent_hu_895c2614dd210ef7.webp 1024w, /images/blog/what-is-javascript-printf-equivalent_hu_3f0f88a6ac0c2284.webp 1366w"
784-
src="/images/blog/what-is-javascript-printf-equivalent_hu_d22847ee73ec09f3.webp"
782+
alt="What is globalThis in JavaScript?"
783+
srcset="/images/blog/what-is-globalthis-in-javascript_hu_e8a917e7d5bd9356.webp 480w, /images/blog/what-is-globalthis-in-javascript_hu_ae986384aeca3cc5.webp 768w, /images/blog/what-is-globalthis-in-javascript_hu_76bd0597457cefa.webp 1024w, /images/blog/what-is-globalthis-in-javascript_hu_3d09fbef7e62459a.webp 1366w"
784+
src="/images/blog/what-is-globalthis-in-javascript_hu_90c3d539f1211360.webp"
785785
width="460px"
786786
/>
787787
</a>
788-
<h5 class="post-title"><a href="https://coreui.io/blog/what-is-javascript-printf-equivalent/">JavaScript printf equivalent</a></h5>
788+
<h5 class="post-title"><a href="https://coreui.io/blog/what-is-globalthis-in-javascript/">What is globalThis in JavaScript?</a></h5>
789789
<div class="post-date mb-2">
790790
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
791791
<title>calendar</title>
@@ -803,28 +803,28 @@ <h5 class="post-title"><a href="https://coreui.io/blog/what-is-javascript-printf
803803
<path d="M35 46h4v4h-4v-4z"></path>
804804
<path d="M46 46h4v4h-4v-4z"></path>
805805
</svg>
806-
Saturday, June 22, 2024
806+
Wednesday, January 8, 2025
807807
</div>
808808
<hr>
809809
</div></div>
810810
<h3 class="mb-3">Answers by CoreUI Core Team</h3>
811811
<div class="row"><div class="post col-12 col-sm-6 col-xl-12 mb-0">
812-
<a href="https://coreui.io/answers/how-to-render-a-list-in-react/">How to render a list in React</a>
812+
<a href="https://coreui.io/answers/how-to-convert-a-string-to-uppercase-in-javascript/">How to convert a string to uppercase in JavaScript</a>
813813
<hr>
814814
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
815-
<a href="https://coreui.io/answers/how-to-use-dynamic-classes-in-vue/">How to use dynamic classes in Vue</a>
815+
<a href="https://coreui.io/answers/how-to-create-a-new-vue3-project/">How to create a new Vue 3 project</a>
816816
<hr>
817817
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
818-
<a href="https://coreui.io/answers/how-to-get-current-timestamp-in-javascript/">How to get current timestamp in JavaScript</a>
818+
<a href="https://coreui.io/answers/how-to-create-a-component-in-vue/">How to create a component in Vue</a>
819819
<hr>
820820
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
821-
<a href="https://coreui.io/answers/how-to-get-the-square-root-of-a-number-in-javascript/">How to get the square root of a number in JavaScript</a>
821+
<a href="https://coreui.io/answers/how-to-check-if-a-value-is-nan-in-javascript/">How to check if a value is NaN in JavaScript</a>
822822
<hr>
823823
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
824-
<a href="https://coreui.io/answers/how-to-create-a-new-vue3-project/">How to create a new Vue 3 project</a>
824+
<a href="https://coreui.io/answers/how-to-shuffle-an-array-in-javascript/">How to shuffle an array in JavaScript</a>
825825
<hr>
826826
</div><div class="post col-12 col-sm-6 col-xl-12 mb-0">
827-
<a href="https://coreui.io/answers/how-to-get-yesterdays-date-in-javascript/">How to get yesterday&#39;s date in JavaScript</a>
827+
<a href="https://coreui.io/answers/how-to-fetch-changes-in-git/">How to fetch changes in Git</a>
828828
<hr>
829829
</div></div>
830830
</div></div>

0 commit comments

Comments
 (0)