How to make this effect please [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
i am trying to make this under construction page with this special effect.i
mean the strip line on every letter.i am learning web design so please
help me to make this effect.
i have no idea how to make this either using CSS or JS!

It's not a special CSS or JS effect. It's a custom font.
Use a web font like this : https://fonts.google.com/specimen/Bungee+Inline
To embed your selected fonts into a webpage, copy this code into the of your HTML document.
<link href="https://fonts.googleapis.com/css?family=Bungee+Inline" rel="stylesheet">
Use the following CSS rule to specify this family:
font-family: 'Bungee Inline', cursive;
For examples of how fonts can be added to webpages, see the getting started guide.

Related

Add a js library only at a section of the HTML code [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am trying to implement a logo slider where a js library is required.
At the head of my HTML code I have another js library which is overwritten by the library required for the slider.
My question is, can I use the slider's js library only at a specific part of my HTML code?
No.
The execution environment for JS is "the page".
The closest you could come would be to use an iframe to load a different page to sandbox it in.
You should fix the incompatibility between the two libraries instead.

How to make a input space in vanilla html css and javascript [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to create an input space like the compose question input space of stackoverflow.
I have a blog. In the admin section of my blog I have a compose section. Now it only supports text and 1 paragraph. I want it to have the options to bold the text and make it italics or include some images by the user and also the support of multiple paras.
You can see a very good example of what I am trying to say in the stackoverflow's ask question section. The code should be in vanilla html, css and, js not react or any other framework.
I was not able to find anything over internet related to it.
Any help will be appreciated.
you can use a contenteditable element, see more at https://www.w3schools.com/tags/att_global_contenteditable.asp
You can use ctrl+b, ctrl+u, ctrl+i, etc. to make it bold, underlined, and italicised. You can also use document.execCommand() (https://www.w3schools.com/jsref/met_document_execcommand.asp) to create buttons that do this. document.execCommand() can change any CSS, so you can change size, color, bold, etc.

Preloading content with grey bars like youtube [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
can anyone explain me, how I can add a content preloader to my site so that's look like this:
How is this done?
Many thanks.
This is called a Loading placeholder.
You can find some examples on many sites.
Here is an example on Codepen. As you can see, you can do it only with HTML and CSS.
If you want other examples, you can find a lot of tutorials on YouTube with keywords Loading placeholder tutorial. If you want to make it more easily, you can use this library.
Good luck.
You can get better per loader from https://icons8.com/preloaders/

How would one implement custom themes into a website that is not wordpress? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
So i'm building a website in PHP7, HTML5, CSS3, JQuery, JavaScript5 not WordPress to be clear. One feature i would like is to allow users to change their theme to something that is not default theme so how would one do this i mean making the theme and implementing them? Would it just be an element say a drop down box with CSS documents or something else?p.s. my other questions did not go down well so if this does not make sense or is unclear please let me know so i can improve it.
I didn't get your question exactly. But these are my opinions.
Generally , Custom Themes are added using themes(Non Wordpress) which you can download from sites like themeforest , envato market ,template.net etc. Either you can tweak it and make it your own or just use as it is. But if you do so please do have a glance at the licensing to avoid future problems.
And Dropdown menu can be made using CSS and JavaScript. I would say that its not a must. Its the content which makes it notable.

Buttons with a textarea on web page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Could someone please point me at a resource that shows how to add buttons to a textarea on a web page? Similar to Yahoo mail where an email address is turned into a button with a cross for removal.
In fact exactly how tags are added to the Tags textarea on this site.
There are very good jQuery plugins that accomplish this. One of them is tag-it library. You can find examples on this page, as well as source code and documentation on how to use it. You can always style it according to your needs through css.

Categories