Home / mahmud.pain

mahmud.pain

Basic SEO recommendations for developers

Backlinks  Analyze back links of competitors website with seoprofiler.com Title tag  Add keyword in the title tag to show up on top for those keywords. Header tag  Use h1 tag on the top of your page that has a heading with keyword related to the title keywords. Basic content suggestion …

Read More »

How to style SVG element?

<svg id="svg" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <g id="g"> <circle cx="50" cy="50" r="25" /> <circle cx="60" cy="60" r="25" /> </g> </svg> <style type="text/css"> #svg{width: 500px;height: 500px} #svg #g{ fill:red; stroke:blue; stroke-width:3;}</style> Hits: 12

Read More »

smartupworld | Creating a Notification through JavaScript and blink it every 1.5 second

Style .notification { position: fixed; z-index: 1000; padding: 5px; border: 1px solid black; font-size: 20px; background: white; text-align: center; } .welcome { background: #b80000; color: yellow; } JS – function showNotification({top=0,right=0,background="#ededed",color="blue",html=""}){ let notification = document.createElement('div'); notification.className = "notification"; notification.innerHTML = html; notification.style.top = top+"px"; notification.style.color = color; notification.style.right = right+"px"; …

Read More »