Javascript – Create, move and remove HTML elements

Javascript – Create, move and remove HTML elements

Create an HTML element To create an HTML element, first you must use createElement(). Then set any values and the style. The last step is to add the created element in the DOM using append(), appendChild(), insertBefore() or innerHTML property. Move an HTML element If you want to move an HTML element you should use append() and appendChild(). This can only happen if you get the element somewhere else in the document. Remove an HTML element You can remove an HTML element using the removeChild(element) method or the innerHTML property…

Javascript – Create, move and remove HTML elements Read More

Windows 10 – Microsoft Store and add/remove an app

Screenshot 20190126 131216

Microsoft Store is store with small and simple applications (apps). You need a Microsoft Account to download an app from Microsoft Store. You can start Microsoft Store by clicking its icon on the taskbar. If you know which app you want to install, just click search and specify the name of the app. You will see the results. If the app is on the list click to install it. If not, click the magnifier to see all the search results. You can also filter the results Click the app you…

Windows 10 – Microsoft Store and add/remove an app Read More

Windows Server 2016 – Docker create and remove data volume

Screenshot 20181126 081226

You can create a volume for a container if you want the data to be available across containers. Even if you delete the container, the data volume will remain on the container host. Create a new volume volume create my-vol Find information about the volume you created docker volume inspect my-vol Then run the container docker run -d –name test –mount source=my-vol,target=c:\data microsoft/nanoserver the directory data in the container must exist. check the information for the container. Look for the mounts section. docker inspect test   If you want to…

Windows Server 2016 – Docker create and remove data volume Read More

Windows Server 2016 – Docker remove a container image

Screenshot 20181121 072703 1

To remove a container image you need the image id or the repository and tag of the image you want to remove docker rmi -f 64d9bc839037  #or docker rmi – f microsoft/windowsservercore With PowerShell cmdlets you use: remove-containerimage 64d9bc839037  #or remove-containerimage microsoft/windowsservercore     Windows Server 2016 – Docker remove a container image

Windows Server 2016 – Docker remove a container image Read More