Comment form reply using laravel ajax

  <script> $(document).ready(function(){ // $('#replyid{{ $comment->user->id }}').click(function(){ $('.child_cmnt2').click(function(){ let uname = $(this).attr('uname'); let parentCommentid = $(this).attr('parentCommentid'); // alert(parentCommentid); let addclass = 'addclass'+parentCommentid; let addID = '#addclass'+parentCommentid; let targetclass = '.comment-box'+parentCommentid;…

0 Comments

Some special type of php function

A. Convert first later capital and all latter capital on string <?php echo ucfirst($d->category); ?> <?php echo strtoupper("Hello WORLD!"); ?> <?php echo ucwords("hello world"); ?> ( first latter is capital of…

0 Comments

font awesome and iconions font

A. Font awesome: <script src="https://kit.fontawesome.com/778a1c2377.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/56cf9e5223.js" crossorigin="anonymous"></script>   B. Ionicons.com: <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script> <script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>  

0 Comments

Use css in react js

npm i bootstrap import React from "react"; import 'bootstrap/dist/css/bootstrap.min.css'; import Container from 'react-bootstrap/Container'; import Nav from 'react-bootstrap/Nav'; import Navbar from 'react-bootstrap/Navbar'; import Row from 'react-bootstrap/Row'; import Col from 'react-bootstrap/Col'; import…

0 Comments