Here are HTML, css and jQuery source code examples of how to manipulate CSS elements on a webpage using toggleClass, .css(), addClass and removeClass with jQuery. .CSS Method in jQuery <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”>…
Working with arrays in PHP or any other language can sometimes be difficult, especially when you need to filter, search, order and modify their contents. In this blog post, we’ll explore some of the key PHP methods and functions available…
A keyword and phrase extraction library based on the Rapid Automatic Keyword Extraction algorithm (RAKE). Keywords describe the main topics expressed in a document/text. Keyword extraction in turn allows for the extraction of important words and phrases from text. Extracted keywords…
If you’re running a WordPress website or blog, you’ll know how important it is to see your visitor and blog statistics. Unrive.io Visitor Tracking is a completely free and powerful wordPress plugin that provides you with all the traffic data…
Here’s the complete example of a PHP FTP client that connects to a remote server, uploads a file, and downloads a file: // FTP server details $ftp_server = “ftp.example.com”; $ftp_username = “username”; $ftp_password = “password”; PHP // connect to FTP…
require(‘../vendor/autoload.php’); use Web3\Web3; $web3 = new Web3(‘BLOCKCHAIN_URL:PORT’); $etherium = $web3->eth; $accounts = $web3->eth()->accounts(); source: MIT Licence
// Connect to FTP $conn_id = ftp_connect(‘ftp.devtutorials4u.co.uk’) or die(“Could not connect to FTP Server”); // log in to the FTP server $login_result = ftp_login($conn_id, “ftp_user”, “ftp_password”); echo ($login_result) ? “Logged in to the FTP server” : “Could not log in…
body { margin-top:0px; } .line { position: absolute; left: 0; height: 10%; animation-fill-mode: forwards !important; } #line_1{ background-color: #4158D0; background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%); animation: draw 4s 0s linear; } #line_2{ top:10%; background-color: #0093E9; background-image: linear-gradient(160deg, #0093E9…