Js function how to encapsulate, hover tab code, help make up

<div id="tabs">
    <ul class="title">
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
    <ul class="content">
        <li></li>
        <li></li>
        <li></li>
        <li></li>
</ul></div>
<script>
 $("-sharptabs").myTabs({
    tab_tit:".title",
    tab_con:".content"
});
</script>
May.31,2022

jq can be done with a single line of code:

//css
.checked{
    color:-sharpfff;
    background-color:-sharpf00;
}
//jq
$('-sharptabs li').hover(function(){
   $(this).addClass('checked').siblings().removeClass('checked');
})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eabe73-2098.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eabe73-2098.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?