In order to get a child element or several child elements you can use the querySelectorAll or QuerySelector functions. Yes these can be both at document »
Peter Daugaard Rasmussen
on Javascript
05 October 2020
I previously made a post on how to disable cookies for Google analytics. In the same post I mentioned that I had used Google analytics IP »
Peter Daugaard Rasmussen
on SEO
03 October 2020
You are likely on this page due to GDPR or the cookie consent policy. I am in no way an expert on law, GDPR or the »
Peter Daugaard Rasmussen
on Blogging
26 September 2020
It is quite easy to send XML using the HttpClient. In order to do this you need to use the StringContent object, provide it with an »
Peter Daugaard Rasmussen
on C#
23 September 2020
I recently tried the feature "Add image from Unsplash" on my Ghost blog. However I found out that there is a lot of extra »
Value tuples were introduced with C# 7. The original tuples have been around since 2010 when they were released with .Net Framework 4.0. Even though »
Peter Daugaard Rasmussen
on C#
16 September 2020
I recently made a post where I needed to show some code that would look better without word wrap as it was basically one or two »
Given how long Visual Studio has been out there I sometimes wonder why there is no built in function to compare two files. Using for example »
A year ago I made a post on the absence of the DoesNotThrow assertion in xUnit. In this post I show how you can assert if »
Peter Daugaard Rasmussen
on Testing , C#
09 September 2020
Earlier this year I made a post on how to make a list of named value tuples. I decided to make a new post with some »
Peter Daugaard Rasmussen
on C#
08 September 2020