---
title: "Discussion on \"Practicing DOM Manipulation\" | Hashnode"
description: "Discussion on \"Practicing DOM Manipulation\". Que 1: Add the following elements to the container using only JavaScript and the DOM methods.\ni) a <p>with red text that says \"Hey I'm red!\"ii) a <h3>with blue text that says \"I'm a blue h3!\"iii) a <div> with a black border and pink background color ..."
url: "https://hashnode.com/posts/practicing-dom-manipulation/6711f95165d2ddefd1f89860"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Practicing DOM Manipulation](https://gyannbaato.hashnode.dev/practicing-dom-manipulation?utm_source=hashnode&utm_medium=feed)

Que 1: Add the following elements to the container using only JavaScript and the DOM methods. i) a <p>with red text that says "Hey I'm red!"ii) a <h3>with blue text that says "I'm a blue h3!"iii) a <div> with a black border and pink background color ...

Oct 18, 2024 · 2 min read · gyannbaato.hashnode.dev  
Read the article

-   [#js](https://hashnode.com/tag/js)
-   [#js-functions](https://hashnode.com/tag/js-functions)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#jsdom](https://hashnode.com/tag/jsdom)
-   [#js-dom](https://hashnode.com/tag/js-dom)
-   [#dom](https://hashnode.com/tag/dom)
-   [#dom-manipulation](https://hashnode.com/tag/dom-manipulation)

## Written by

[dheeraj koranga](https://hashnode.com/@oyeEngineerSahab)

@oyeEngineerSahab

  
[View profile](https://hashnode.com/@oyeEngineerSahab)

learn everything about something and something about everything

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
