Skip to content

Commit 0a2b726

Browse files
committed
update website
1 parent 7e34f7d commit 0a2b726

File tree

1,259 files changed

+87447
-37832
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,259 files changed

+87447
-37832
lines changed

answers/how-to-add-a-class-to-an-element-in-javascript/index.html

Lines changed: 925 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -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/what-is-the-difference-between-sort-and-tosorted-in-javascript/">
650+
<a href="https://coreui.io/blog/css-selector-for-parent-element/">
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="What is the difference between sort and toSorted in JavaScript?"
663-
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"
664-
src="/images/blog/what-is-the-difference-between-sort-and-tosorted-in-javascript_hu_e762613bc6b53c30.webp"
662+
alt="CSS Selector for Parent Element"
663+
srcset="/images/blog/css-selector-for-parent-element_hu_f4b4e457682cfa91.webp 480w, /images/blog/css-selector-for-parent-element_hu_a71884e63243fa72.webp 768w, /images/blog/css-selector-for-parent-element_hu_a61d08ca27a522e9.webp 1024w, /images/blog/css-selector-for-parent-element_hu_550acf756ac6b02b.webp 1366w"
664+
src="/images/blog/css-selector-for-parent-element_hu_bd18f645748616e3.webp"
665665
width="460px"
666666
/>
667667
</a>
668-
<h5 class="post-title"><a href="https://coreui.io/blog/what-is-the-difference-between-sort-and-tosorted-in-javascript/">What is the difference between sort and toSorted in JavaScript?</a></h5>
668+
<h5 class="post-title"><a href="https://coreui.io/blog/css-selector-for-parent-element/">CSS Selector for Parent Element</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/what-is-the-difference-be
683683
<path d="M35 46h4v4h-4v-4z"></path>
684684
<path d="M46 46h4v4h-4v-4z"></path>
685685
</svg>
686-
Tuesday, September 16, 2025
686+
Tuesday, May 28, 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-check-if-an-element-is-visible-in-javascript/">
690+
<a href="https://coreui.io/blog/passing-props-to-child-components-in-react-function-components/">
691691

692692

693693

@@ -699,13 +699,13 @@ <h5 class="post-title"><a href="https://coreui.io/blog/what-is-the-difference-be
699699
<img
700700
loading="lazy"
701701
class="post-image"
702-
alt="How to check if an element is visible in JavaScript"
703-
srcset="/images/blog/how-to-check-if-an-element-is-visible-in-javascript_hu_77f56e05944f6cab.webp 480w, /images/blog/how-to-check-if-an-element-is-visible-in-javascript_hu_46239a79c0d4e38e.webp 768w, /images/blog/how-to-check-if-an-element-is-visible-in-javascript_hu_1c89dc1fef7b8c28.webp 1024w, /images/blog/how-to-check-if-an-element-is-visible-in-javascript_hu_acf06bb436991bf5.webp 1366w"
704-
src="/images/blog/how-to-check-if-an-element-is-visible-in-javascript_hu_66c9f277daf87b16.webp"
702+
alt="Passing props to child components in React function components"
703+
srcset="/images/blog/passing-props-to-child-components-in-react-function-components_hu_ce4e0566af79e2ae.webp 480w, /images/blog/passing-props-to-child-components-in-react-function-components_hu_7191d0fd041a5978.webp 768w, /images/blog/passing-props-to-child-components-in-react-function-components_hu_7effe755328c41e5.webp 1024w, /images/blog/passing-props-to-child-components-in-react-function-components_hu_f42c56967d478a0b.webp 1366w"
704+
src="/images/blog/passing-props-to-child-components-in-react-function-components_hu_135127809f37c8dc.webp"
705705
width="460px"
706706
/>
707707
</a>
708-
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-check-if-an-element-is-visible-in-javascript/">How to check if an element is visible in JavaScript</a></h5>
708+
<h5 class="post-title"><a href="https://coreui.io/blog/passing-props-to-child-components-in-react-function-components/">Passing props to child components in React function components</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-check-if-an-elemen
723723
<path d="M35 46h4v4h-4v-4z"></path>
724724
<path d="M46 46h4v4h-4v-4z"></path>
725725
</svg>
726-
Friday, August 16, 2024
726+
Wednesday, October 2, 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-are-the-three-dots-in-javascript-do/">
730+
<a href="https://coreui.io/blog/how-to-fix-syntaxerror-cannot-use-import-statement-outside-a-module/">
731731

732732

733733

@@ -739,13 +739,13 @@ <h5 class="post-title"><a href="https://coreui.io/blog/how-to-check-if-an-elemen
739739
<img
740740
loading="lazy"
741741
class="post-image"
742-
alt="What are the three dots `...` in JavaScript do?"
743-
srcset="/images/blog/what-are-the-three-dots-in-javascript-do_hu_3af50c6891993647.webp 480w, /images/blog/what-are-the-three-dots-in-javascript-do_hu_87650b7c3fdd0666.webp 768w, /images/blog/what-are-the-three-dots-in-javascript-do_hu_5eafd73689cf1b16.webp 1024w, /images/blog/what-are-the-three-dots-in-javascript-do_hu_c09c5a1c8c974827.webp 1366w"
744-
src="/images/blog/what-are-the-three-dots-in-javascript-do_hu_f800dd6433abd152.webp"
742+
alt="How to fix “SyntaxError: Cannot use import statement outside a module”?"
743+
srcset="/images/blog/how-to-fix-cannot-use-import-statement-outside-a-module_hu_6fe4dd934ce223ed.webp 480w, /images/blog/how-to-fix-cannot-use-import-statement-outside-a-module_hu_6509c0f4bd155bb8.webp 768w, /images/blog/how-to-fix-cannot-use-import-statement-outside-a-module_hu_2345a0a98406f338.webp 1024w, /images/blog/how-to-fix-cannot-use-import-statement-outside-a-module_hu_d4ab8b67fdf427cd.webp 1366w"
744+
src="/images/blog/how-to-fix-cannot-use-import-statement-outside-a-module_hu_899bb64963bd302e.webp"
745745
width="460px"
746746
/>
747747
</a>
748-
<h5 class="post-title"><a href="https://coreui.io/blog/what-are-the-three-dots-in-javascript-do/">What are the three dots `...` in JavaScript do?</a></h5>
748+
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-fix-syntaxerror-cannot-use-import-statement-outside-a-module/">How to fix “SyntaxError: Cannot use import statement outside a module”?</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-are-the-three-dots-i
763763
<path d="M35 46h4v4h-4v-4z"></path>
764764
<path d="M46 46h4v4h-4v-4z"></path>
765765
</svg>
766-
Tuesday, September 3, 2024
766+
Sunday, January 7, 2024
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/how-to-get-unique-values-from-a-javascript-array/">
770+
<a href="https://coreui.io/blog/how-to-use-bootstrap-modal-in-vue/">
771771

772772

773773

@@ -779,13 +779,13 @@ <h5 class="post-title"><a href="https://coreui.io/blog/what-are-the-three-dots-i
779779
<img
780780
loading="lazy"
781781
class="post-image"
782-
alt="How to Get Unique Values from a JavaScript Array"
783-
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"
784-
src="/images/blog/how-to-get-unique-values-from-a-javascript-array_hu_e27ca6457a7012b.webp"
782+
alt="How to Use Bootstrap Modal in Vue 3 – Clean Integration with CoreUI"
783+
srcset="/images/blog/how-to-use-bootstrap-modal-in-vue_hu_341b06904e1ad16e.webp 480w, /images/blog/how-to-use-bootstrap-modal-in-vue_hu_42382f08922e82d7.webp 768w, /images/blog/how-to-use-bootstrap-modal-in-vue_hu_6daeae1dfbdf65f7.webp 1024w, /images/blog/how-to-use-bootstrap-modal-in-vue_hu_54ca387ac30a582a.webp 1366w"
784+
src="/images/blog/how-to-use-bootstrap-modal-in-vue_hu_285f7c00b20e7e73.webp"
785785
width="460px"
786786
/>
787787
</a>
788-
<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>
788+
<h5 class="post-title"><a href="https://coreui.io/blog/how-to-use-bootstrap-modal-in-vue/">How to Use Bootstrap Modal in Vue 3 – Clean Integration with CoreUI</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/how-to-get-unique-values-
803803
<path d="M35 46h4v4h-4v-4z"></path>
804804
<path d="M46 46h4v4h-4v-4z"></path>
805805
</svg>
806-
Friday, July 5, 2024
806+
Tuesday, June 24, 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-use-tailwind-css-in-vue/">How to use Tailwind CSS in Vue</a>
812+
<a href="https://coreui.io/answers/how-to-parse-a-date-string-in-javascript/">How to parse a date string 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-v-model-in-vue/">How to use v-model in Vue</a>
815+
<a href="https://coreui.io/answers/how-to-find-the-greatest-common-divisor-in-javascript/">How to find the greatest common divisor in JavaScript</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-update-state-in-react/">How to update state in React</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-use-computed-properties-in-vue/">How to use computed properties in Vue</a>
821+
<a href="https://coreui.io/answers/how-to-get-the-first-element-of-an-array-in-javascript/">How to get the first element of an array 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-find-the-minimum-value-in-an-array-in-javascript/">How to find the minimum value in an array in JavaScript</a>
824+
<a href="https://coreui.io/answers/how-to-serve-static-files-in-nodejs/">How to serve static files in Node.js</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-convert-degrees-to-radians-in-javascript/">How to convert degrees to radians in JavaScript</a>
827+
<a href="https://coreui.io/answers/how-to-raise-a-number-to-a-power-in-javascript/">How to raise a number to a power in JavaScript</a>
828828
<hr>
829829
</div></div>
830830
</div></div>

0 commit comments

Comments
 (0)