I need help with using MDN

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

Hi, So I want to find more information on the document object to check its properties and what they can do but I can’t find anything or is document.write() and document.getElementById() the only ones the document object has ?

Hi @kacgod8, you could take a look here on w3schools or here on MDN

Thanks, how did you find that ?

For w3schools, I googled “JavaScript document” and I skipped the first suggestion (tutorials point, because I generally don’t like their documentation).
For MDN, I went on MDN and searched “document” through the search bar. It took me a while to figure out it was the correct page though. On the left there is the list of the supported methods of the Document object.
Happy coding :wink: