This floating block is perfect for placing an advertising block or banner in it. To create a floating block (floating banner) on your site, you will need to connect the jQuery library. It is connected as follows: The block that will move after scrolling the page should be located inside the parent block and have […]
Continue ReadingThe proposed feedback form sends the data entered by users to the server, from where they will be sent to the mailbox specified in the script. Add the following code to the place on your page where you plan to place this form: Add CSS styles: Now all that remains is to add to the […]
Continue ReadingContent generation – a powerful tool in the hands of developers – has become available thanks to pseudo-elements ::before and ::after. This feature allows you to use less HTML code to achieve the same results. This is especially useful in cases where you need additional shadows or other visual elements that would need additional span […]
Continue ReadingUntil the CSS styles are connected to the HTML page, there will be no effect from their use. There are several ways to do this. In order to demonstrate how each of these methods works, take, for example, an html file with the following content. Option 1. Inside the opening tag using the style attribute. […]
Continue ReadingI have already explained what the jQuery library is. It remains to tell how to connect it to the site (HTML) and show where it can be used.So how do you link the jQuery library to your site? There are two connection options: connecting to the file directly (via the official website) or downloading the […]
Continue ReadingThanks to the great and powerful CSS3, we can create a modal window on pure css, without resorting to additional scripts, modules and plugins. Step 1. Creating markup for the modal window Here you can change the title of the modal window and its contents. Step 2. Adding a button to open the modal window. […]
Continue Reading