Skip to content

G-best007/Url-Shortening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Screenshot

The shortened link might not display now cause i am out of clicks.

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • BootStrap 5
  • Mobile-first workflow

What I learned

1- Got to know how to find solution to CORS issue 2- How to copy a link to clipboard

To see how you can add code snippets, see below:

const options = {
  mode : 'no-cors',
  then the header follows...
}

 copyLinkButton.addEventListener('click', () => {
            navigator.clipboard.writeText(result.shortUrl)
            copyLinkButton.innerHTML = `Copied!`

            setTimeout(() => {
              copyLinkButton.innerHTML = `Copy`
            }, 1000)
          });

Continued development

I would like to take more projects on API cause it really fun

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages