Skip to main content

Javascript: What is it and where does it go?

For pretty much my whole blogging journey I've been working on coding designs for my sites. CSS was my favorite and HTML is bearable, but Javascript... Oh, the dreaded Javascript...

I could never get Javascript down. I couldn't write my own codes or even make the ones I got off the web work. And I never understood why. So I've created this post today to help those of you who may be struggling as well.

What is it?

Javascipt is the most popular programming language. Like, ever. It can change HTML content, attributes, CSS styles, and much, much more. It makes web pages interactive and can be used in non-web based environments, such as PDFs and desktop widgets. [1]

If you'd like to learn more about Javascript, like who created it and the many things it can do, head on over here. :)

The standard Javascript code:

<script type='text/javascript'>
Your JavaScript coding here
The code above is very important when it comes to adding your Javascript into your Blogger template. If you just slap your code into your template without using the script above, it won't be read properly and could do some terrifying things to your blog. So be careful when implementing Javascript and always make sure you have this code surrounding your hard work.

How to implement it:

Add your code before the </head> tag

How to get there

  1. Choose the blog you'd like to add your Javascript to.
  2. Choose Template then click "Edit HTML".
  3. Paste your code above the </head> tag (if you can't find it, use Ctrl + F).

Add it into a HTML/Javascript gadget

Take your code, head on down to layout, and paste into the gadget. Make sure to save your changes!

As you can see, these steps are actually very simple, and don't require much effort at all. If you have any comments, questions or concerns, feel free to contact me. I love hearing from you guys. :)

xx Nicole Rose


Popular posts from this blog

How to Begin Your Self-Love Journey This Year

When I originally had the idea for this piece of writing I’m about to share with you, I was in a place of transition. I didn’t know my place in the world, I didn’t know if I was worth it and I certainly didn’t feel like I could love myself. Here I am almost a year later, an example of how this works - if you choose to put it into practice. You can improve and learn to love yourself. You can take the steps that bring you into a better place.

I won’t say it was easy and I certainly won’t say I had overnight success, but when you learn to fight your battles one at a time, you’ll be able to look back and see how far you’ve come.

Are you ready to take the first step?

Self Love: Step one I have always been a timid person. I’ve always had trouble keeping the standards I have for myself something below what I deem “perfect”. I enjoy discipline and when I don’t know what to do or my world is shaken, I’m hard on myself.

That’s just who I am.

With that said, I've always felt like I was not a…

A Love Letter

To my dear, blooming Rose - Attached to this letter is not only my love, but my gratitude, thankfulness and a small box of decadent dark chocolates. I would've had flowers delivered too, but no measly plant could ever compare or express my feelings toward you.

Ahh, my dear. You are my truest bundle of joy. It does not matter what mood you are in - you light up my day in the most wonderful of ways.

Your smile makes the sun jealous. Your embrace makes me feel full. Your laughter - so thick and loud - makes me want to laugh too.

What I love most is when you are truly and purely being yourself - because that's who you're meant to be.

With much love and kisses blown with a wink,
Your Secret Admirer

PS: Maybe we could share those chocolates later, eh?

+ + +
When you need some uplifting, write yourself a love letter. Be silly and positive. Analyze yourself. Amp up your best qualities. De-sock your feet as you write and wiggle your toes as your write (then put your socks back on b…

How to Manage Your Creative Time

Being productive can be hard, especially when you have too many things on your to-do list, and have no idea where to start. As a human who likes to pack a lot of stuff into their day, I've struggled with managing my blogging time and balancing it with everything else I need to do.

Here are some tips to help you manage your time (whether it be for blogging or anything else). :)

Being productive can be hard, especially when you have too many things balanced on your plate. Most of the time, you don’t know where to start. As a human who likes to pack a lot of productivity into their day, I’ve struggled with managing my time - creatively and in the other areas of my life. The balancing act is hard, so I’ve compiled some of the tips that work best for me.

PS: There’s a link to a print out of the exercises that correspond with these tips at the bottom of this!

Figure out what needs to be done Before you can manage your time, you need to figure out what it is you want to get done. Do you w…