How to add code snippets in Google Form questions - google-apps-script

I want to make a quiz for students regarding basic programming using Google Forms. The challenge is that I can not find any Add On how add code snippets to the questions, like it is here in Stack Overflow, pressing Ctrl+K.

You can take a screenshot of the code, so that you can also get syntax highlighting, and publish it along with your question. Otherwise, link your code to other code-hosting websites such as pastebin.

Related

Forge data visualization_Add information

Currently I have placed sprites and I have the events as in the example on the page: https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/examples/handling_sprite_events/.
But I don't know how to add information with a pop up as seen on the web.
How to do this with the information and displaying it in Forge: Objective
I have not found any information on how to do it and the example on Github https://github.com/Autodesk-Forge/forge-dataviz-iot-reference-app/tree/main/client/pages I don't quite understand it, already that many things are mixed. If someone could help me. I am starting on this.
Basically what you want to achieve is to display an html div on hover and hide it when not hovering.
You can inspire from this post Placing custom markup which is pretty close to what you want to achieve.
However, the examples you mention are using the Data Visualization extension and the React component called CustomTooltip. If you are using React in your project you can definitly take a look at the Hyperion's reference app.

How to enable inline quick edit in Blogger?

In Blogger, I need to edit a page all the time, because of frequent updates. Each time I want to edit the content, I am redirected to the editing page, like what happens on a Stack Exchange site for a new user trying to edit content.
Is it possible to add a real time quick--inline (Ajax?)--editing customization to Blogger, like the one a Stack Exchange user gets at 2,000 reputation (See the attached picture)? This will help me in reducing lot of unwanted wastage of time.
Edit: I searched for inline WYSIWYG editors, and found TinyMce; but don't have proper idea on going through the process of integrating it. The process of integrating it is going through complex steps, if anyone has any quick steps for integrating it, it will be helpful.
Picture Link:
Quick Edit in Stack Exchange at 2,000 or more reputation
Edit (2/2/17): I am now trying Open Live Writer, which doesn't give inline editing ability inside the site itself, but instead in its own field interface with the looks of the original blog. This doesn't help in seeing the blog being updated live in the web, but it will be updated even if not seen. To see it we need to make an extra step of looking it in the web, this is still a step which could be eliminated. This is better than before, but I am still looking for inline editing within the blogger site as like StackExhcange does.
As the creator of the question said on the comments, he asked the question on Google Product Forums and the formal response was:
There's no such a native feature available for inline editing.
There's no Blogger plugin supported that could resolve the issue.
The full response can be found here:
https://productforums.google.com/forum/#!topic/blogger/nzGbwr92zjY;context-place=forum/blogger

How do I implement tagging in web app post? Like how questions on stackoverflow have tags?

So I have a form where a user can post a project. He fills the fields and submits so far. However what I would like is to use a tag system where instead of writing a string of skills needed for the project, they should be tags. Then implement a tag based search. Kind of like here on stackoverflow you can search questions based on tags. I'm not sure what to google or what kind of question I am looking for. Maybe someone can point me in the right direction?
There are numerous jQuery plugins that do this. For a comprehensive list of them, see this stackoverflow post. I personally like Tag-it!, which is probably the most popular one.

Creating an online quiz

I am looking into creating a simple quiz for a website.
All of the answers should be typed into a text box (not multiple choice), and at the end of the quiz I would like to display the users results and possibly even all of the questions with the correct answers (coloured red if the user answered incorrectly).
Does anybody have any suggestions? Maybe any useful links?
Cheers.
Take a look at the Forms feature of Google Docs. I've created a sample form for you that has some search functions and sorting of results.
Take a look at the form https://docs.google.com/spreadsheet/viewform?formkey=dFJpR2JiSFJ4NlQtZjRnQmo5Z2JBN2c6MQ
And the results page here: https://docs.google.com/spreadsheet/ccc?key=0Aihv4Xc6w4lpdFJpR2JiSFJ4NlQtZjRnQmo5Z2JBN2c
There's a lot you can do here, and you can learn how to do most of the grading functions functions by searching this page: https://support.google.com/docs/bin/static.py?hl=en&topic=25273&page=table.cs
Hope that helps.

How to prevent search engine indexing of common utility words without JS

Google thinks my site is about ago, cancel, and edit. This is because those words appear on every comment. Why am I the only site who seems to suffer from this problem?
In fact, if you search Google for the words ago, cancel, and edit (without quotes), my site comes up in the #2 spot (right below Stack Overflow in spot #1). Even if Google is not smart enough to filter out these words, should not sites like reddit, who also use these same text buttons show up before mine?
http://www.google.com/#hl=en&q=ago+cancel+edit
Sites like reddit do not use JavaScript to cloak keywords, so they have found a non-JS solution. What gives?
Thank you.
EDIT: The website is popstrip.com and you can see the comment code at the bottom of any comic page.
This is from the google support forum, so it looks like Google doesn't think it's possible without Javascript or an iframe.