Skip to main content

User account menu

  • About Us
  • Log in
Log in
Mycode.blog website logo
category-icon
HTML - CSS

Must Read

  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • How to write jQuery code for developing toggle search bar
  • Maximising Your Website's Performance, Avoid These HTML Pitfalls
  • How to create a progress bar using JavaScript
  • CSS Guidelines for Becoming a Top-Notch UI Developer

Recent Blogs

  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • Achieving Advanced DOM Manipulation with jQuery Chaining Methods
  • Customized Landing page for your browser using JavaScript
  • A Basic Calculator App as an Extension to Google Chrome Browser
  • How to write jQuery code for developing toggle search bar

Recent Snippets

  • How to strip HTML tags in JavaScript
  • Develop word counter application with the help of JavaScript
  • Disabling right-click to avoid content copying in one line
  • Remove whitespace between HTML tags in drupal 8/9 twig templates
  • Copy to clipboard functionality using JavaScript in one line
JS - jQuery

Must Read

  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • The predefined Rules for Writing & Using JavaScript Functions
  • How to write jQuery code for developing toggle search bar
  • How to create a progress bar using JavaScript
  • How to create a progress bar using JavaScript

Recent Blogs

  • How to use local storage in javaScript
  • How to Install react app with their node packages on Ubuntu 22
  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • Fetch using for Get method in JavaScript
  • How to use local storage in javaScript

Recent Snippets

  • How to strip HTML tags in JavaScript
  • Converting string to int in javascript
  • Generating random numbers in javascript
  • How to write single & multi line comments in web technologies
  • How to strip HTML tags in JavaScript
Drupal

Must Read

  • How to Create Entities (node, user, term) programmatically in Drupal 8/9
  • List of form element types in Drupal 8/9
  • Command-line tools & useful commands for Drupal developers
  • How to install Linux, Nginx, MySql, Php(LEMP) stack in Ubuntu
  • A Beginner's Guide to Custom Theme Development in Drupal 8/9

Recent Blogs

  • Create a custom entity in Drupal 8/9 using drupal-console
  • All the possible ways to install a module in Drupal 8/9
  • Delete All Entities (node, user, term) by specific conditions in Drupal 8/9
  • How to Create Entities (node, user, term) programmatically in Drupal 8/9
  • How to unpublish nodes using cron in drupal 8/9

Recent Snippets

  • Drupal 8/9 programmatically create a user entity
  • Drupal 8/9 programmatically create a link that opens in new tab
  • Get current active user roles, uid in drupal 8 and drupal 9
  • Attach an asset library to a specific page in drupal 8/9
  • Drupal 8/9 attach an asset library in a Twig template

Main navigation

  • Blogs
  • Snippets

Mobile menu

  • About us
  • Blog
  • Code Snippet

Feed

    • All
    • Blog
    • Code Snippet
  • menu icon
    • Recent
    • Popular
Code snippet bookmark-iconAdd to read list

Generate random characters for every new function call using JS

  • JavaScript
navya
navya, Credit to volkotech-solutions Dec 28
Code snippet bookmark-iconAdd to read list

How to include partial twig template in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Dec 27
Code snippet bookmark-iconAdd to read list

Drupal 8/9 remove classes for attributes in twig templates

  • Twig
  • Drupal 8
  • Drupal 9
navya
navya, Credit to volkotech-solutions Dec 27
Code snippet bookmark-iconAdd to read list

How to create aliases/short-cut commands using Ubuntu terminal

  • Ubuntu
navya
navya, Credit to volkotech-solutions Dec 26
Code snippet bookmark-iconAdd to read list

Drupal 8/9 date formats and its filters in twig template

  • Twig
  • Drupal 8
  • Drupal 9
  • PHP
navya
navya, Credit to volkotech-solutions Dec 25
git
Blog bookmark-iconAdd to read list

Creating repository in git along with ssh key set-up

  • GIT
navya
navya, Credit to volkotech-solutions Dec 24
Code snippet bookmark-iconAdd to read list

Drupal 8/9 get image from the custom block programatically in twig

  • Twig
  • Drupal 8
  • Drupal 9
navya
navya, Credit to volkotech-solutions Dec 24
List of git commands banner image
Blog bookmark-iconAdd to read list

Top 10 basic git commands that every developer should learn

  • GIT
  • Ubuntu
  • Terminal
navya
navya, Credit to volkotech-solutions Dec 24
Code snippet bookmark-iconAdd to read list

How to generate Drupal 8/9 URL path by route name in twig

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Dec 23
Alignign elements side by side with CSS Banner Image
Blog bookmark-iconAdd to read list

Top 5 ways to display the elements in side by side using CSS

  • HTML
  • CSS
navya
navya, Credit to volkotech-solutions Dec 23
Code snippet bookmark-iconAdd to read list

Delete all users of a specific role in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
lakshmi
lakshmi, Credit to volkotech-solutions Dec 22
sticky side bar
Blog bookmark-iconAdd to read list

How to develop sticky container functionality using jQuery

  • HTML
  • CSS
  • JavaScript
  • Jquery
navya
navya, Credit to volkotech-solutions Dec 22
Code snippet bookmark-iconAdd to read list

Drupal 8/9 get multiple entries of a field programatically in twig

  • Twig
  • Drupal 8
  • Drupal 9
navya
navya, Credit to volkotech-solutions Dec 22
Code snippet bookmark-iconAdd to read list

Drupal 8/9 Create new Attribute objects inside a Twig template

  • Twig
  • Drupal
  • Drupal 8
  • Drupal 9
lakshmi
lakshmi, Credit to volkotech-solutions Dec 21
Code snippet bookmark-iconAdd to read list

Drupal 8/9 prints the machine name and relative path of the active theme

  • Twig
  • Drupal
  • Drupal 8
  • Drupal 9
lakshmi
lakshmi, Credit to volkotech-solutions Dec 21
Code snippet bookmark-iconAdd to read list

Drupal 8/9 Add a new tab to the user login page

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • YML
lakshmi
lakshmi, Credit to volkotech-solutions Dec 20
How to rotate arrow icon on click in bootstrap accordion banner image
Blog bookmark-iconAdd to read list

All possible methods to rotate arrow icon on click in accordion(bootstrap)

  • HTML
  • CSS
  • Bootstrap
  • JavaScript
  • Jquery
navya
navya, Credit to volkotech-solutions Dec 20
Code snippet bookmark-iconAdd to read list

Drupal 8/9 add a View block to a twig template

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
  • PHP
lakshmi
lakshmi, Credit to volkotech-solutions Dec 18
Removing unwanted white space caused with relative positioning Banner Image
Blog bookmark-iconAdd to read list

How to eliminate Unwanted White Spaces caused by position in CSS

  • HTML
  • CSS
navya
navya, Credit to volkotech-solutions Dec 18
Code snippet bookmark-iconAdd to read list

Drupal 8/9 get node author details from view mode programmatically

  • Twig
  • PHP
navya
navya, Credit to volkotech-solutions Dec 17
Code snippet bookmark-iconAdd to read list

Drupal 8/9 conditionally printing of entity fields in twig

  • Drupal 8
  • Drupal 9
  • Twig
navya
navya, Credit to volkotech-solutions Dec 17
Code snippet bookmark-iconAdd to read list

jQuery toggle class method with active color for menu's

  • JavaScript
  • HTML
  • CSS
  • Jquery
navya
navya, Credit to volkotech-solutions Dec 17
Switch to dark/light mode application Banner Image
Blog bookmark-iconAdd to read list

Implement Dark or Light Mode Switch using JavaScript

  • JavaScript
  • HTML
  • CSS
navya
navya, Credit to volkotech-solutions Dec 17
Code snippet bookmark-iconAdd to read list

Drupal 8/9 add a new region to the child template

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
  • YML
lakshmi
lakshmi, Credit to volkotech-solutions Dec 17
Code snippet bookmark-iconAdd to read list

Drupal 8/9 Programatically render a block in a twig template

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Dec 16
  • Load More

Topics

Drupal 8
Drupal 9
Drupal
PHP
HTML
CSS
Twig
JavaScript
Jquery
Cheatsheets
YML
Terminal
Ubuntu
Mysql
JS
Drupal 10
GRID
flexbox
JSON
NPM
Node
NodeJs
Linux
SASS
Command
ElectronJs
ReactJs
Ajax
Symfony
Bootstrap
NGINX
Chrome Extension
Debug
UX
Drush
GIT
Drupal 7
Windows

Top contributors

  • navya
    • navya
    • 139 Feed
  • lakshmi
    • lakshmi
    • 116 Feed
  • naveen-golla
    • naveen-golla
    • 26 Feed
  • manoj
    • manoj
    • 23 Feed
  • krishna kanth
    • krishna kanth
    • 6 Feed

mycode-blog logo

Developers blogging community to share tech blogs and code snippets.

Company

  • About us
  • Careers
  • Contact us
social:
  • twitter icon
  • facebook icon
  • linkedin icon
  • email icon
up-arrow

Terms and Services

  • Terms & conditions
  • Privacy policy

Copyright © 2021

Site map

  • Site map